diff options
author | hans <hans> | 2012-01-11 14:20:20 +0000 |
---|---|---|
committer | hans <hans> | 2012-01-11 14:20:20 +0000 |
commit | d239aa533935c9776a48430677889765530548a0 (patch) | |
tree | fabcaba95bff6c49621f8ecba51b757a8b961012 /archivers/szip/patches | |
parent | d3b7b2293757cfb299967f3824ef0245f8b9c369 (diff) | |
download | pkgsrc-d239aa533935c9776a48430677889765530548a0.tar.gz |
Fix build with gcc46.
Diffstat (limited to 'archivers/szip/patches')
-rw-r--r-- | archivers/szip/patches/patch-config_gnu-flags | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/szip/patches/patch-config_gnu-flags b/archivers/szip/patches/patch-config_gnu-flags new file mode 100644 index 00000000000..db3efe875dd --- /dev/null +++ b/archivers/szip/patches/patch-config_gnu-flags @@ -0,0 +1,13 @@ +$NetBSD: patch-config_gnu-flags,v 1.1 2012/01/11 14:20:21 hans Exp $ + +--- config/gnu-flags.orig 2005-03-04 22:37:52.000000000 +0100 ++++ config/gnu-flags 2011-12-28 13:09:28.722283206 +0100 +@@ -168,7 +168,7 @@ esac + # Please follow the pattern below by adding new versions at the top, copying + # the information from the previous version and adding modifications to that. + case "$cc_vendor-$cc_version" in +- gcc-3.3*) ++ gcc-3.3*|gcc-3.4*|gcc-4.*) + # Replace -ansi flag with -std=c99 flag + CFLAGS="`echo $CFLAGS | sed -e 's/-ansi/-std=c99/g'`" + |