#! /bin/sh /usr/share/dpatch/dpatch-run ## build-without-Werror.patch.dpatch by Andreas Moog ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Disable -Werror compilerflag as this causes FTBFS on several ## DP: archtitectures in Ubuntu ## Origin: Andreas Moog @DPATCH@ diff -urNad -x '*~' linphone-3.2.1.orig/configure linphone-3.2.1/configure --- linphone-3.2.1.orig/configure 2009-09-28 15:04:16.000000000 +0200 +++ linphone-3.2.1/configure 2009-12-19 18:44:09.000000000 +0100 @@ -16372,7 +16372,7 @@ if test "$GCC$strictness" = "yesyes" ; then STRICT_OPTIONS="-Wall -Wp,-D_FORTIFY_SOURCE=2" - STRICT_OPTIONS="$STRICT_OPTIONS -Werror" +# STRICT_OPTIONS="$STRICT_OPTIONS -Werror" CFLAGS="$CFLAGS -fno-strict-aliasing" fi diff -urNad -x '*~' linphone-3.2.1.orig/configure.in linphone-3.2.1/configure.in --- linphone-3.2.1.orig/configure.in 2009-09-28 12:39:01.000000000 +0200 +++ linphone-3.2.1/configure.in 2009-12-19 18:44:37.000000000 +0100 @@ -319,7 +319,7 @@ if test "$GCC$strictness" = "yesyes" ; then STRICT_OPTIONS="-Wall -Wp,-D_FORTIFY_SOURCE=2" - STRICT_OPTIONS="$STRICT_OPTIONS -Werror" +# STRICT_OPTIONS="$STRICT_OPTIONS -Werror" CFLAGS="$CFLAGS -fno-strict-aliasing" fi diff -urNad -x '*~' linphone-3.2.1.orig/mediastreamer2/configure linphone-3.2.1/mediastreamer2/configure --- linphone-3.2.1.orig/mediastreamer2/configure 2009-10-05 10:52:04.000000000 +0200 +++ linphone-3.2.1/mediastreamer2/configure 2009-12-19 18:45:25.000000000 +0100 @@ -15975,7 +15975,7 @@ fi if test $GCC = yes && test $wall_werror = yes; then - CFLAGS="$CFLAGS -Werror " + CFLAGS="$CFLAGS " fi macosx_found=no diff -urNad -x '*~' linphone-3.2.1.orig/mediastreamer2/configure.ac linphone-3.2.1/mediastreamer2/configure.ac --- linphone-3.2.1.orig/mediastreamer2/configure.ac 2009-10-04 21:43:38.000000000 +0200 +++ linphone-3.2.1/mediastreamer2/configure.ac 2009-12-19 18:45:42.000000000 +0100 @@ -121,7 +121,7 @@ fi if test $GCC = yes && test $wall_werror = yes; then - CFLAGS="$CFLAGS -Werror " + CFLAGS="$CFLAGS " fi macosx_found=no diff -urNad -x '*~' linphone-3.2.1.orig/oRTP/configure linphone-3.2.1/oRTP/configure --- linphone-3.2.1.orig/oRTP/configure 2009-09-17 21:03:27.000000000 +0200 +++ linphone-3.2.1/oRTP/configure 2009-12-19 18:51:55.000000000 +0100 @@ -11803,7 +11803,7 @@ fi if test $GCC = yes && test $wall_werror = yes; then - CFLAGS="$CFLAGS -Werror " + CFLAGS="$CFLAGS " fi for ac_header in openssl/hmac.h openssl/md5.h diff -urNad -x '*~' linphone-3.2.1.orig/oRTP/configure.ac linphone-3.2.1/oRTP/configure.ac --- linphone-3.2.1.orig/oRTP/configure.ac 2009-09-07 15:55:21.000000000 +0200 +++ linphone-3.2.1/oRTP/configure.ac 2009-12-19 18:53:36.000000000 +0100 @@ -250,7 +250,7 @@ fi if test $GCC = yes && test $wall_werror = yes; then - CFLAGS="$CFLAGS -Werror " + CFLAGS="$CFLAGS " fi AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h)