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/files
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/files')
-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
2 files changed, 16 insertions, 10 deletions
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>