<p>On Aug 10, 2011 3:47 PM, <<a href="mailto:siretart@users.alioth.debian.org">siretart@users.alioth.debian.org</a>> wrote:<br>
><br>
> The following commit has been merged in the master branch:<br>
> commit f0dab4aa25fa51c851c8190ef172194ecc275a80<br>
> Author: Reinhard Tartler <<a href="mailto:siretart@tauware.de">siretart@tauware.de</a>><br>
> Date: Wed Aug 10 21:44:23 2011 +0200<br>
><br>
> Unbreak compilation with gcc 4.4<br>
><br>
> This patch is only necessary before gcc 4.5, such as gcc 4.4 in debian/squeeze.<br>
> Actually, this is a workaround in config.h for a workaround in the autoconf<br>
> generated configure script, which comments out every #undef CPP statement.<br>
> This is actually documented in the autoconf manual, like here:<br>
> <a href="http://www.gnu.org/s/hello/manual/autoconf/Header-Templates.html">http://www.gnu.org/s/hello/manual/autoconf/Header-Templates.html</a><br>
><br>
> diff --git a/debian/patches/series b/debian/patches/series<br>
> index 0eeed71..9fa2916 100644<br>
> --- a/debian/patches/series<br>
> +++ b/debian/patches/series<br>
> @@ -5,3 +5,4 @@ license-ouput-change.patch<br>
> parallel-builds-fix.patch<br>
> portableio-compiler-warning-fix.patch<br>
> alpha-build-fix.patch<br>
> +unbreak-ftbfs-gcc4.4.patch<br>
> diff --git a/debian/patches/unbreak-ftbfs-gcc4.4.patch b/debian/patches/unbreak-ftbfs-gcc4.4.patch<br>
> new file mode 100644<br>
> index 0000000..d061b9b<br>
> --- /dev/null<br>
> +++ b/debian/patches/unbreak-ftbfs-gcc4.4.patch<br>
> @@ -0,0 +1,93 @@<br>
> +Description: Unbreak compilation with gcc 4.4<br>
> + This patch is only necessary before gcc 4.5, such as gcc 4.4 in debian/squeeze.<br>
> + Actually, this is a workaround in config.h for a workaround in the autoconf<br>
> + generated configure script, which comments out every #undef CPP statement.<br>
> + This is actually documented in the autoconf manual, like here:<br>
> + <a href="http://www.gnu.org/s/hello/manual/autoconf/Header-Templates.html">http://www.gnu.org/s/hello/manual/autoconf/Header-Templates.html</a><br>
> +Author: Reinhard Tartler <<a href="mailto:siretart@tauware.de">siretart@tauware.de</a>><br>
> +<br>
> +<br>
> +<br>
> +--- lame-3.98.4+repack2.orig/<a href="http://config.h.in">config.h.in</a><br>
> ++++ lame-3.98.4+repack2/<a href="http://config.h.in">config.h.in</a><br>
> +@@ -54,12 +54,14 @@<br>
> + /* add ieee754_float32_t type */<br>
> + #undef HAVE_IEEE754_FLOAT32_T<br>
> + #ifndef HAVE_IEEE754_FLOAT32_T<br>
> ++#define HAVE_IEEE754_FLOAT32_T<br>
> + typedef float ieee754_float32_t;<br>
> + #endif<br>
> +<br>
> + /* add ieee754_float64_t type */<br>
> + #undef HAVE_IEEE754_FLOAT64_T<br>
> + #ifndef HAVE_IEEE754_FLOAT64_T<br>
> ++#define HAVE_IEEE754_FLOAT64_T<br>
> + typedef double ieee754_float64_t;<br>
> + #endif<br>
> +<br>
> +@@ -69,6 +71,7 @@<br>
> + /* add ieee854_float80_t type */<br>
> + #undef HAVE_IEEE854_FLOAT80_T<br>
> + #ifndef HAVE_IEEE854_FLOAT80_T<br>
> ++#define HAVE_IEEE854_FLOAT80_T<br>
> + typedef long double ieee854_float80_t;<br>
> + #endif<br>
> +<br>
> +--- lame-3.98.4+repack2.orig/<a href="http://configure.in">configure.in</a><br>
> ++++ lame-3.98.4+repack2/<a href="http://configure.in">configure.in</a><br>
> +@@ -141,6 +141,7 @@ AH_VERBATIM([HAVE_UINT8_T],<br>
> + [/* add uint8_t type */<br>
> + #undef HAVE_UINT8_T<br>
> + #ifndef HAVE_UINT8_T<br>
> ++#define HAVE_UINT8_T<br>
> + typedef unsigned char uint8_t;<br>
> + #endif])<br>
> +<br>
> +@@ -148,6 +149,7 @@ AH_VERBATIM([HAVE_INT8_T],<br>
> + [/* add int8_t type */<br>
> + #undef HAVE_INT8_T<br>
> + #ifndef HAVE_INT8_T<br>
> ++#define HAVE_INT8_T<br>
> + typedef char int8_t;<br>
> + #endif])<br>
> +<br>
> +@@ -155,6 +157,7 @@ AH_VERBATIM([HAVE_UINT16_T],<br>
> + [/* add uint16_t type */<br>
> + #undef HAVE_UINT16_T<br>
> + #ifndef HAVE_UINT16_T<br>
> ++#define HAVE_UINT16_T<br>
> + typedef unsigned short uint16_t;<br>
> + #endif])<br>
> +<br>
> +@@ -162,6 +165,7 @@ AH_VERBATIM([HAVE_INT16_T],<br>
> + [/* add int16_t type */<br>
> + #undef HAVE_INT16_T<br>
> + #ifndef HAVE_INT16_T<br>
> ++#define HAVE_INT16_T<br>
> + typedef short int16_t;<br>
> + #endif])<br>
> +<br>
> +@@ -269,6 +273,7 @@ if test "${alex_cv_ieee854_float80}" = "<br>
> + [/* add ieee854_float80_t type */<br>
> + #undef HAVE_IEEE854_FLOAT80_T<br>
> + #ifndef HAVE_IEEE854_FLOAT80_T<br>
> ++#define HAVE_IEEE854_FLOAT80_T<br>
> + typedef long double ieee854_float80_t;<br>
> + #endif])<br>
> +<br>
> +@@ -281,6 +286,7 @@ AH_VERBATIM([HAVE_IEEE754_FLOAT64_T],<br>
> + [/* add ieee754_float64_t type */<br>
> + #undef HAVE_IEEE754_FLOAT64_T<br>
> + #ifndef HAVE_IEEE754_FLOAT64_T<br>
> ++#define HAVE_IEEE754_FLOAT64_T<br>
> + typedef double ieee754_float64_t;<br>
> + #endif])<br>
> +<br>
> +@@ -288,6 +294,7 @@ AH_VERBATIM([HAVE_IEEE754_FLOAT32_T],<br>
> + [/* add ieee754_float32_t type */<br>
> + #undef HAVE_IEEE754_FLOAT32_T<br>
> + #ifndef HAVE_IEEE754_FLOAT32_T<br>
> ++#define HAVE_IEEE754_FLOAT32_T<br>
> + typedef float ieee754_float32_t;<br>
> + #endif])<br>
> +<br>
><br>
> --<br>
> lame packaging<br>
><br>
> _______________________________________________<br>
> pkg-multimedia-commits mailing list<br>
> <a href="mailto:pkg-multimedia-commits@lists.alioth.debian.org">pkg-multimedia-commits@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-commits">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-commits</a></p>
<p>If this is only specific to a compiler version, than this should be done only for those compiler versions.<br>
</p>