Author: pabs
Date: 2011-04-03 06:34:34 +0000 (Sun, 03 Apr 2011)
New Revision: 12085

Added:
   packages/trunk/mancala/debian/patches/
   packages/trunk/mancala/debian/patches/drop-unneeded-libs.patch
   packages/trunk/mancala/debian/patches/series
Modified:
   packages/trunk/mancala/debian/changelog
Log:
Don't link against unused libraries

Modified: packages/trunk/mancala/debian/changelog
===================================================================
--- packages/trunk/mancala/debian/changelog     2011-04-03 05:47:52 UTC (rev 
12084)
+++ packages/trunk/mancala/debian/changelog     2011-04-03 06:34:34 UTC (rev 
12085)
@@ -2,6 +2,7 @@
 
   * Remove uupdate from the watch file
   * Switch to dpkg-source v3
+  * Don't link against unused libraries
 
  -- Paul Wise <[email protected]>  Sun, 03 Apr 2011 13:45:54 +0800
 

Added: packages/trunk/mancala/debian/patches/drop-unneeded-libs.patch
===================================================================
--- packages/trunk/mancala/debian/patches/drop-unneeded-libs.patch              
                (rev 0)
+++ packages/trunk/mancala/debian/patches/drop-unneeded-libs.patch      
2011-04-03 06:34:34 UTC (rev 12085)
@@ -0,0 +1,13 @@
+Author: Paul Wise <[email protected]>
+Description: don't link against unused libraries
+--- a/Makefile
++++ b/Makefile
+@@ -17,7 +17,7 @@
+ # If you don't have Xpm, you'll need to link with a static version of XForms.
+ XINCDIR               = -I/usr/include/X11
+ XLIBDIR               = -L/usr/X11R6/lib
+-XLIBS         = -lXpm -lforms -lX11 -lm
++XLIBS         = -lforms
+ 
+ OPTIM         = -O3 -fomit-frame-pointer
+ CCOPT         = -Wall $(OPTIM) $(INCDIR) $(XINCDIR) -DVERSION=\"$(VERSION)\"

Added: packages/trunk/mancala/debian/patches/series
===================================================================
--- packages/trunk/mancala/debian/patches/series                                
(rev 0)
+++ packages/trunk/mancala/debian/patches/series        2011-04-03 06:34:34 UTC 
(rev 12085)
@@ -0,0 +1 @@
+drop-unneeded-libs.patch


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to