Accepting request 134102 from network:utilities

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/134102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpdump?expand=0&rev=20
This commit is contained in:
Ismail Dönmez 2012-09-14 10:39:40 +00:00 committed by Git OBS Bridge
commit 77fc17fc41
3 changed files with 5 additions and 13 deletions

View File

@ -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;

View File

@ -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 Thu Jun 14 23:48:25 CEST 2012 - jslaby@suse.de

View File

@ -27,7 +27,6 @@ Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
Source1: tcpdump-qeth Source1: tcpdump-qeth
Patch0: tcpdump-4.0.0-prototypes.patch Patch0: tcpdump-4.0.0-prototypes.patch
Patch2: tcpdump-4.0.0-aliasing.patch Patch2: tcpdump-4.0.0-aliasing.patch
Patch3: tcpdump-4.0.0-uninitialized.patch
BuildRequires: libpcap-devel BuildRequires: libpcap-devel
BuildRequires: libsmi-devel BuildRequires: libsmi-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
@ -42,7 +41,6 @@ ethernet. It can be used to debug specific network problems.
%setup -q %setup -q
%patch0 %patch0
%patch2 %patch2
%patch3
%build %build
export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing" export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"