[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336866: marked as done (phaseshift: FTBFS on GNU/kFreeBSD)



Your message dated Sun, 19 Mar 2006 05:17:43 -0800
with message-id <E1FKxmx-0000MB-FF@spohr.debian.org>
and subject line Bug#336866: fixed in phaseshift 0.40-10
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: phaseshift
Severity: important
Tags: patch

Hi,

The current version of gimp-gap fails to build on GNU/kFreeBSD, because
of outdated config.{sub,guess} and because linux/soundcard.h is Linux  
specific. sys/soundcard.h should be included instead on *BSD. Please 
find attached a patch to fix that. It would be nice if you could 
include it in the next upload.

Thanks in advance,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

diff -u phaseshift-0.40/phaseshift/phaseshift.cpp phaseshift-0.40/phaseshift/phaseshift.cpp
--- phaseshift-0.40/phaseshift/phaseshift.cpp
+++ phaseshift-0.40/phaseshift/phaseshift.cpp
@@ -19,7 +19,11 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <stdio.h>
+#if defined(__linux__)
 #include <linux/soundcard.h>
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#include <sys/soundcard.h>
+#endif
 #include <sys/ioctl.h>
 #include <sys/stat.h>
 #include <fcntl.h>
diff -u phaseshift-0.40/debian/control phaseshift-0.40/debian/control
--- phaseshift-0.40/debian/control
+++ phaseshift-0.40/debian/control
@@ -1,5 +1,5 @@
 Source: phaseshift
-Build-Depends: debhelper (>= 4), libqt3-mt-dev, libmng-dev, libgl-dev, libjpeg62-dev, libpng12-dev,  xlibs-dev | xlib6g-dev, zlib1g-dev, libqt3-compat-headers, libqt3-headers
+Build-Depends: debhelper (>= 4), libqt3-mt-dev, libmng-dev, libgl-dev, libjpeg62-dev, libpng12-dev,  xlibs-dev | xlib6g-dev, zlib1g-dev, libqt3-compat-headers, libqt3-headers, autotools-dev
 Section: hamradio
 Priority: optional
 Maintainer: Hamish Moffatt <hamish@debian.org>
diff -u phaseshift-0.40/debian/rules phaseshift-0.40/debian/rules
--- phaseshift-0.40/debian/rules
+++ phaseshift-0.40/debian/rules
@@ -2,6 +2,7 @@
 
 build:
 	dh_testdir
+	cp -f /usr/share/misc/config.{sub,guess} $(CURDIR)
 	./configure --prefix=/usr --with-qt-includes=/usr/include/qt3 --with-qt-libraries=/usr/lib
 	$(MAKE) MOC=/usr/bin/moc-qt3
 	touch build
@@ -11,6 +12,7 @@
 	-rm -f build
 	-make distclean
 	-rm -f `find . -name "*~"`
+	-rm -f config.{sub,guess}
 	dh_clean
 
 binary-indep:	build
--- phaseshift-0.40.orig/phaseshift/mixer.cpp
+++ phaseshift-0.40/phaseshift/mixer.cpp
@@ -15,7 +15,11 @@
  *                                                                         *
  ***************************************************************************/
 
+#if defined(__linux__)
 #include <linux/soundcard.h>
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#include <sys/soundcard.h>
+#endif
 #include <sys/ioctl.h>
 #include <unistd.h>
 #include <ctype.h>

--- End Message ---
--- Begin Message ---
Source: phaseshift
Source-Version: 0.40-10

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

phaseshift_0.40-10.diff.gz
  to pool/main/p/phaseshift/phaseshift_0.40-10.diff.gz
phaseshift_0.40-10.dsc
  to pool/main/p/phaseshift/phaseshift_0.40-10.dsc
phaseshift_0.40-10_i386.deb
  to pool/main/p/phaseshift/phaseshift_0.40-10_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 336866@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hamish Moffatt <hamish@debian.org> (supplier of updated phaseshift 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Sun, 19 Mar 2006 23:58:30 +1100
Source: phaseshift
Binary: phaseshift
Architecture: source i386
Version: 0.40-10
Distribution: unstable
Urgency: low
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Hamish Moffatt <hamish@debian.org>
Description: 
 phaseshift - PSK31 terminal for X11
Closes: 336866 357640
Changes: 
 phaseshift (0.40-10) unstable; urgency=low
 .
   * Apply patch to allow compilation on kFreeBSD (closes: #336866)
     and get latest config.guess/sub from autotools-dev; thanks to
     Aurelien Jarno
   * Apply patch to allow compilation with g++ 4.1 (closes: #357640);
     thanks to Martin Michlmayr for the patch
   * Change maintainer to debian-hams team
Files: 
 e82b1035f16e0a6e0391deb5ae1b86fc 1071 hamradio optional phaseshift_0.40-10.dsc
 da99524ddd09ba92fea258af0004c989 5985 hamradio optional phaseshift_0.40-10.diff.gz
 aed20c7a8007316efe8ba49d5225aa76 64876 hamradio optional phaseshift_0.40-10_i386.deb

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

iQCVAwUBRB1Xs9iYIdPvprnVAQKlZQP+PHtNfV2+zFWDrIVglWUKXNkEUYjiNO7D
F+6qupY1qOcMnvlO5ERO+TZID0qcXfcCOORuheNtKdu41gjzGY+zWZpOvZA87WVA
RbkLGWy0H0XCFZ9XdNh8IpcnJQv1iK6yDMaEA3Cg1ELz1Iz7udXZIr1eLnYpdH4Y
scaM+AFF5dk=
=GYoL
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: