summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-11 19:46:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-11 19:46:34 +0000
commit6a4c501752c1015daee9bf3e994113bd438b45af (patch)
treecb6b75c19ee9d7b779a405a0f65aeae536e95a6f /sys-apps/pciutils
parentMarked ~amd64 (diff)
downloadgentoo-2-6a4c501752c1015daee9bf3e994113bd438b45af.tar.gz
gentoo-2-6a4c501752c1015daee9bf3e994113bd438b45af.tar.bz2
gentoo-2-6a4c501752c1015daee9bf3e994113bd438b45af.zip
Split out malloc patch from the rest of bsd patch. Apply it on 2.2.0 that still needs it.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-apps/pciutils')
-rw-r--r--sys-apps/pciutils/ChangeLog8
-rw-r--r--sys-apps/pciutils/files/pciutils-2.1.11-bsd.patch10
-rw-r--r--sys-apps/pciutils/files/pciutils-2.1.11-malloc.patch16
-rw-r--r--sys-apps/pciutils/pciutils-2.1.11-r5.ebuild3
-rw-r--r--sys-apps/pciutils/pciutils-2.2.0-r1.ebuild3
5 files changed, 27 insertions, 13 deletions
diff --git a/sys-apps/pciutils/ChangeLog b/sys-apps/pciutils/ChangeLog
index 08dded6aef3b..f16465ca2f2f 100644
--- a/sys-apps/pciutils/ChangeLog
+++ b/sys-apps/pciutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/pciutils
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.61 2005/10/16 11:38:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.62 2005/11/11 19:46:34 flameeyes Exp $
+
+ 11 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+ files/pciutils-2.1.11-bsd.patch, +files/pciutils-2.1.11-malloc.patch,
+ pciutils-2.1.11-r5.ebuild, pciutils-2.2.0-r1.ebuild:
+ Split out malloc patch from the rest of bsd patch. Apply it on 2.2.0 that
+ still needs it.
*pciutils-2.2.0-r1 (16 Oct 2005)
diff --git a/sys-apps/pciutils/files/pciutils-2.1.11-bsd.patch b/sys-apps/pciutils/files/pciutils-2.1.11-bsd.patch
index dae78712c4dd..d2668366f372 100644
--- a/sys-apps/pciutils/files/pciutils-2.1.11-bsd.patch
+++ b/sys-apps/pciutils/files/pciutils-2.1.11-bsd.patch
@@ -4,16 +4,6 @@ Patch by Diego Pettenò.
http://bugs.gentoo.org/103241
---- pcimodules.c
-+++ pcimodules.c
-@@ -16,7 +16,6 @@
-
- #include <stdlib.h>
- #include <stdio.h>
--#include <malloc.h>
- #include <string.h>
- #include <unistd.h>
- #include <sys/utsname.h>
--- lib/fbsd-device.c
+++ lib/fbsd-device.c
@@ -13,10 +13,21 @@
diff --git a/sys-apps/pciutils/files/pciutils-2.1.11-malloc.patch b/sys-apps/pciutils/files/pciutils-2.1.11-malloc.patch
new file mode 100644
index 000000000000..e3e80ec9fef3
--- /dev/null
+++ b/sys-apps/pciutils/files/pciutils-2.1.11-malloc.patch
@@ -0,0 +1,16 @@
+Remove the malloc.h inclusion.
+
+Patch by Diego Pettenò.
+
+http://bugs.gentoo.org/103241
+
+--- pcimodules.c
++++ pcimodules.c
+@@ -16,7 +16,6 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/utsname.h>
diff --git a/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild b/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild
index 4ad6474482bd..5e2fb1840885 100644
--- a/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild
+++ b/sys-apps/pciutils/pciutils-2.1.11-r5.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/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild,v 1.10 2005/10/28 00:09:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild,v 1.11 2005/11/11 19:46:34 flameeyes Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -26,6 +26,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-gentoo-paths.patch
epatch "${FILESDIR}"/${PV}-scan.patch #from fedora
epatch "${FILESDIR}"/${P}-bsd.patch #103241
+ epatch "${FILESDIR}"/${P}-malloc.patch
# Unconditionally use -fPIC for libs (#55238)
# Make sure we respect $AR / $RANLIB / $CFLAGS
diff --git a/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild b/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild
index d84e72a227d9..1efb629979d8 100644
--- a/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-2.2.0-r1.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/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild,v 1.2 2005/10/28 00:09:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild,v 1.3 2005/11/11 19:46:34 flameeyes Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -23,6 +23,7 @@ src_unpack() {
epatch "${FILESDIR}"/pcimodules-${P}.patch
epatch "${FILESDIR}"/${P}-shared-lib.patch
+ epatch "${FILESDIR}"/${PN}-2.1.11-malloc.patch
# Set Gentoo paths
sed -i \