Bug#428892: sdl-mixer1.2: FTBFS on hurd-i386
Samuel Thibault
samuel.thibault at ens-lyon.org
Thu Jun 14 23:02:10 UTC 2007
Package: sdl-mixer1.2
Version: 1.2.6-2
Severity: important
Tags: patch
Hi,
sdl-mixer1.2 currently FTBFS because it uses PATH_MAX unconditionaly.
Here is a patch
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
--
Samuel Thibault <samuel.thibault at ens-lyon.org>
> Il [e2fsck] a bien démarré, mais il m'a rendu la main aussitot en me
> disant "houlala, c'est pas beau à voir votre truc, je préfèrerai que
> vous teniez vous même la tronçonneuse" (traduction libre)
NC in Guide du linuxien pervers : "Bien configurer sa tronçonneuse."
-------------- next part --------------
diff -ur sdl-mixer1.2-1.2.6.orig/music_cmd.h sdl-mixer1.2-1.2.6/music_cmd.h
--- sdl-mixer1.2-1.2.6.orig/music_cmd.h 2004-12-16 05:20:14.000000000 +0000
+++ sdl-mixer1.2-1.2.6/music_cmd.h 2007-06-14 19:06:41.000000000 +0000
@@ -32,6 +32,9 @@
#if defined(__linux__) && defined(__arm__)
# include <linux/limits.h>
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
typedef struct {
char file[PATH_MAX];
char cmd[PATH_MAX];
More information about the Pkg-sdl-maintainers
mailing list