aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/hs-GLUT
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-06-03 20:52:29 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-06-03 20:52:29 +0000
commit46e9ab0ca5e504d3509678b4d43a41d938650e75 (patch)
treea34afe36b374e7894e236fb8cee020928d36c967 /x11-toolkits/hs-GLUT
parentbe44ec14c77de91f8ac86e25372545e0e39e9bcb (diff)
downloadports-46e9ab0ca5e504d3509678b4d43a41d938650e75.tar.gz
ports-46e9ab0ca5e504d3509678b4d43a41d938650e75.zip
Notes
Diffstat (limited to 'x11-toolkits/hs-GLUT')
-rw-r--r--x11-toolkits/hs-GLUT/Makefile2
-rw-r--r--x11-toolkits/hs-GLUT/files/patch-Graphics__UI__GLUT__Types.hs16
-rw-r--r--x11-toolkits/hs-GLUT/pkg-descr6
3 files changed, 19 insertions, 5 deletions
diff --git a/x11-toolkits/hs-GLUT/Makefile b/x11-toolkits/hs-GLUT/Makefile
index 22a1c4ada891..7150c4b13dde 100644
--- a/x11-toolkits/hs-GLUT/Makefile
+++ b/x11-toolkits/hs-GLUT/Makefile
@@ -6,7 +6,7 @@
PORTNAME= GLUT
PORTVERSION= 2.1.2.1
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= x11-toolkits haskell
diff --git a/x11-toolkits/hs-GLUT/files/patch-Graphics__UI__GLUT__Types.hs b/x11-toolkits/hs-GLUT/files/patch-Graphics__UI__GLUT__Types.hs
new file mode 100644
index 000000000000..f25bc339120c
--- /dev/null
+++ b/x11-toolkits/hs-GLUT/files/patch-Graphics__UI__GLUT__Types.hs
@@ -0,0 +1,16 @@
+--- ./Graphics/UI/GLUT/Types.hs.orig 2009-05-02 18:14:39.000000000 +0200
++++ ./Graphics/UI/GLUT/Types.hs 2012-05-17 00:04:47.000000000 +0200
+@@ -32,11 +32,10 @@
+
+ -- | An opaque identifier for a top-level window or a subwindow.
+
+-newtype Window = Window CInt
+- deriving ( Eq, Ord, Show )
++type Window = CInt
+
+ makeWindow :: CInt -> Window
+-makeWindow = Window
++makeWindow = id
+
+ --------------------------------------------------------------------------------
+
diff --git a/x11-toolkits/hs-GLUT/pkg-descr b/x11-toolkits/hs-GLUT/pkg-descr
index 3038ec260e5b..978adf6d08bc 100644
--- a/x11-toolkits/hs-GLUT/pkg-descr
+++ b/x11-toolkits/hs-GLUT/pkg-descr
@@ -1,6 +1,4 @@
The GLUT package contains a Haskell binding for the OpenGL Utility Toolkit, a
-window system independent toolkit for writing OpenGL programs. For more
-information about the C library on which this binding is based, please see:
-<http://www.opengl.org/resources/libraries/glut/>.
+window system independent toolkit for writing OpenGL programs.
-WWW: http://www.haskell.org/HOpenGL/
+WWW: http://www.haskell.org/HOpenGL/