summaryrefslogtreecommitdiff
path: root/media-libs/openctm/files/openctm-1.0.3-link-ctmviewer-with-libGL.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/openctm/files/openctm-1.0.3-link-ctmviewer-with-libGL.patch')
-rw-r--r--media-libs/openctm/files/openctm-1.0.3-link-ctmviewer-with-libGL.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/openctm/files/openctm-1.0.3-link-ctmviewer-with-libGL.patch b/media-libs/openctm/files/openctm-1.0.3-link-ctmviewer-with-libGL.patch
new file mode 100644
index 000000000000..b8409d4423d4
--- /dev/null
+++ b/media-libs/openctm/files/openctm-1.0.3-link-ctmviewer-with-libGL.patch
@@ -0,0 +1,11 @@
+--- a/tools/Makefile.linux
++++ b/tools/Makefile.linux
+@@ -47,7 +47,7 @@
+
+ ctmviewer: $(CTMVIEWEROBJS)
+ $(CPP) -s -o $@ -L$(OPENCTMDIR) $(CTMVIEWEROBJS) -lopenctm \
+- -ltinyxml -ljpeg -lpnglite -lz -lglut -lGLU -lGLEW \
++ -ltinyxml -ljpeg -lpnglite -lz -lGL -lglut -lGLU -lGLEW \
+ -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0
+
+ ctmbench: $(CTMBENCHOBJS)