summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-09-11 19:54:40 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-09-11 19:54:40 +0000
commitd480d18bd6693e19af1b5fe81a7760722c209f09 (patch)
tree1a7d5d623efaf0ffb5493800fe53652296e93fae /net-libs/libpcap
parentremoved all archs other than x86, amd64 and ppc for the time being. needs tes... (diff)
downloadhistorical-d480d18bd6693e19af1b5fe81a7760722c209f09.tar.gz
historical-d480d18bd6693e19af1b5fe81a7760722c209f09.tar.bz2
historical-d480d18bd6693e19af1b5fe81a7760722c209f09.zip
remove whitespace in pcap.h
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-libs/libpcap')
-rw-r--r--net-libs/libpcap/ChangeLog7
-rw-r--r--net-libs/libpcap/Manifest17
-rw-r--r--net-libs/libpcap/files/libpcap-0.9.3-whitespace.diff22
-rw-r--r--net-libs/libpcap/libpcap-0.9.3.ebuild6
4 files changed, 35 insertions, 17 deletions
diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog
index 6c38f08a7bfb..ee3853b824b7 100644
--- a/net-libs/libpcap/ChangeLog
+++ b/net-libs/libpcap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libpcap
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.38 2005/08/04 09:39:05 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.39 2005/09/11 19:54:40 vanquirius Exp $
+
+ 11 Sep 2005; Marcelo Goes <vanquirius@gentoo.org>
+ +files/libpcap-0.9.3-whitespace.diff, libpcap-0.9.3.ebuild:
+ Adding patch to remove whitespace in pcap.h to avoid non-portable whitespace
+ warnings in programs that include it.
04 Aug 2005; Daniel Black <dragonheart@gentoo.org>
libpcap-0.8.3-r1.ebuild, libpcap-0.9.3.ebuild:
diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest
index b8cc58b7beed..023eb213e286 100644
--- a/net-libs/libpcap/Manifest
+++ b/net-libs/libpcap/Manifest
@@ -1,17 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 911b3af2912bc85ebdc8568cc84d0cfc ChangeLog 5557
MD5 2f0cfe611a39b442ed7e9f3427f3c2c8 libpcap-0.8.3-r1.ebuild 1477
+MD5 ffef433534867f1c013c27f7379d6814 libpcap-0.9.3.ebuild 1524
+MD5 d94c7d1b50e991a8169f6d5fbcb6c6c9 ChangeLog 5790
MD5 50057505c6cef15415ae8f8ca7378d82 metadata.xml 261
-MD5 29dd1bcab1b5dbcd885c27f3a976da7c libpcap-0.9.3.ebuild 1484
MD5 aa690ff148a4b4bbb5a59276fbb583a8 files/digest-libpcap-0.8.3-r1 65
-MD5 29710cca211a266690d649eff1ffe287 files/libpcap-0.8.1-fPIC.patch 298
+MD5 daf575fe650740e0e4013da7b86f2b50 files/libpcap-0.9.3-whitespace.diff 679
MD5 be632c8eb1c0f14e48313ceb1bc3917d files/digest-libpcap-0.9.3 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC8eJOmdTrptrqvGERAiHSAJ9Tii3iB6A3M/9GV0oWjrbFExdT5ACdGk/b
-oKCtqYg1sNb9gZiPHZ8JMkw=
-=TDgy
------END PGP SIGNATURE-----
+MD5 29710cca211a266690d649eff1ffe287 files/libpcap-0.8.1-fPIC.patch 298
diff --git a/net-libs/libpcap/files/libpcap-0.9.3-whitespace.diff b/net-libs/libpcap/files/libpcap-0.9.3-whitespace.diff
new file mode 100644
index 000000000000..4c22d08c7df0
--- /dev/null
+++ b/net-libs/libpcap/files/libpcap-0.9.3-whitespace.diff
@@ -0,0 +1,22 @@
+diff --exclude='*~' -Naur libpcap-0.9.3.orig/pcap.h libpcap-0.9.3/pcap.h
+--- libpcap-0.9.3.orig/pcap.h 2005-09-11 16:43:56.000000000 -0300
++++ libpcap-0.9.3/pcap.h 2005-09-11 16:45:06.000000000 -0300
+@@ -38,13 +38,13 @@
+ #define lib_pcap_h
+
+ #if defined(WIN32)
+- #include <pcap-stdinc.h>
++#include <pcap-stdinc.h>
+ #elif defined(MSDOS)
+- #include <sys/types.h>
+- #include <sys/socket.h> /* u_int, u_char etc. */
++#include <sys/types.h>
++#include <sys/socket.h> /* u_int, u_char etc. */
+ #else /* UN*X */
+- #include <sys/types.h>
+- #include <sys/time.h>
++#include <sys/types.h>
++#include <sys/time.h>
+ #endif /* WIN32/MSDOS/UN*X */
+
+ #ifndef PCAP_DONT_INCLUDE_PCAP_BPF_H
diff --git a/net-libs/libpcap/libpcap-0.9.3.ebuild b/net-libs/libpcap/libpcap-0.9.3.ebuild
index cf139d927efe..e1ad5b4bafdb 100644
--- a/net-libs/libpcap/libpcap-0.9.3.ebuild
+++ b/net-libs/libpcap/libpcap-0.9.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.3.ebuild,v 1.2 2005/08/04 09:39:05 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.3.ebuild,v 1.3 2005/09/11 19:54:40 vanquirius Exp $
inherit eutils multilib toolchain-funcs
@@ -20,8 +20,8 @@ DEPEND="virtual/libc
PROVIDE="virtual/libpcap"
src_unpack() {
- unpack ${A}
- cd ${S}
+ unpack ${A}; cd ${S}
+ epatch ${FILESDIR}/${P}-whitespace.diff
epatch ${FILESDIR}/${PN}-0.8.1-fPIC.patch
}