Your message dated Mon, 14 May 2007 23:17:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#415664: fixed in xgalaga 2.0.34-43
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xgalaga
Version: 2.0.34-42
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> UNAME_MACHINE = i686
> UNAME_RELEASE = 6.2-1-686
> UNAME_SYSTEM  = GNU/kFreeBSD
> UNAME_VERSION = #0 Mon Jan 15 10:21:36 CET 2007
> configure: error: can not guess host type; you must specify one
> make: *** [build-stamp] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=xgalaga>.

To solve this, it is sufficient to copy config.{guess,sub} from /usr/share/misc
(autotools-dev package) to your top-level directory. You could also think of
auto-updating them in your clean rules, as documented in autotools-dev's
README.Debian.

Besides that, some other files need to be patched. Since the use of
js_device is unconditional, I'd say that setting to 0 when linux isn't
detected should be safe. About configure*, is it just about treating
GNU/kFreeBSD as Linux. The fix for xgal.sndsrv.linux.c is suboptimal,
but I wanted to provide you with an absolute-low-risk patch.  The right
fix would be to turn "linux/soundcard.h" into "sys/soundcard.h", which
is needed for portability, and safe since on Linux, sys/soundcard.h only
#includes linux/soundcard.h, so...

Cheers,

-- 
Cyril Brulebois
--- xgalaga-2.0.34/configure.in	2007-03-21 07:31:47.000000000 +0100
+++ xgalaga-2.0.34/configure.in	2007-03-21 07:31:48.000000000 +0100
@@ -35,7 +35,7 @@
 
 if test -n "$sound-type"; then
   case $host_alias in
-    *linux*) 
+    *linux* | *k*bsd*)
 	sound_type=native
 	;;
     *freebsd*)
@@ -56,7 +56,7 @@
 case $sound_type in
   native)
     case $host_alias in
-      *linux*)
+      *linux* | *k*bsd*)
         SOUNDSERVER=xgal.sndsrv.linux
 	AC_DEFINE(SOUNDDEV,"/dev/dsp")
 	AC_DEFINE(SOUND)
--- xgalaga-2.0.34/linux-joystick.c	2007-03-21 07:31:47.000000000 +0100
+++ xgalaga-2.0.34/linux-joystick.c	2007-03-21 07:31:48.000000000 +0100
@@ -80,4 +80,6 @@
       *x=plx;
   }
 }
+#else
+js_device=0;
 #endif /* __linux__ */
--- xgalaga-2.0.34/xgal.sndsrv.linux.c	2007-03-21 07:31:59.718719000 +0100
+++ xgalaga-2.0.34/xgal.sndsrv.linux.c	2007-03-21 07:32:19.000000000 +0100
@@ -16,7 +16,11 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
+#if !defined(__FreeBSD_kernel__)
 #include <linux/soundcard.h>
+#else
+#include <sys/soundcard.h>
+#endif
 /*#include "linux_pcsp.h"       /usr/include/linux/pcsp.h      */
 #include <sys/time.h>
 #include <signal.h>
--- xgalaga-2.0.34/configure	2007-03-21 07:32:44.745915000 +0100
+++ xgalaga-2.0.34/configure	2007-03-21 07:33:04.000000000 +0100
@@ -1888,7 +1888,7 @@
 
 if test -n "$sound-type"; then
   case $host_alias in
-    *linux*) 
+    *linux* | *k*bsd*)
 	sound_type=native
 	;;
     *freebsd*)
@@ -1909,7 +1909,7 @@
 case $sound_type in
   native)
     case $host_alias in
-      *linux*)
+      *linux* | *k*bsd*)
         SOUNDSERVER=xgal.sndsrv.linux
 	cat >> confdefs.h <<\EOF
 #define SOUNDDEV "/dev/dsp"

--- End Message ---
--- Begin Message ---
Source: xgalaga
Source-Version: 2.0.34-43

We believe that the bug you reported is fixed in the latest version of
xgalaga, which is due to be installed in the Debian FTP archive:

xgalaga_2.0.34-43.diff.gz
  to pool/main/x/xgalaga/xgalaga_2.0.34-43.diff.gz
xgalaga_2.0.34-43.dsc
  to pool/main/x/xgalaga/xgalaga_2.0.34-43.dsc
xgalaga_2.0.34-43_i386.deb
  to pool/main/x/xgalaga/xgalaga_2.0.34-43_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated xgalaga package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 14 May 2007 18:29:49 -0400
Source: xgalaga
Binary: xgalaga
Architecture: source i386
Version: 2.0.34-43
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 xgalaga    - X11 version of the famous Galaga game
Closes: 415664
Changes: 
 xgalaga (2.0.34-43) unstable; urgency=low
 .
   * Take config.sub and config.guess from autotools-dev.
   * kFreeBSD porting. Closes: #415664
   * Create a xgal.sndsrv.oss that will work on linux and, presumably, FreeBSD
     (untested). The source file is left at xgal.sndsrv.linux.c since renaming
     source files in a Debian diff is too ugly.
Files: 
 145f700fa7854f4a7b13cc22f3d7dcef 733 games optional xgalaga_2.0.34-43.dsc
 44f40bcb75b5263539c9092aa02609f5 37170 games optional xgalaga_2.0.34-43.diff.gz
 f0387e3caf88fd385de7ebeb0b44f5b7 261700 games optional 
xgalaga_2.0.34-43_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGSOtG2tp5zXiKP0wRAsPEAJ9x/dhmjRopIcDLvlrqmsf/+tnPIACdEKbr
39ZH41QgZSZEjQwnCb7Yn4Q=
=hP8B
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to