Your message dated Wed, 11 Apr 2007 17:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#414328: fixed in coolmail 1.3-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: coolmail
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> make[1]: Entering directory `/build/buildd/coolmail-1.3'
> cc -O2 -g -DAUDIO -DSUPPORT_MAILDIR -I/usr/X11R6/include coolmail.c -c
> cc -O2 -g -DAUDIO -DSUPPORT_MAILDIR -I/usr/X11R6/include 
> system/X11/display_list.c -c
> cc -O2 -g -DAUDIO -DSUPPORT_MAILDIR -I/usr/X11R6/include render1.c -c
> cc -O2 -g -DAUDIO -DSUPPORT_MAILDIR -I/usr/X11R6/include system/X11/colors.c 
> -c
> cc -O2 -g -DAUDIO -DSUPPORT_MAILDIR -I/usr/X11R6/include audio.c -c
> audio.c:95:25: error: sun/audioio.h: No such file or directory
> audio.c: In function 'audio_beep':
> audio.c:124: error: 'audio_info_t' undeclared (first use in this function)
> audio.c:124: error: (Each undeclared identifier is reported only once
> audio.c:124: error: for each function it appears in.)
> audio.c:124: error: expected ';' before 'ais'
> audio.c:159: error: 'AUDIO_GETINFO' undeclared (first use in this function)
> audio.c:159: error: 'ais' undeclared (first use in this function)
> audio.c:166: error: 'AUDIO_SETINFO' undeclared (first use in this function)
> make[1]: *** [audio.o] Error 1
> make[1]: Leaving directory `/build/buildd/coolmail-1.3'
> make: *** [build-stamp] Error 2

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

Please find attached a patch to fix this, by adding a test case (at
several locations) for GNU/kFreeBSD, so that the job is done in a
similar way as for GNU/Linux, except for the included header.

Cheers,

-- 
Cyril Brulebois
--- coolmail-1.3/audio.c	2007-03-11 02:16:34.288633000 +0100
+++ coolmail-1.3/audio.c	2007-03-11 02:22:57.000000000 +0100
@@ -63,8 +63,13 @@
 	u_32		channels;	/* number of interleaved channels */
 } Audio_filehdr;
 
-#ifdef linux
+#if defined(linux) || defined(__FreeBSD_kernel__)
+
+#if defined(linux)
 #include <linux/soundcard.h>
+#else
+#include <sys/soundcard.h>
+#endif
 
 #define DEV_MIXER		"/dev/mixer"
 #define MAX_VOLUME		100
@@ -101,7 +106,7 @@
 
 #define CLOSE_FD(afd)	{ if (afd > -1) close(afd); afd = -1; }
 
-#ifdef linux
+#if defined(linux) || defined(__FreeBSD_kernel__)
 #define INIT_FD	{ audiofd = filefd = mixer_fd = -1; }
 #define END_FD	{ CLOSE_FD(audiofd); CLOSE_FD(filefd); CLOSE_FD(mixer_fd); return; }
 #else
@@ -117,7 +122,7 @@
 	unsigned char	buf[256];
 	Audio_filehdr	*au_hdr;
 
-#ifdef linux
+#if defined(linux) || defined(__FreeBSD_kernel__)
 	StereoVolume origVol, volume;
 	int				mixer_fd;
 #else
@@ -136,7 +141,7 @@
 				"Coolmail");
 		END_FD;
 	}
-#ifdef linux
+#if defined(linux) || defined(__FreeBSD_kernel__)
 	if ( (mixer_fd=open(DEV_MIXER, O_RDWR, 0)) < 0 ) {
 		fprintf(stderr, "Can't open %s: ", DEV_MIXER);
 		END_FD;
@@ -189,7 +194,7 @@
 
 	/* Strip the header */
 	au_hdr = (Audio_filehdr *)buf;
-#ifdef linux
+#if defined(linux) || defined(__FreeBSD_kernel__)
 	rn = ntohl(au_hdr->hdr_size) - sizeof(Audio_filehdr); 	
 #else
 	rn = au_hdr->hdr_size - sizeof(Audio_filehdr);
@@ -221,7 +226,7 @@
 			usleep(1000);
 		}
 	}
-#ifdef linux
+#if defined(linux) || defined(__FreeBSD_kernel__)
 	CLOSE_FD(audiofd);
 
 	if ( ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_VOLUME), &origVol) < 0 ) {

--- End Message ---
--- Begin Message ---
Source: coolmail
Source-Version: 1.3-10

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

coolmail_1.3-10.diff.gz
  to pool/main/c/coolmail/coolmail_1.3-10.diff.gz
coolmail_1.3-10.dsc
  to pool/main/c/coolmail/coolmail_1.3-10.dsc
coolmail_1.3-10_i386.deb
  to pool/main/c/coolmail/coolmail_1.3-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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fredrik Hallenberg <[EMAIL PROTECTED]> (supplier of updated coolmail 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: Wed, 11 Apr 2007 18:50:29 +0200
Source: coolmail
Binary: coolmail
Architecture: source i386
Version: 1.3-10
Distribution: unstable
Urgency: low
Maintainer: Fredrik Hallenberg <[EMAIL PROTECTED]>
Changed-By: Fredrik Hallenberg <[EMAIL PROTECTED]>
Description: 
 coolmail   - Mail notifier with 3d graphics
Closes: 414328
Changes: 
 coolmail (1.3-10) unstable; urgency=low
 .
   * Applied patch from Cyril Brulebois <[EMAIL PROTECTED]>
     to fix compile problem on GNU/kFreeBSD (closes: #414328)
Files: 
 5f7adc3893c50120af2246665e231abe 609 mail optional coolmail_1.3-10.dsc
 629c5e4ac7071a2f9c99f4028a4d25d6 3976 mail optional coolmail_1.3-10.diff.gz
 d6b1703ce4f62a7e50198d488279cb29 20448 mail optional coolmail_1.3-10_i386.deb

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

iD8DBQFGHRJ50RXQZ6pf16wRArXiAKCdugJyyygbf2ekDuhxN/nWl6Y/pgCgv47H
zEY6zh2Berw55Enbq1zreg4=
=7w9Q
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to