rpms/tcpdump/devel tcpdump-3.9.8-nosmi.patch, NONE, 1.1 tcpdump.spec, 1.70, 1.71

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Mon Jun 2 12:25:30 UTC 2008


Author: mlichvar

Update of /cvs/pkgs/rpms/tcpdump/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28844

Modified Files:
	tcpdump.spec 
Added Files:
	tcpdump-3.9.8-nosmi.patch 
Log Message:
- disable libsmi check in configure


tcpdump-3.9.8-nosmi.patch:

--- NEW FILE tcpdump-3.9.8-nosmi.patch ---
diff -up tcpdump-3.9.8/configure.nosmi tcpdump-3.9.8/configure
--- tcpdump-3.9.8/configure.nosmi	2008-06-02 14:07:38.000000000 +0200
+++ tcpdump-3.9.8/configure	2008-06-02 14:19:10.000000000 +0200
@@ -4422,7 +4422,7 @@ if test "${ac_cv_lib_smi_smiInit+set}" =
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsmi  $LIBS"
+LIBS=" $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -4482,7 +4482,7 @@ if test $ac_cv_lib_smi_smiInit = yes; th
 #define HAVE_LIBSMI 1
 _ACEOF
 
-  LIBS="-lsmi $LIBS"
+  LIBS=" $LIBS"
 
 fi
 


Index: tcpdump.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcpdump/devel/tcpdump.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- tcpdump.spec	2 Jun 2008 12:09:22 -0000	1.70
+++ tcpdump.spec	2 Jun 2008 12:24:43 -0000	1.71
@@ -20,6 +20,7 @@
 Patch5: tcpslice-1.2a3-time.patch
 Patch6: tcpslice-CVS.20010207-bpf.patch
 Patch7: tcpdump-3.9.8-gethostby.patch
+Patch8: tcpdump-3.9.8-nosmi.patch
 
 %define tcpslice_dir tcpslice-1.2a3
 
@@ -39,6 +40,7 @@
 %patch3 -p1 -b .crypto
 %patch4 -p1 -b .ikev2
 %patch7 -p1 -b .gethostby
+%patch8 -p1 -b .nosmi
 
 pushd %{tcpslice_dir}
 %patch5 -p1 -b .time
@@ -99,6 +101,7 @@
 * Mon Jun 02 2008 Miroslav Lichvar <mlichvar at redhat.com> - 14:3.9.8-5
 - update config.{guess,sub} when building tcpslice
 - remove -D_GNU_SOURCE from CFLAGS
+- disable libsmi check in configure
 
 * Wed Feb 13 2008 Miroslav Lichvar <mlichvar at redhat.com> - 14:3.9.8-4
 - fix building with new glibc headers




More information about the fedora-extras-commits mailing list