From 0e8c178e83d654166a677dc723299382ebf3ad7b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 27 Apr 2009 01:20:15 +0200 Subject: [PATCH] libICE: add a patch for non portable shell assignment in configure script. --HG-- extra : convert_revision : 51b13f3841993a798e3e5d8415be71863db683fd --- templates/libICE/configure_sh_assignment_broken.diff | 11 +++++++++++ templates/libICE/template | 1 + 2 files changed, 12 insertions(+) create mode 100644 templates/libICE/configure_sh_assignment_broken.diff 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"