]> git.pld-linux.org Git - packages/libpcap.git/commitdiff
- make sanitized pcap-int.h available to other packages (e.g. kismet) auto/ac/libpcap-0_8_1-2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 16 Jan 2004 13:07:49 +0000 (13:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    libpcap.spec -> 1.57

libpcap.spec

index fcfacd82ccbacbccc6eec3123a3768352a3913df..b97b26f6d2f91e199a84e9ced4e90c49b1c45efe 100644 (file)
@@ -6,7 +6,7 @@ Summary(ru):    
 Summary(uk):   îÁÄÁ¤ ÄÏÓÔÕРÄÏ ÍÅÒÅÖÅ×ÉÈ ¦ÎÔÅÒÆÅÊӦננpromiscuous-ÒÅÖÉͦ
 Name:          libpcap
 Version:       0.8.1
-Release:       1
+Release:       2
 Epoch:         2
 License:       BSD
 Group:         Libraries
@@ -164,6 +164,10 @@ fi
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# some packages want it... but sanitize somehow
+# (don't depend on HAVE_{STRLCPY,SNPRINTF,VSNPRINTF} defines)
+sed -e '233,239d;242,251d' pcap-int.h > $RPM_BUILD_ROOT%{_includedir}/pcap-int.h
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.344401 seconds and 4 git commands to generate.