public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/opengl/files/
@ 2019-12-29  2:15 Aaron Bauman
  0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2019-12-29  2:15 UTC (permalink / raw
  To: gentoo-commits

commit:     e9fa34fe1a645caef3955350adea8d4a53d1675f
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Dec 28 19:33:48 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 02:15:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9fa34fe

dev-haskell/opengl: remove unused patch

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14155
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 .../opengl/files/opengl-2.2.1.1-ghc-7.4.patch      | 29 ----------------------
 1 file changed, 29 deletions(-)

diff --git a/dev-haskell/opengl/files/opengl-2.2.1.1-ghc-7.4.patch b/dev-haskell/opengl/files/opengl-2.2.1.1-ghc-7.4.patch
deleted file mode 100644
index 772b1753952..00000000000
--- a/dev-haskell/opengl/files/opengl-2.2.1.1-ghc-7.4.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fix build failure against ghc-7.4
-
-[ 4 of 84] Compiling Graphics.Rendering.OpenGL.GL.GLboolean ( Graphics/Rendering/OpenGL/GL/GLboolean.hs, dist/build/Graphics/Rendering/OpenGL/GL/GLboolean.o )
-
-Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:23:
-    Could not deduce (Eq a) arising from a use of `/='
-    from the context (Num a)
-      bound by the type signature for
-                 unmarshalGLboolean :: Num a => a -> Bool
-      at Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:1-27
-    Possible fix:
-      add (Eq a) to the context of
-        the type signature for unmarshalGLboolean :: Num a => a -> Bool
-    In the expression: (/= 0)
-    In an equation for `unmarshalGLboolean':
-        unmarshalGLboolean = (/= 0)
-
-Reported-by: Christian Lask
-diff --git a/Graphics/Rendering/OpenGL/GL/GLboolean.hs b/Graphics/Rendering/OpenGL/GL/GLboolean.hs
-index cab7356..cc4faa8 100644
---- a/Graphics/Rendering/OpenGL/GL/GLboolean.hs
-+++ b/Graphics/Rendering/OpenGL/GL/GLboolean.hs
-@@ -23,5 +23,5 @@ marshalGLboolean :: Num a => Bool -> a
- marshalGLboolean False = 0
- marshalGLboolean True  = 1
- 
--unmarshalGLboolean :: Num a => a -> Bool
-+unmarshalGLboolean :: (Eq a, Num a) => a -> Bool
- unmarshalGLboolean = (/= 0)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-29  2:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-29  2:15 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/opengl/files/ Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox