- add SIOCGSTAMP.patch for recent changes in socket.h/socketios.h
OBS-URL: https://build.opensuse.org/package/show/network:utilities/scamper?expand=0&rev=17
This commit is contained in:
parent
ff3c4b5fb9
commit
4a4ff38929
15
SIOCGSTAMP.patch
Normal file
15
SIOCGSTAMP.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Index: internal.h
|
||||
===================================================================
|
||||
RCS file: /home/mjl/cvsroot/scamper/internal.h,v
|
||||
retrieving revision 1.42
|
||||
diff -u -p -r1.42 internal.h
|
||||
--- internal.h 17 Sep 2016 01:38:13 -0000 1.42
|
||||
+++ internal.h 19 Aug 2019 23:44:05 -0000
|
||||
@@ -173,6 +173,7 @@ typedef unsigned short sa_family_t;
|
||||
#include <linux/types.h>
|
||||
#include <linux/filter.h>
|
||||
#include <linux/netfilter_ipv4/ip_tables.h>
|
||||
+#include <linux/sockios.h>
|
||||
#include <limits.h>
|
||||
#ifndef SOL_PACKET
|
||||
#define SOL_PACKET 263
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 20 19:34:08 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- add SIOCGSTAMP.patch for recent changes in socket.h/socketios.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 22 22:04:19 UTC 2018 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package scamper
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -25,6 +25,7 @@ License: GPL-2.0-only
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Url: https://www.caida.org/tools/measurement/scamper/
|
||||
Source: https://www.caida.org/tools/measurement/%{name}/code/%{name}-cvs-%{version}.tar.gz
|
||||
Patch0: SIOCGSTAMP.patch
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
@ -73,6 +74,7 @@ libscamperfile library.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-cvs-%{version}
|
||||
%patch0 -p0
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
|
Loading…
x
Reference in New Issue
Block a user