Code

Added debian/patches-repack/01-unnecessary-libs.patch.
authorSebastian Harl <sh@tokkee.org>
Fri, 10 Oct 2008 07:27:33 +0000 (09:27 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 10 Oct 2008 07:27:33 +0000 (09:27 +0200)
This removes unnecessary libs from the linker flags. Based on a patch by
Andreas.

debian/changelog
debian/patches-repack/01-unnecessary-libs.patch [new file with mode: 0644]

index 425de216c2ea8060cccd05f171ca71fa5b558edb..727971ae9d1af5a6715967cbd10a9f4940a120f2 100644 (file)
@@ -30,6 +30,8 @@ enblend (3.2+dfsg-1) unstable; urgency=low
     - Added patches to be applied when repacking the tarball.
     - Added 00-win32helpers.patch to remove src/win32helpers/, *.sln and
       *.vcproj from the build scripts.
+    - Added 01-unnecessary-libs.patch to remove unnecessary libs from the
+      linker flags - based on a patch by Andreas.
   * debian/control:
     - Updated standards-version to 3.8.0 - no changes.
   * debian/bin/uscan_repack.sh:
@@ -41,7 +43,7 @@ enblend (3.2+dfsg-1) unstable; urgency=low
   * debian/watch:
     - Call debian/bin/uscan_repack.sh.
 
- -- Sebastian Harl <sh@tokkee.org>  Thu, 09 Oct 2008 23:39:43 +0200
+ -- Sebastian Harl <sh@tokkee.org>  Fri, 10 Oct 2008 09:15:19 +0200
 
 enblend (3.0+dfsg-2) unstable; urgency=low
 
diff --git a/debian/patches-repack/01-unnecessary-libs.patch b/debian/patches-repack/01-unnecessary-libs.patch
new file mode 100644 (file)
index 0000000..6579a5d
--- /dev/null
@@ -0,0 +1,12 @@
+diff a/m4/ax_check_glut.m4 b/m4/ax_check_glut.m4
+--- a/m4/ax_check_glut.m4
++++ b/m4/ax_check_glut.m4
+@@ -29,7 +29,7 @@
+   # If X is present, assume GLUT depends on it.
+   #
+   if test "X${no_x}" != "Xyes"; then
+-    GLUT_LIBS="${X_PRE_LIBS} -lXmu -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}"
++    GLUT_LIBS="${X_PRE_LIBS} ${X_EXTRA_LIBS} ${GLUT_LIBS}"
+   fi
+
+   AC_LANG_PUSH(C)