diff --git a/templates/libICE/configure_sh_assignment_broken.diff b/templates/libICE/configure_sh_assignment_broken.diff new file mode 100644 index 00000000000..94e6025c4d9 --- /dev/null +++ b/templates/libICE/configure_sh_assignment_broken.diff @@ -0,0 +1,11 @@ +--- configure.orig 2009-04-27 01:18:10.646681315 +0200 ++++ configure 2009-04-27 01:18:32.185763370 +0200 +@@ -22132,7 +22132,7 @@ if test "x$GCC" = xyes ; then + -Wbad-function-cast" + case `gcc -dumpversion` in + 3.4.* | 4.*) +- CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement" ++ CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" + ;; + esac + else diff --git a/templates/libICE/template b/templates/libICE/template index ef6a7e711ef..0d7e80a3a42 100644 --- a/templates/libICE/template +++ b/templates/libICE/template @@ -2,6 +2,7 @@ pkgname=libICE sourcepkg=$pkgname version=1.0.5 +patch_files="configure_sh_assignment_broken.diff" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" build_style=gnu_configure short_desc="Inter Client Exchange (ICE) library for X"