Your message dated Fri, 27 Jan 2012 08:47:21 +0000
with message-id <e1rqhsr-0000s7...@franck.debian.org>
and subject line Bug#657095: fixed in audacious-plugins 3.2-1
has caused the Debian Bug report #657095,
regarding audacious-plugins: 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 ow...@bugs.debian.org
immediately.)
--
657095: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657095
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: audacious-plugins
Version: 2.4.4-1
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd
Hello,
The attached small patch solves the build problems of audacious-plugins
for GNU/Hurd (after installation of audacious, see #657081). Dynamic
allocation of buffers is made with the aid of g_strdup_printf() in one
of the remaining plugins still using PATH_MAX, scrobbler.c
Thanks!
diff -ur audacious-plugins-2.4.4/src/scrobbler/scrobbler.c audacious-plugins-2.4.4.modified/src/scrobbler/scrobbler.c
--- audacious-plugins-2.4.4/src/scrobbler/scrobbler.c 2011-02-22 18:29:46.000000000 +0100
+++ audacious-plugins-2.4.4.modified/src/scrobbler/scrobbler.c 2012-01-24 00:32:41.000000000 +0100
@@ -917,17 +917,19 @@
static void read_cache(void)
{
FILE *fd;
- char buf[PATH_MAX];
+ char *buf = NULL;
int i=0;
item_t *item;
gchar* config_datadir;
config_datadir = aud_util_get_localdir();
- g_snprintf(buf, sizeof(buf), "%s/scrobblerqueue.txt", config_datadir);
+ buf = g_strdup_printf("%s/scrobblerqueue.txt", config_datadir);
g_free(config_datadir);
- if (!(fd = fopen(buf, "r")))
+ if (!(fd = fopen(buf, "r"))) {
+ g_free(buf);
return;
+ }
AUDDBG("Opening %s\n", buf);
fclose(fd);
@@ -936,6 +938,7 @@
gchar** entry;
g_file_get_contents(buf, &cache, NULL, NULL);
values = g_strsplit(cache, "\n", 0);
+ g_free(buf);
int x;
for (x=0; values[x] && strlen(values[x]); x++) {
@@ -994,7 +997,7 @@
{
FILE *fd;
item_t *item;
- char *home, buf[PATH_MAX];
+ char *home, *buf = NULL;
gchar* config_datadir;
/*AUDDBG("Entering dump_queue();");*/
@@ -1006,17 +1009,19 @@
}
config_datadir = aud_util_get_localdir();
- g_snprintf(buf, sizeof(buf), "%s/scrobblerqueue.txt", config_datadir);
+ buf = g_strdup_printf("%s/scrobblerqueue.txt", config_datadir);
g_free(config_datadir);
if (!(fd = fopen(buf, "w")))
{
AUDDBG("Failure opening %s\n", buf);
+ g_free(buf);
return;
}
AUDDBG("Opening %s\n", buf);
+ g_free(buf);
q_peekall(1);
/*
--- End Message ---
--- Begin Message ---
Source: audacious-plugins
Source-Version: 3.2-1
We believe that the bug you reported is fixed in the latest version of
audacious-plugins, which is due to be installed in the Debian FTP archive:
audacious-plugins-dbg_3.2-1_amd64.deb
to main/a/audacious-plugins/audacious-plugins-dbg_3.2-1_amd64.deb
audacious-plugins_3.2-1.debian.tar.gz
to main/a/audacious-plugins/audacious-plugins_3.2-1.debian.tar.gz
audacious-plugins_3.2-1.dsc
to main/a/audacious-plugins/audacious-plugins_3.2-1.dsc
audacious-plugins_3.2-1_amd64.deb
to main/a/audacious-plugins/audacious-plugins_3.2-1_amd64.deb
audacious-plugins_3.2.orig.tar.bz2
to main/a/audacious-plugins/audacious-plugins_3.2.orig.tar.bz2
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 657...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Cyril Lavier <cyril.lav...@davromaniak.eu> (supplier of updated
audacious-plugins 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 27 Jan 2012 09:02:40 +0100
Source: audacious-plugins
Binary: audacious-plugins audacious-plugins-dbg
Architecture: source amd64
Version: 3.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Cyril Lavier <cyril.lav...@davromaniak.eu>
Description:
audacious-plugins - Base plugins for audacious
audacious-plugins-dbg - Audacious-Plugins debug symbols
Closes: 632303 657095
Changes:
audacious-plugins (3.2-1) unstable; urgency=low
.
* New upstream release. (Closes: #657095)
* debian/control:
+ Added build-deps necessary for mp3, bs2b and modplug support.
+ Enabling OSS4 support. (Closes: #632303)
+ Raised the build-dep of audacious-dev to 3.2.
* debian/rules:
+ Removed "--enable-chardet" and "--disable-altivec" config flags as they
are not used anymore.
* Add correct_spelling_error.diff to suppress the lintian warning (patch
submitted upstream)
Checksums-Sha1:
713dcf3ce579dfe3b2b546b19b176a63f174a6cc 3478 audacious-plugins_3.2-1.dsc
b809536bb65407d6f6d86954f985e9bf1611ea82 1899051
audacious-plugins_3.2.orig.tar.bz2
0b7543708d8dc2fd1eca531f1cf4c5aae8cfc857 13503
audacious-plugins_3.2-1.debian.tar.gz
1c46aad2b77027549c456f152ce0d6cf2de45b63 2037524
audacious-plugins_3.2-1_amd64.deb
6444f62358ee1ad9c6ac182154734b0c8d4409e0 2928350
audacious-plugins-dbg_3.2-1_amd64.deb
Checksums-Sha256:
e720517fe58cac370ac0f09df0e9f9c416c1905c8e6b58403fb94f0ab444a447 3478
audacious-plugins_3.2-1.dsc
4a8a1dfd7b6d5d2486a7d93480cf3d29cfb1702fb039a7449c1e0924de144976 1899051
audacious-plugins_3.2.orig.tar.bz2
e508a8ec482fdd22a19c71924eb9d01d76765e10e0df82164961d32776e88d30 13503
audacious-plugins_3.2-1.debian.tar.gz
7a779772c1470fa7ebec048690451d875d156968b792c296b5bdce54e9cf2c57 2037524
audacious-plugins_3.2-1_amd64.deb
4bf427130fdee86aec20f349e05553faca8753b3a4b3cb50613e26b7f60244d6 2928350
audacious-plugins-dbg_3.2-1_amd64.deb
Files:
8302f222b4514e908b560bd851b89992 3478 sound optional
audacious-plugins_3.2-1.dsc
8b81d36b59d2b209726fd3e2f9d8b61d 1899051 sound optional
audacious-plugins_3.2.orig.tar.bz2
ca05c20dfe907e07ef16f47d99fa381b 13503 sound optional
audacious-plugins_3.2-1.debian.tar.gz
fd0ed1a504aba38b3355665ba65d6efe 2037524 sound optional
audacious-plugins_3.2-1_amd64.deb
e93b40246f93d61c6cc3d1622908af88 2928350 debug extra
audacious-plugins-dbg_3.2-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJPIl8GAAoJEBWetcTvyHdMUTMQAIDP2nJJ5T98JV/JUX07iEU0
H9NTClEHQzNyr6W8pGjdtxhEHwzxzQnEOcDJdpr0xDNchwgAv8KacHSgRFvOGDXH
+RTqUF5Dy2t9NmhMeYS7wZmzMH9f40Y9lac1UhVAaOIGKAn/Winz1q0MyZnjr7Zg
EAlpiWwn5JqPAzrgtB/v8EW1vBAsehpKGhq7qI6s1UMVwYzA4p9rFJZoYyq/OujT
M52uWvxJEX4/kR+dYRFApf8J1Tm6/7e8xvFd9xYBhHED5iTJX/JPtqDxA2/KMSh3
jOxsl5j0tRBSuKlCcO91vxdOLxiwDfC7LV4i/Kao8daymO4rYeuncMKtFCVbCQRk
Ialb+XlUKX4r/0wKOcOYG6B6yjgVrwl1ysojQCdSQXg4qaW7rkWUQZXMXUc8iyfw
MTP4SVqgiSMYmZ7DIP60vb35IIK8oqHMQGPxHzT3UniygFKfekeSV4+2XqPr++4e
u8KrHr6Gmo3bGdU+3yAozjsU/XyQ/3jTipRzXffPQ9y1oY3zYMuf0vBLHkDhYfyp
6bo1oId5/gkYf5Np88i+6A2m2JMwna3GoGQFZ28hx68WY7ItVfR8xfCcKxx2etEV
qDpEpKm6bWf0HyH52+sK8vOcULcozzKOrGJ4SZx1P8pS1r8rnwYuaZKXV0JNCF6+
nrDHglf4IcCNjfmIz7LL
=PNJX
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers