Hi!

* Martin Michlmayr <[EMAIL PROTECTED]> [060722 15:19]:
> Package: csmash
[..]
> This package no longer builds in unstable:
> 
> > Automatic build of csmash_0.6.6-6.1 on prehension by sbuild/sparc 0.47
> ...
> > checking for sdl-config... /usr/bin/sdl-config
> > checking for SDL - version >= 1.2.0... no
> > *** Could not run SDL test program, checking why...
> > *** The test program failed to compile or link. See the file config.log for 
> > the
> > *** exact error that occured. This usually means SDL was incorrectly 
> > installed
> > *** or that you have moved SDL since it was installed. In the latter case, 
> > you
> > *** may want to edit the sdl-config script: /usr/bin/sdl-config
> > configure: error: *** SDL version 1.2.0 not found!
> > make: *** [build-stamp] Error 1

Interesting... this bug isn't sdl related at all, but easy to fix.  Just
a small problem with the CFLAGs in configure.  Attached patch would fix
it, configure runs again and the package builds in pbuilder.


Yours sincerely,
  Alexander
diff -Nur csmash-0.6.6-old/debian/changelog csmash-0.6.6/debian/changelog
--- csmash-0.6.6-old/debian/changelog   2006-07-24 14:14:30.000000000 +0200
+++ csmash-0.6.6/debian/changelog       2006-07-24 14:14:01.000000000 +0200
@@ -1,3 +1,12 @@
+csmash (0.6.6-6.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * adding debian/patches/03_broken_include.dpatch
+    fixes broken include in configure (Closes: #379242)
+    - Thanks to Martin Würtele for helping! 
+
+ -- Alexander Schmehl <[EMAIL PROTECTED]>  Mon, 24 Jul 2006 14:12:48 +0200
+
 csmash (0.6.6-6.1) unstable; urgency=high
 
   * Non-maintainer upload.
@@ -7,6 +16,7 @@
 
  -- Luk Claes <[EMAIL PROTECTED]>  Fri, 10 Mar 2006 12:32:56 +0100
 
+
 csmash (0.6.6-6) unstable; urgency=low
 
   * Rebuilding with uninstalled nvidia-glx (Closes: #291209)
diff -Nur csmash-0.6.6-old/debian/patches/00list 
csmash-0.6.6/debian/patches/00list
--- csmash-0.6.6-old/debian/patches/00list      2006-07-24 14:14:30.000000000 
+0200
+++ csmash-0.6.6/debian/patches/00list  2006-07-24 14:05:53.000000000 +0200
@@ -1,2 +1,3 @@
 01_loadparts
 02_gcc4.0
+03_broken_include
diff -Nur csmash-0.6.6-old/debian/patches/03_broken_include.dpatch 
csmash-0.6.6/debian/patches/03_broken_include.dpatch
--- csmash-0.6.6-old/debian/patches/03_broken_include.dpatch    1970-01-01 
01:00:00.000000000 +0100
+++ csmash-0.6.6/debian/patches/03_broken_include.dpatch        2006-07-24 
14:05:37.000000000 +0200
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_broken_include.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Small fix for now broken includes
+
[EMAIL PROTECTED]@
+diff -urNad csmash-0.6.6~/configure csmash-0.6.6/configure
+--- csmash-0.6.6~/configure    2003-08-16 07:54:31.000000000 +0200
++++ csmash-0.6.6/configure     2006-07-24 14:04:49.000000000 +0200
+@@ -5515,7 +5515,7 @@
+ fi
+ 
+ 
+-CFLAGS="-I $x_includes"
++CFLAGS="-I/ $x_includes"
+ LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir"
+ CXXFLAGS="$CFLAGS -Wall"
+ 

Reply via email to