summaryrefslogtreecommitdiff
path: root/net/trafshow
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-06 03:58:58 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-06 03:58:58 +0000
commit61e845b585958c7db81351634b9f71d812c954e0 (patch)
tree117b3f082d975c1c40286d6a865d96c0fb7652cf /net/trafshow
parento Fix bug: do not incorrectly use shift from sh(1). First command (diff)
Add patch to fix configure script detecting gcc version
PR: 33592 Submitted by: maintainer, Eugene Grosbein <eugen@grosbein.pp.ru>
Notes
Notes: svn path=/head/; revision=52639
Diffstat (limited to 'net/trafshow')
-rw-r--r--net/trafshow/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/trafshow/files/patch-configure b/net/trafshow/files/patch-configure
new file mode 100644
index 000000000000..8510310f4a13
--- /dev/null
+++ b/net/trafshow/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sat Jan 5 17:07:53 2002
++++ configure Sat Jan 5 17:07:53 2002
+@@ -874,7 +874,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \
+- sed -n -e '$s/.* //' -e '$s/\..*//p'`
++ sed -n -e '$s/^.*version //' -e '$s/\..*//p'`
+ fi
+
+ echo "$ac_t""$ac_cv_lbl_gcc_vers" 1>&6