Your message dated Sun, 10 Aug 2014 15:49:47 +0000
with message-id <[email protected]>
and subject line Bug#750369: fixed in gwc 0.21.19~dfsg0-4
has caused the Debian Bug report #750369,
regarding gwc: FTBFS with clang instead of gcc
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.)


-- 
750369: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750369
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gwc
Severity: minor
Usertags: clang-ftbfs
User: [email protected]
Tag: patch


Hello,

Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).

Thanks,
Arthur

diff -Naur gwc.orig/gwc-0.21.19~dfsg0/debian/changelog gwc/gwc-0.21.19~dfsg0/debian/changelog
--- gwc.orig/gwc-0.21.19~dfsg0/debian/changelog	2014-06-02 16:50:25.853070796 -0500
+++ gwc/gwc-0.21.19~dfsg0/debian/changelog	2014-06-02 17:01:21.869082221 -0500
@@ -1,3 +1,11 @@
+gwc (0.21.19~dfsg0-4) unstable; urgency=low
+
+  * Fix FTBFS with clang:
+    - Fixed "function declaration not allowed" error in
+      gwc.c
+
+ -- Arthur Marble <[email protected]>  Mon, 02 Jun 2014 17:01:21 -0500
+
 gwc (0.21.19~dfsg0-3) unstable; urgency=low
 
   * Fix FTBFS due to Makefile's malformed target. (Closes: #724209)
