packages: libpcap/libpcap.spec, libpcap/ac.patch (NEW) - added ac.patch

sls sls at pld-linux.org
Thu Oct 29 18:35:14 CET 2009


Author: sls                          Date: Thu Oct 29 17:35:14 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added ac.patch

---- Files affected:
packages/libpcap:
   libpcap.spec (1.83 -> 1.84) , ac.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libpcap/libpcap.spec
diff -u packages/libpcap/libpcap.spec:1.83 packages/libpcap/libpcap.spec:1.84
--- packages/libpcap/libpcap.spec:1.83	Fri Aug 28 23:16:32 2009
+++ packages/libpcap/libpcap.spec	Thu Oct 29 18:35:08 2009
@@ -23,6 +23,7 @@
 Patch2:		%{name}-any_device.patch
 Patch3:		%{name}-pcap-config.patch
 Patch4:		%{name}-m4.patch
+Patch5:		ac.patch
 URL:		http://www.tcpdump.org/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -161,9 +162,11 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
+%{__libtoolize}
 %{__autoconf}
 %configure \
 	--with-pcap=linux \
@@ -215,6 +218,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.84  2009/10/29 17:35:08  sls
+- added ac.patch
+
 Revision 1.83  2009/08/28 21:16:32  arekm
 - rel 5; drop local pcap check from m4 macro
 

================================================================
Index: packages/libpcap/ac.patch
diff -u /dev/null packages/libpcap/ac.patch:1.1
--- /dev/null	Thu Oct 29 18:35:14 2009
+++ packages/libpcap/ac.patch	Thu Oct 29 18:35:08 2009
@@ -0,0 +1,12 @@
+fix for issue "`AC_PROG_CC' was expanded before it was required" (and 
+broken ./configure)
+--- libpcap-1.0.0/configure.in.orig	2009-10-29 18:27:44.017917661 +0100
++++ libpcap-1.0.0/configure.in	2009-10-29 18:28:17.515615440 +0100
+@@ -12,6 +12,7 @@
+ 
+ AC_CANONICAL_SYSTEM
+ 
++AC_PROG_CC
+ AC_LBL_C_INIT(V_CCOPT, V_INCLS, V_LIBS)
+ AC_LBL_C_INLINE
+ AC_C___ATTRIBUTE__
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libpcap/libpcap.spec?r1=1.83&r2=1.84&f=u



More information about the pld-cvs-commit mailing list