diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-11-11 22:58:01 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-11-11 22:58:01 +0000 |
commit | 1c525aed4cca62dc099dac21c7820f1636adc310 (patch) | |
tree | 9ecf584eee2e7f87211d6a8518061b5901e92176 /net/ngrep/files/patch5-configure | |
parent | . Look in ${LOCALBASE}/jdk1.4.2 for the JDK 1.4 plugin. (diff) |
Unbreak build on -stable while keep it buildable on -current.
Noticed by: quite a lot of people.
Notes
Notes:
svn path=/head/; revision=93758
Diffstat (limited to 'net/ngrep/files/patch5-configure')
-rw-r--r-- | net/ngrep/files/patch5-configure | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net/ngrep/files/patch5-configure b/net/ngrep/files/patch5-configure new file mode 100644 index 000000000000..7e1d18edb8ec --- /dev/null +++ b/net/ngrep/files/patch5-configure @@ -0,0 +1,37 @@ +--- configure.orig Sat Nov 8 15:49:02 2003 ++++ configure Sat Nov 8 15:49:54 2003 +@@ -1978,9 +1978,9 @@ + + else + echo "$ac_t""no" 1>&6 +-echo $ac_n "checking for pcap_yyrestart in -lpcap""... $ac_c" 1>&6 +-echo "configure:1983: checking for pcap_yyrestart in -lpcap" >&5 +-ac_lib_var=`echo pcap'_'pcap_yyrestart | sed 'y%./+-%__p_%'` ++echo $ac_n "checking for pcapyyrestart in -lpcap""... $ac_c" 1>&6 ++echo "configure:1983: checking for pcapyyrestart in -lpcap" >&5 ++ac_lib_var=`echo pcap'_'pcapyyrestart | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1992,10 +1992,10 @@ + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char pcap_yyrestart(); ++char pcapyyrestart(); + + int main() { +-pcap_yyrestart() ++pcapyyrestart() + ; return 0; } + EOF + if { (eval echo configure:2002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +@@ -2014,7 +2014,7 @@ + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + cat >> confdefs.h <<\EOF +-#define PCAP_RESTART pcap_yyrestart ++#define PCAP_RESTART pcapyyrestart + EOF + + else |