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 | fbd2fd449f0580963e379b6fb5611dc6196f2bff (patch) | |
tree | 27fc05ed66cfb8cb140230eb5145492feec49c10 /lang/gcc3/patches | |
parent | 64d919eb8451a11f46cb3474f5dc332d62b4f80d (diff) | |
download | pkgsrc-fbd2fd449f0580963e379b6fb5611dc6196f2bff.tar.gz |
Properly fixed the problem of an uninitialized variable, which has been
reported in PR 33240.
Diffstat (limited to 'lang/gcc3/patches')
-rw-r--r-- | lang/gcc3/patches/patch-as | 16 |
1 files changed, 16 insertions, 0 deletions
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 |