summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/glfw/files/glfw-2.7.2-compile.patch')
-rw-r--r--media-libs/glfw/files/glfw-2.7.2-compile.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/glfw/files/glfw-2.7.2-compile.patch b/media-libs/glfw/files/glfw-2.7.2-compile.patch
new file mode 100644
index 0000000..f212f96
--- /dev/null
+++ b/media-libs/glfw/files/glfw-2.7.2-compile.patch
@@ -0,0 +1,38 @@
+--- compile.sh.old 2011-08-19 11:20:37.927080832 +0200
++++ compile.sh 2011-08-19 11:21:59.910080833 +0200
+@@ -88,7 +88,7 @@
+ case "x`uname 2> /dev/null`" in
+ xLinux)
+ GLFW_LIB_CFLAGS="$GLFW_LIB_CFLAGS -D_GLFW_USE_LINUX_JOYSTICKS"
+- SOFLAGS="-shared -Wl,-soname,libglfw.so"
++ SOFLAGS="-shared -Wl,-soname,libglfw.so.2.7"
+ echo "Linux" 1>&6
+ ;;
+ xDarwin)
+@@ -96,7 +96,7 @@
+ echo "Mac OS X" 1>&6
+ ;;
+ *)
+- SOFLAGS="-shared -soname libglfw.so"
++ SOFLAGS="-shared -soname libglfw.so.2.7"
+ echo "Generic Unix" 1>&6
+ ;;
+ esac
+@@ -627,7 +627,7 @@
+ CFLAGS = $GLFW_BIN_CFLAGS $GLFW_CFLAGS
+
+ LIB = ../lib/x11/libglfw.a
+-SOLIB = ../lib/x11/libglfw.so
++SOLIB = ../lib/x11/libglfw.so.2.7
+ LFLAGS = \$(LIB) $GLFW_LIB_LFLAGS $GLFW_BIN_LFLAGS $GLFW_LFLAGS
+ SO_LFLAGS = \$(SOLIB) $GLFW_BIN_LFLAGS $GLFW_LFLAGS
+
+@@ -652,7 +652,7 @@
+ CFLAGS = $GLFW_BIN_CFLAGS $GLFW_CFLAGS
+
+ LIB = ../lib/x11/libglfw.a
+-SOLIB = ../lib/x11/libglfw.so
++SOLIB = ../lib/x11/libglfw.so.2.7
+ LFLAGS = \$(LIB) $GLFW_LIB_LFLAGS $GLFW_BIN_LFLAGS $GLFW_LFLAGS
+ SO_LFLAGS = \$(SOLIB) $GLFW_BIN_LFLAGS $GLFW_LFLAGS
+