summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-05-25 12:07:48 +0200
committerJeroen Roovers <jer@gentoo.org>2017-05-25 12:07:48 +0200
commitab53ab4aae8804e6dd6300b7cb813a41b7119c9b (patch)
tree7b06423e9a1c9001388a625800416d8f5b4ceb0e /net-libs/libpcap/files
parentkde-frameworks/kcoreaddons: Don't run tests in parallel (diff)
downloadgentoo-ab53ab4aae8804e6dd6300b7cb813a41b7119c9b.tar.gz
gentoo-ab53ab4aae8804e6dd6300b7cb813a41b7119c9b.tar.bz2
gentoo-ab53ab4aae8804e6dd6300b7cb813a41b7119c9b.zip
net-libs/libpcap: Update live ebuild.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-libs/libpcap/files')
-rw-r--r--net-libs/libpcap/files/libpcap-1.6.1-prefix-solaris.patch1
-rw-r--r--net-libs/libpcap/files/libpcap-9999-cross-linux.patch (renamed from net-libs/libpcap/files/libpcap-1.2.0-cross-linux.patch)6
-rw-r--r--net-libs/libpcap/files/libpcap-9999-libnl.patch (renamed from net-libs/libpcap/files/libpcap-1.7.2-libnl.patch)8
-rw-r--r--net-libs/libpcap/files/libpcap-9999-prefix-darwin.patch (renamed from net-libs/libpcap/files/libpcap-1.6.1-configure.patch)7
-rw-r--r--net-libs/libpcap/files/mgmt.h33
5 files changed, 10 insertions, 45 deletions
diff --git a/net-libs/libpcap/files/libpcap-1.6.1-prefix-solaris.patch b/net-libs/libpcap/files/libpcap-1.6.1-prefix-solaris.patch
index 7b5efb618230..324aead551ae 100644
--- a/net-libs/libpcap/files/libpcap-1.6.1-prefix-solaris.patch
+++ b/net-libs/libpcap/files/libpcap-1.6.1-prefix-solaris.patch
@@ -1,6 +1,5 @@
Prefix' Solaris uses GNU ld
-
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -415,7 +415,7 @@
diff --git a/net-libs/libpcap/files/libpcap-1.2.0-cross-linux.patch b/net-libs/libpcap/files/libpcap-9999-cross-linux.patch
index fa3b300d8f4d..f01a9ca5c935 100644
--- a/net-libs/libpcap/files/libpcap-1.2.0-cross-linux.patch
+++ b/net-libs/libpcap/files/libpcap-9999-cross-linux.patch
@@ -1,6 +1,6 @@
---- a/configure.in
-+++ b/configure.in
-@@ -291,7 +291,12 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -317,7 +317,12 @@
dnl XXX This could be done for cross-compiling, but for now it's not.
dnl
if test -z "$with_pcap" && test "$cross_compiling" = yes; then
diff --git a/net-libs/libpcap/files/libpcap-1.7.2-libnl.patch b/net-libs/libpcap/files/libpcap-9999-libnl.patch
index 685453958762..f243906ebad2 100644
--- a/net-libs/libpcap/files/libpcap-1.7.2-libnl.patch
+++ b/net-libs/libpcap/files/libpcap-9999-libnl.patch
@@ -1,6 +1,6 @@
---- a/configure.in
-+++ b/configure.in
-@@ -453,10 +453,6 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -492,10 +492,6 @@
incdir=-I/usr/include/libnl3
libnldir=
@@ -11,7 +11,7 @@
#
# Try libnl 3.x first.
-@@ -471,7 +467,7 @@
+@@ -510,7 +506,7 @@
AC_DEFINE(HAVE_LIBNL_3_x,1,[if libnl exists and is version 3.x])
AC_DEFINE(HAVE_LIBNL_NLE,1,[libnl has NLE_FAILURE])
AC_DEFINE(HAVE_LIBNL_SOCKETS,1,[libnl has new-style socket api])
diff --git a/net-libs/libpcap/files/libpcap-1.6.1-configure.patch b/net-libs/libpcap/files/libpcap-9999-prefix-darwin.patch
index 538e49d51d1f..9bcbfe92ee0a 100644
--- a/net-libs/libpcap/files/libpcap-1.6.1-configure.patch
+++ b/net-libs/libpcap/files/libpcap-9999-prefix-darwin.patch
@@ -1,10 +1,9 @@
Prefix' Darwin systems are single arch, hijack Darwin7 case which assumes this setup
Check for bluetooth/mgmt.h before use
-
---- a/configure.in
-+++ b/configure.in
-@@ -1117,7 +1117,7 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1271,7 +1267,7 @@
if test "$enable_universal" != "no"; then
case "$host_os" in
diff --git a/net-libs/libpcap/files/mgmt.h b/net-libs/libpcap/files/mgmt.h
deleted file mode 100644
index d7fc9c8956aa..000000000000
--- a/net-libs/libpcap/files/mgmt.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * BlueZ - Bluetooth protocol stack for Linux
- *
- * Copyright (C) 2010 Nokia Corporation
- * Copyright (C) 2010 Marcel Holtmann <marcel@holtmann.org>
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#ifndef __packed
-#define __packed __attribute__((packed))
-#endif
-
-struct mgmt_hdr {
- uint16_t opcode;
- uint16_t index;
- uint16_t len;
-} __packed;
-#define MGMT_HDR_SIZE 6