pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/szip Fix build with gcc46.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d6f5b5f376b5
branches: trunk
changeset: 597885:d6f5b5f376b5
user: hans <hans%pkgsrc.org@localhost>
date: Wed Jan 11 14:20:20 2012 +0000
description:
Fix build with gcc46.
diffstat:
archivers/szip/distinfo | 3 ++-
archivers/szip/patches/patch-config_gnu-flags | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r cbce71d7de29 -r d6f5b5f376b5 archivers/szip/distinfo
--- a/archivers/szip/distinfo Wed Jan 11 14:10:11 2012 +0000
+++ b/archivers/szip/distinfo Wed Jan 11 14:20:20 2012 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2011/11/20 00:57:38 marino Exp $
+$NetBSD: distinfo,v 1.10 2012/01/11 14:20:20 hans Exp $
SHA1 (szip-2.1nb3/szip-2.1.tar.gz) = d241c9acc26426a831765d660b683b853b83c131
RMD160 (szip-2.1nb3/szip-2.1.tar.gz) = 058d85cbbc9893bdda64e4c4ee967a773ae85e3a
Size (szip-2.1nb3/szip-2.1.tar.gz) = 383968 bytes
SHA1 (patch-aa) = 5ce7e2507ca8731fe06145c1334f031ee24277dc
+SHA1 (patch-config_gnu-flags) = 07058864b2ad18b10b250d5462d9c7b5cc187491
diff -r cbce71d7de29 -r d6f5b5f376b5 archivers/szip/patches/patch-config_gnu-flags
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/szip/patches/patch-config_gnu-flags Wed Jan 11 14:20:20 2012 +0000
@@ -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'`"
+
Home |
Main Index |
Thread Index |
Old Index