summaryrefslogtreecommitdiff
path: root/textproc/source-highlight/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/source-highlight/patches/patch-ad')
-rw-r--r--textproc/source-highlight/patches/patch-ad15
1 files changed, 12 insertions, 3 deletions
diff --git a/textproc/source-highlight/patches/patch-ad b/textproc/source-highlight/patches/patch-ad
index 18d8070e3a3..6c559634d72 100644
--- a/textproc/source-highlight/patches/patch-ad
+++ b/textproc/source-highlight/patches/patch-ad
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.6 2006/02/07 16:30:44 joerg Exp $
+$NetBSD: patch-ad,v 1.7 2006/10/02 23:41:01 rillig Exp $
---- configure.orig 2005-08-25 14:11:30.000000000 +0000
-+++ configure
+--- configure.orig 2005-08-25 16:11:30.000000000 +0200
++++ configure 2006-10-03 01:34:07.000000000 +0200
@@ -309,7 +309,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
@@ -91,6 +91,15 @@ $NetBSD: patch-ad,v 1.6 2006/02/07 16:30:44 joerg Exp $
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
+@@ -2893,7 +2901,7 @@ cat <<EOF >conftest.c
+ int conftest(void){return 0;}
+ EOF
+ ${CXX} -xar -o conftest.a conftest.c >/dev/null 2>&1
+-if test $? == 0; then
++if test $? = 0; then
+ ar_to_use="\$(CXX) -xar -o"
+ else
+ ar_to_use="\$(AR) cru"
@@ -2978,7 +2986,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5