Your message dated Mon, 14 Dec 2009 22:48:12 +0000
with message-id <[email protected]>
and subject line Bug#558790: fixed in plib 1.8.5-5
has caused the Debian Bug report #558790,
regarding plib: FTBFS on hurd-i386
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
558790: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558790
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: plib
Version: 1.8.5-4
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

currently[1] plib does not compile on GNU/Hurd.
The problems go down to the wrong backends used for joystick and sound support.

The attached patch fixes the issues, providing support for GNU/Hurd:
- add a new define, UL_GNU
- compile the "none" joystick backend
- claim to support OSS audio (there's no "null" audio, so most probably this
  is the safest bet, given that Hurd has no sound support yet)

[1] 
http://buildd.debian-ports.org/fetch.php?&pkg=plib&ver=1.8.5-3&arch=hurd-i386&stamp=1241899583&file=log&as=raw

Thanks,
-- 
Pino
--- a/src/js/jsNone.cxx
+++ b/src/js/jsNone.cxx
@@ -22,7 +22,7 @@
 
 #include "js.h"
 
-#if defined(UL_IRIX) || defined(UL_SOLARIS) || defined (UL_HPUX)
+#if defined(UL_IRIX) || defined(UL_SOLARIS) || defined (UL_HPUX) || defined(UL_GNU)
 
 struct os_specific_s ;
 
--- a/src/util/ul.h
+++ b/src/util/ul.h
@@ -92,6 +92,10 @@
 
 #define UL_HPUX      1
 
+#elif defined(__GNU__)
+
+#define UL_GNU       1
+
 #elif (defined(__unix__) || defined(unix)) && !defined(USG)
 
 #define UL_BSD       1
@@ -144,6 +148,12 @@
 #define  UL_GLX     1
 #endif
 
+#ifdef UL_GNU
+#include <unistd.h>
+#include <dlfcn.h>
+#define  UL_GLX     1
+#endif
+
 #include <assert.h>
 #include <limits.h>
 #include <math.h>
--- a/src/sl/slPortability.h
+++ b/src/sl/slPortability.h
@@ -51,7 +51,7 @@
 #include <limits.h>
 #include <math.h>
 
-#if (defined(UL_LINUX) || defined(UL_BSD)) && !defined(__NetBSD__)
+#if (defined(UL_LINUX) || defined(UL_BSD) || defined(UL_GNU)) && !defined(__NetBSD__)
 #define SL_USING_OSS_AUDIO 1
 #endif
 
@@ -59,7 +59,7 @@
 #  if defined(UL_LINUX)
 #    include <linux/soundcard.h>
 #    include <sys/ioctl.h>
-#  elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#  elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(UL_GNU)
 #    include <sys/soundcard.h>
 #  else
     /*

--- End Message ---
--- Begin Message ---
Source: plib
Source-Version: 1.8.5-5

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

libplib-dev_1.8.5-5_amd64.deb
  to main/p/plib/libplib-dev_1.8.5-5_amd64.deb
libplib1_1.8.5-5_amd64.deb
  to main/p/plib/libplib1_1.8.5-5_amd64.deb
plib_1.8.5-5.diff.gz
  to main/p/plib/plib_1.8.5-5.diff.gz
plib_1.8.5-5.dsc
  to main/p/plib/plib_1.8.5-5.dsc



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.
Bradley Smith <[email protected]> (supplier of updated plib 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.8
Date: Mon, 14 Dec 2009 22:21:38 +0000
Source: plib
Binary: libplib1 libplib-dev
Architecture: source amd64
Version: 1.8.5-5
Distribution: unstable
Urgency: low
Maintainer: Bradley Smith <[email protected]>
Changed-By: Bradley Smith <[email protected]>
Description: 
 libplib-dev - Portability Libraries: Development package
 libplib1   - Portability Libraries: Run-time package
Closes: 558790
Changes: 
 plib (1.8.5-5) unstable; urgency=low
 .
   * Fix FTBFS on hurd. Thanks to Pino Toscano <[email protected]>.
     Closes: #558790.
Checksums-Sha1: 
 d2b85137d2a242c17c8a1d6f7c04d4c5c56ae2eb 1217 plib_1.8.5-5.dsc
 f228e7c945e11ee3c44c1864412d09e8161830bb 9535 plib_1.8.5-5.diff.gz
 e9c85111e1648a40d5ad89ad11f8cb79b5b7d57d 643596 libplib1_1.8.5-5_amd64.deb
 fe78b43b21687be5311bc8b67e3c0c1a03553021 937886 libplib-dev_1.8.5-5_amd64.deb
Checksums-Sha256: 
 3d16fe59d4970049c4b8231f7ca066febeecd7442853478df1a8c01529cdcb23 1217 
plib_1.8.5-5.dsc
 18fc56cc7b9e942516c7b74b58e485978621464b38f2017938ea15a7e7b508b7 9535 
plib_1.8.5-5.diff.gz
 ea615cd859710bae390dd6474a5a65a247ff73fc66c34aa5ad2d4e4836c53b85 643596 
libplib1_1.8.5-5_amd64.deb
 bcf38cca2ff8da2c8ca94a4942ccf5b091d379b590b22e4ec14e8ddf712c9764 937886 
libplib-dev_1.8.5-5_amd64.deb
Files: 
 bb6e25eb21b2d876ac82cfa630ca0bc4 1217 devel extra plib_1.8.5-5.dsc
 6c6c1f9120f30617659d8328796518be 9535 devel extra plib_1.8.5-5.diff.gz
 ca1c45e0a2916812336bb9ab174c5f84 643596 libs extra libplib1_1.8.5-5_amd64.deb
 c04c3dd48953b26d51f0554986798760 937886 libdevel extra 
libplib-dev_1.8.5-5_amd64.deb

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

iEYEARECAAYFAksmu8gACgkQj3BimscY00exkwCcC5a7XBNsnrgJ4aSqDO2TDkc+
GB0Anj7PI5yLkhAWfgHWH8mRhvCNOBIe
=bjX6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to