diff --git a/tcpdump-4.0.0-uninitialized.patch b/tcpdump-4.0.0-uninitialized.patch deleted file mode 100644 index 9093dfe..0000000 --- a/tcpdump-4.0.0-uninitialized.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- print-zephyr.c -+++ print-zephyr.c -@@ -134,7 +134,7 @@ - void - zephyr_print(const u_char *cp, int length) - { -- struct z_packet z; -+ struct z_packet z = {}; - char *parse = (char *) cp; - int parselen = length; - char *s; diff --git a/tcpdump.changes b/tcpdump.changes index d011c49..c3e4a78 100644 --- a/tcpdump.changes +++ b/tcpdump.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 15 15:37:15 CEST 2012 - jslaby@suse.de + +- remove tcpdump-4.0.0-uninitialized.patch, it's solved differently + ------------------------------------------------------------------- Thu Jun 14 23:48:25 CEST 2012 - jslaby@suse.de diff --git a/tcpdump.spec b/tcpdump.spec index 312eaf0..427bd7f 100644 --- a/tcpdump.spec +++ b/tcpdump.spec @@ -27,7 +27,6 @@ Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz Source1: tcpdump-qeth Patch0: tcpdump-4.0.0-prototypes.patch Patch2: tcpdump-4.0.0-aliasing.patch -Patch3: tcpdump-4.0.0-uninitialized.patch BuildRequires: libpcap-devel BuildRequires: libsmi-devel BuildRequires: openssl-devel @@ -42,7 +41,6 @@ ethernet. It can be used to debug specific network problems. %setup -q %patch0 %patch2 -%patch3 %build export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"