packages: wireshark/wireshark-ac.patch (NEW) - new; fix pcap-config call

adamg adamg at pld-linux.org
Tue Jun 23 22:49:55 CEST 2009


Author: adamg                        Date: Tue Jun 23 20:49:55 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new; fix pcap-config call

---- Files affected:
packages/wireshark:
   wireshark-ac.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/wireshark/wireshark-ac.patch
diff -u /dev/null packages/wireshark/wireshark-ac.patch:1.1
--- /dev/null	Tue Jun 23 22:49:55 2009
+++ packages/wireshark/wireshark-ac.patch	Tue Jun 23 22:49:49 2009
@@ -0,0 +1,23 @@
+--- wireshark-1.2.0/acinclude.m4~	2009-06-23 22:22:38.015762748 +0200
++++ wireshark-1.2.0/acinclude.m4	2009-06-23 22:25:13.444887681 +0200
+@@ -302,7 +302,7 @@
+ 	  #
+ 	  AC_MSG_CHECKING(for broken pcap-config)
+ 	  if test -n "$PCAP_CONFIG" ; then
+-	    case "`\"$PCAP_CONFIG\" --libs`" in
++	    case "`$PCAP_CONFIG --libs`" in
+ 
+ 	    "-L "*)
+ 	      #
+@@ -397,9 +397,9 @@
+ 	  # libraries libpcap needs.
+ 	  #
+ 	  if test x$enable_static = xyes; then
+-	    PCAP_LIBS="`\"$PCAP_CONFIG\" --libs --static`"
++	    PCAP_LIBS="`$PCAP_CONFIG --libs --static`"
+ 	  else
+-	    PCAP_LIBS="`\"$PCAP_CONFIG\" --libs`"
++	    PCAP_LIBS="`$PCAP_CONFIG --libs`"
+ 	  fi
+ 	  AC_DEFINE(HAVE_LIBPCAP, 1, [Define to use libpcap library])
+ 	else
================================================================


More information about the pld-cvs-commit mailing list