summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/mercury-extras/files/mercury-extras-0.12.2-mercury_glut.patch')
-rw-r--r--dev-lang/mercury-extras/files/mercury-extras-0.12.2-mercury_glut.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-lang/mercury-extras/files/mercury-extras-0.12.2-mercury_glut.patch b/dev-lang/mercury-extras/files/mercury-extras-0.12.2-mercury_glut.patch
new file mode 100644
index 000000000000..6475491c0fef
--- /dev/null
+++ b/dev-lang/mercury-extras/files/mercury-extras-0.12.2-mercury_glut.patch
@@ -0,0 +1,24 @@
+--- mercury-extras-0.12.2.orig/graphics/mercury_glut/Mmakefile 2004-05-17 20:28:51.000000000 +1200
++++ mercury-extras-0.12.2/graphics/mercury_glut/Mmakefile 2006-03-26 22:37:20.000000000 +1200
+@@ -13,10 +13,10 @@
+ # The following libraries are for X on Linux (Debian) using Mesa.
+
+ # Libaries required by X windows.
+-X_LIBS = -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -L/usr/X11R6/lib
++# X_LIBS = -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -L/usr/X11R6/lib
+
+ # Libraries required by OpenGL.
+-GL_LIBS = -lGL -LGL
++# GL_LIBS = -lGL -LGL
+
+ MCFLAGS-mercury_glut+=--no-warn-nothing-exported --no-warn-interface-imports
+
+@@ -26,7 +26,7 @@
+ MGNUCFLAGS = --pic-reg
+ EXTRA_MLFLAGS = -shared
+
+-MLLIBS = -lglut $(X_LIBS) $(GL_LIBS)
++MLLIBS = -lglut
+
+ depend: mercury_glut.depend
+