void-packages/templates/libICE/configure_sh_assignment_broken.diff
Juan RP 0e8c178e83 libICE: add a patch for non portable shell assignment in configure script.
--HG--
extra : convert_revision : 51b13f3841993a798e3e5d8415be71863db683fd
2009-04-27 01:20:15 +02:00

11 lines
403 B
Diff

--- 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