diff -Naur gwc.orig/gwc-0.21.19~dfsg0/debian/patches/clang-ftbfs.diff gwc/gwc-0.21.19~dfsg0/debian/patches/clang-ftbfs.diff 
--- gwc.orig/gwc-0.21.19~dfsg0/debian/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ gwc/gwc-0.21.19~dfsg0/debian/patches/clang-ftbfs.diff	2014-06-02 17:00:16.533081083 -0500
@@ -0,0 +1,47 @@
+--- a/gwc.c
++++ b/gwc.c
+@@ -2657,28 +2657,28 @@ long time_to_sample(char *time, struct s
+     return position;
+ }
+ 
++long batch_atol(char *time)
++{
++	if( strcmp(time,"end") == 0 )
++		return prefs.n_samples;
++	else
++		return atol(time);
++}
++
++long batch_time_to_sample(char *time, struct sound_prefs *p)
++{
++	if( strcmp(time,"end") == 0 )
++		return p->n_samples;
++	else
++		return time_to_sample(time, p);
++}
++
+ /* bj Sep 2003 re-write batch declick, add batch denoise, batch truncate */
+ void batch(int argc, char **argv)
+ {
+ #define BYTIME 0
+ #define BYSAMPLE 1
+ 
+-	long batch_atol(char *time)
+-	{
+-		if( strcmp(time,"end") == 0 )
+-			return prefs.n_samples;
+-		else
+-			return atol(time);
+-	}
+-
+-	long batch_time_to_sample(char *time, struct sound_prefs *p)
+-	{
+-		if( strcmp(time,"end") == 0 )
+-			return p->n_samples;
+-		else
+-			return time_to_sample(time, p);	
+-	}
+-
+     int type = BYTIME ; 
+ 
+     batch_mode = 1 ;
diff -Naur gwc.orig/gwc-0.21.19~dfsg0/debian/patches/series gwc/gwc-0.21.19~dfsg0/debian/patches/series 
--- gwc.orig/gwc-0.21.19~dfsg0/debian/patches/series	2014-06-02 16:50:25.853070796 -0500
+++ gwc/gwc-0.21.19~dfsg0/debian/patches/series	2014-06-02 16:50:45.353071136 -0500
@@ -1 +1,2 @@
 0001-buildsystem.patch
+clang-ftbfs.diff

--- End Message ---
--- Begin Message ---
Source: gwc
Source-Version: 0.21.19~dfsg0-4

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

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.
Jaromír Mikeš <[email protected]> (supplier of updated gwc 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: Sun, 10 Aug 2014 16:09:40 +0200
Source: gwc
Binary: gwc gwc-dbg
Architecture: source amd64
Version: 0.21.19~dfsg0-4
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers 
<[email protected]>
Changed-By: Jaromír Mikeš <[email protected]>
Description:
 gwc        - Audio file denoiser
 gwc-dbg    - Audio file denoiser (debug)
Closes: 596693 750369
Changes:
 gwc (0.21.19~dfsg0-4) unstable; urgency=low
 .
   * Bump Standards.
   * Keywords added to desktop file.
   * Added patch to build with clang. (Closes: #750369)
   * Added patch to fix typos. (Closes: #596693)
Checksums-Sha1:
 03056cc770ac5b441e110cb1c2542058e44d4845 2106 gwc_0.21.19~dfsg0-4.dsc
 bb58c05224783037ebb6fa2c589849b38ab58234 11308 
gwc_0.21.19~dfsg0-4.debian.tar.xz
 06e977f59201f159c84e1bd27b084efe3cd8dd3e 180240 gwc_0.21.19~dfsg0-4_amd64.deb
 86359176e0497cdcdf676180cbfc4433ad0a5af9 387066 
gwc-dbg_0.21.19~dfsg0-4_amd64.deb
Checksums-Sha256:
 f7994e10f71e5aca890fdb963e0f821e85da47ae72f3649f517a22eab41ffbab 2106 
gwc_0.21.19~dfsg0-4.dsc
 79f4081b8eecf6cdeecf348b45ad142ae1c82a5318073efddc0b9057e099755f 11308 
gwc_0.21.19~dfsg0-4.debian.tar.xz
 4eab755f9d0a935b5f08bda26a8bcbf99a94baa55d413b79b4534a1e98dc8677 180240 
gwc_0.21.19~dfsg0-4_amd64.deb
 656f75a43980daddbca7d635b9e73d011b1cd4786fc2deb7fbe24068edb52614 387066 
gwc-dbg_0.21.19~dfsg0-4_amd64.deb
Files:
 2cda6bed8f525f804c7f4f5861c7a795 180240 sound optional 
gwc_0.21.19~dfsg0-4_amd64.deb
 149287dc59ed333937e0230d4f1003bc 387066 debug extra 
gwc-dbg_0.21.19~dfsg0-4_amd64.deb
 750cc0a13c9ae065043566cb44012782 2106 sound optional gwc_0.21.19~dfsg0-4.dsc
 0836daf9f2ed6a62c885f5b55f4533c2 11308 sound optional 
gwc_0.21.19~dfsg0-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJT54ftAAoJEFsBlFXiuE+lg8IQAIkiukYN7ScNwSTFrL2DnCp9
Fwq3P1D67glRa9+6CdnXja6HaNPMs3NRRLAibSenPpEErIE1pFw0p2PMfYwg4Yuc
b9+PePOukZCp1VEfEvzFbBrZyiaEdpNvzQAb8tCBEDkSbwrkdzD5m/hCnbe44vf3
b4AAX1qCNXPXgyjV03A4we65TRW54m1hlNVLd71X9XrBaq1cvLiLvfDyRc7oQGGU
cA4POS+i7+Y7TRQIeF/fGhZjlGbI52WBwge4XNN5nJF4uyylL2WplSrkjCQG1TRV
IhRpDoOcjT5G7267bN2YThpI+JttPiyDusrjy8oIvy/7lyPwcCVNxMmkc0n7O+IB
+JU1Mmwl8XzwR3rjIyoHKNCk7y6m8VM9XZihXJnHHDA3kusokdKCKtJyWEl4jYEL
xj5flQ2cwDFxgEUDV7xSMiuR09qPfUSYpm8/VsK3Dgb48uHKxiEfzLjHLo5Cew1L
Ivv1M+9RdWX3ehfLz/VmudjhHBzMmw4PKDFrmqdz/21PfVlHJilQagxmJSvoiahU
Fxm+nwLBLOX29KPMEs6E7Cg5lmzubNxG9lc3dXFeNSLq0ZruJkJV1VZVtnHsM498
p9x1MERiHnUL8rnQ7XhKS74n4+rHa9fVhE0z2YVusM1T31IzkdlOYTT0keZoW/hx
FcE1DXHTb5IgEt9Nilq6
=7myN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to