diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-03 17:16:37 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-03 17:16:37 +0000 |
commit | ed6f59cae237b48e0a4e2900f5aee9d7e9977a48 (patch) | |
tree | 27fc05ed66cfb8cb140230eb5145492feec49c10 /lang/gcc3 | |
parent | e657b7b1d66f194ab3cb9933c921fcb0804abecc (diff) | |
download | pkgsrc-ed6f59cae237b48e0a4e2900f5aee9d7e9977a48.tar.gz |
Properly fixed the problem of an uninitialized variable, which has been
reported in PR 33240.
Diffstat (limited to 'lang/gcc3')
-rw-r--r-- | lang/gcc3/distinfo | 3 | ||||
-rw-r--r-- | lang/gcc3/patches/patch-as | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/gcc3/distinfo b/lang/gcc3/distinfo index 78738a5daa9..f97fe82016d 100644 --- a/lang/gcc3/distinfo +++ b/lang/gcc3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.23 2006/12/07 11:24:27 markd Exp $ +$NetBSD: distinfo,v 1.24 2007/11/03 17:16:37 rillig Exp $ SHA1 (gcc-3.3.6.tar.bz2) = 2cc43978bb09af6c2ccfdf74797d10d7cc2596fb RMD160 (gcc-3.3.6.tar.bz2) = b32c7a08c690857f0ac52dda3deb47cf5775d967 @@ -20,3 +20,4 @@ SHA1 (patch-an) = c0795339102b4608a3813c3a2d488c71ea972d6f SHA1 (patch-ap) = d2f55ff6992f6afb106b3c861a8eee0a5b7bd70e SHA1 (patch-aq) = 1ee8d951e464a154c4f2a3f48d4c2101c2f3d79d SHA1 (patch-ar) = 1ed0338bde1e863ddcfbc0bdfb77aeafdbef7220 +SHA1 (patch-as) = 35e1649aed1744be5cdd7caa0b246e74dd9df0aa diff --git a/lang/gcc3/patches/patch-as b/lang/gcc3/patches/patch-as new file mode 100644 index 00000000000..450d76df4b7 --- /dev/null +++ b/lang/gcc3/patches/patch-as @@ -0,0 +1,16 @@ +$NetBSD: patch-as,v 1.1 2007/11/03 17:16:37 rillig Exp $ + +At the point of this code, AC_CHECK_HEADERS(locale.h) has not yet been +called, so assume that the header exists. + +--- libjava/configure.orig 2005-05-03 14:37:08.000000000 +0200 ++++ libjava/configure 2007-11-03 18:03:59.000000000 +0100 +@@ -4191,7 +4191,7 @@ EOF + fi + + +- if test $ac_cv_header_locale_h = yes; then ++ if test "${ac_cv_header_locale_h-yes}" != no; then + echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 + echo "configure:4197: checking for LC_MESSAGES" >&5 + if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then |