tags + 377991 pending
thanks

I'll be uploading an NMU that fixes this bug, with the patch provided by
Adriaan Peeters. 

I'm attaching the interdiff output of the NMU.


-- 
 Besitos,   {o_
     Marga. (')_
diff -u freecraft-1.18/debian/changelog freecraft-1.18/debian/changelog
--- freecraft-1.18/debian/changelog
+++ freecraft-1.18/debian/changelog
@@ -1,3 +1,10 @@
+freecraft (1:1.18-2.3) unstable; urgency=low
+
+  * Non-maintainer upload to apply patch provided by Adriaan Peeters to fix a
+    compile-time dependency on X11 libs.  (Closes: #377991)
+
+ -- Margarita Manterola <[EMAIL PROTECTED]>  Wed, 19 Jul 2006 10:34:59 -0300
+
 freecraft (1:1.18-2.2) unstable; urgency=low
 
   * Non-maintainer upload to solve build problems.
diff -u freecraft-1.18/debian/patches/00list 
freecraft-1.18/debian/patches/00list
--- freecraft-1.18/debian/patches/00list
+++ freecraft-1.18/debian/patches/00list
@@ -5,0 +6 @@
+15_debian_X11_dependency
only in patch2:
unchanged:
--- freecraft-1.18.orig/debian/patches/15_debian_X11_dependency.dpatch
+++ freecraft-1.18/debian/patches/15_debian_X11_dependency.dpatch
@@ -0,0 +1,36 @@
+#! /bin/sh -e
+## 15_debian_X11_dependency.dpatch contributed by Adriaan Peeters
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes the compile dependency on the X11 libs.
+##
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch) patch -f --no-backup-if-mismatch -p0 < $0;;
+    -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;;
+    *)
+       echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+       exit 1;;
+esac
+
+exit 0
+
+--- freecraft-1.18/setup       2003-03-12 05:03:35.000000000 +0100
++++ ../freecraft-1.18/setup    2006-07-18 15:54:13.000000000 +0200
+@@ -1044,10 +1044,10 @@
+ if [ "$BEOS" != 1 ] ; then
+   if [ "$DARWIN" != 1 ] ; then
+     # Libraries needed to build tools
+-    echo "TOOLLIBS=\$(XLDFLAGS) -lpng -lz -lm \$(THREADLIB)" >> $RULESFILE
++    echo "TOOLLIBS=\$(XLDFLAGS) -lpng -lz -lm -lX11 \$(THREADLIB)" >> 
$RULESFILE
+ 
+     # Libraries needed to build freecraft
+-    echo "CLONELIBS=$CLONELIBS \$(XLDFLAGS) -lpng -lz -lm \\" >> $RULESFILE
++    echo "CLONELIBS=$CLONELIBS \$(XLDFLAGS) -lpng -lz -lm -lX11 \\" >> 
$RULESFILE
+     echo "    \$(THREADLIB) \$(CCLLIB) \$(VIDEOLIB) \$(ZLIBS) \\" >> 
$RULESFILE
+     echo "    \$(ARTSCLIB) \$(FLACLIB) \$(OGGLIB) \$(MP3LIB) -lz -lm" >> 
$RULESFILE
+   else

Reply via email to