Hello community,

here is the log from the commit of package ghc-OpenGL for openSUSE:Factory 
checked in at 2016-01-21 23:43:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-OpenGL (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-OpenGL.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-OpenGL"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-OpenGL/ghc-OpenGL.changes    2016-01-05 
21:55:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-OpenGL.new/ghc-OpenGL.changes       
2016-01-22 01:08:29.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Jan 11 08:10:15 UTC 2016 - [email protected]
+
+- update to 3.0.0.1
+* Relaxed upper version bound for OpenGLRaw.
+
+-------------------------------------------------------------------

Old:
----
  OpenGL-3.0.0.0.tar.gz

New:
----
  OpenGL-3.0.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-OpenGL.spec ++++++
--- /var/tmp/diff_new_pack.7M3drU/_old  2016-01-22 01:08:31.000000000 +0100
+++ /var/tmp/diff_new_pack.7M3drU/_new  2016-01-22 01:08:31.000000000 +0100
@@ -19,7 +19,7 @@
 %global pkg_name OpenGL
 
 Name:           ghc-OpenGL
-Version:        3.0.0.0
+Version:        3.0.0.1
 Release:        0
 Summary:        A binding for the OpenGL graphics system
 License:        BSD-3-Clause

++++++ OpenGL-3.0.0.0.tar.gz -> OpenGL-3.0.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OpenGL-3.0.0.0/CHANGELOG.md 
new/OpenGL-3.0.0.1/CHANGELOG.md
--- old/OpenGL-3.0.0.0/CHANGELOG.md     2016-01-03 23:51:12.000000000 +0100
+++ new/OpenGL-3.0.0.1/CHANGELOG.md     2016-01-10 19:50:54.000000000 +0100
@@ -1,3 +1,7 @@
+3.0.0.1
+-------
+* Relaxed upper version bound for `OpenGLRaw`.
+
 3.0.0.0
 -------
 * Depend on new `OpenGLRaw` and `GLURaw` packages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OpenGL-3.0.0.0/OpenGL.cabal 
new/OpenGL-3.0.0.1/OpenGL.cabal
--- old/OpenGL-3.0.0.0/OpenGL.cabal     2016-01-03 23:51:12.000000000 +0100
+++ new/OpenGL-3.0.0.1/OpenGL.cabal     2016-01-10 19:50:54.000000000 +0100
@@ -1,5 +1,5 @@
 name: OpenGL
-version: 3.0.0.0
+version: 3.0.0.1
 synopsis: A binding for the OpenGL graphics system
 description:
   A Haskell binding for the OpenGL graphics system (GL, version 4.5) and its
@@ -155,7 +155,7 @@
     transformers >= 0.2 && < 0.6,
     ObjectName   >= 1.1 && < 1.2,
     StateVar     >= 1.1 && < 1.2,
-    OpenGLRaw    >= 3.0 && < 3.1,
+    OpenGLRaw    >= 3.0 && < 3.2,
     GLURaw       >= 2.0 && < 2.1
   default-language: Haskell2010
   other-extensions:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/OpenGL-3.0.0.0/src/Graphics/Rendering/OpenGL/GL/Colors.hs 
new/OpenGL-3.0.0.1/src/Graphics/Rendering/OpenGL/GL/Colors.hs
--- old/OpenGL-3.0.0.0/src/Graphics/Rendering/OpenGL/GL/Colors.hs       
2016-01-03 23:51:12.000000000 +0100
+++ new/OpenGL-3.0.0.1/src/Graphics/Rendering/OpenGL/GL/Colors.hs       
2016-01-10 19:50:54.000000000 +0100
@@ -491,15 +491,15 @@
 
 marshalClampMode :: ClampMode -> GLenum
 marshalClampMode x = case x of
-   ClampOn -> GL_TRUE
+   ClampOn -> fromIntegral GL_TRUE
    FixedOnly -> GL_FIXED_ONLY
-   ClampOff -> GL_FALSE
+   ClampOff -> fromIntegral GL_FALSE
 
 unmarshalClampMode :: GLenum -> ClampMode
 unmarshalClampMode x
-   | x == GL_TRUE = ClampOn
+   | x == fromIntegral GL_TRUE = ClampOn
    | x == GL_FIXED_ONLY = FixedOnly
-   | x == GL_FALSE = ClampOff
+   | x == fromIntegral GL_FALSE = ClampOff
    | otherwise = error $ "unmarshalClampMode: unknown enum value " ++ show x
 
 
--------------------------------------------------------------------------------


Reply via email to