diff options
author | shannonjr <shannonjr> | 2004-11-18 10:20:00 +0000 |
---|---|---|
committer | shannonjr <shannonjr> | 2004-11-18 10:20:00 +0000 |
commit | 78f48e19cd493450d0a5116acbef8b0e2c3e5a39 (patch) | |
tree | 9f2fddaa9313ead6e5471bb9a8ae69bf34ab00f4 /converters/wv2/patches | |
parent | 65e0f5dbaa7e887b11606007ccb560b0fcb87bee (diff) | |
download | pkgsrc-78f48e19cd493450d0a5116acbef8b0e2c3e5a39.tar.gz |
- Updated to 0.2.2. This release fixed compilation with gcc 3.4
- Added patch removing -pedantic and -ansi from CFLAGS and CXXFLAGS
because, if these flags are set, use of type long long is treated
as an error (long long is used).
Diffstat (limited to 'converters/wv2/patches')
-rw-r--r-- | converters/wv2/patches/patch-aa | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/converters/wv2/patches/patch-aa b/converters/wv2/patches/patch-aa new file mode 100644 index 00000000000..18830e30daf --- /dev/null +++ b/converters/wv2/patches/patch-aa @@ -0,0 +1,33 @@ +$NetBSD: patch-aa,v 1.1 2004/11/18 10:20:00 shannonjr Exp $ + +--- configure.orig 2004-05-09 14:23:32.000000000 -0600 ++++ configure +@@ -3120,7 +3120,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test "$GXX" = "yes" || test "$CXX" = "KCC"; then + if test "$kde_use_debug_code" != "no"; then + if test "$CXX" = "KCC"; then +- CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" ++ CXXFLAGS="+K0 -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" + else + if test "$kde_use_debug_code" = "full"; then + CXXFLAGS="-g3 $CXXFLAGS" +@@ -3453,8 +3453,8 @@ fi + if test "$GCC" = "yes"; then + case $host in + *-*-linux-gnu) +- CFLAGS="-ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" +- CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS" ++ CFLAGS="-W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" ++ CXXFLAGS="-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS" + + echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5 + echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6 +@@ -3532,7 +3532,7 @@ fi + + ;; + esac +- CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" ++ CXXFLAGS="-Wall -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + + echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5 + echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6 |