diff options
Diffstat (limited to 'sys-apps/pciutils/files')
-rw-r--r-- | sys-apps/pciutils/files/pciutils-2.1.11-bsd.patch | 10 | ||||
-rw-r--r-- | sys-apps/pciutils/files/pciutils-2.1.11-malloc.patch | 16 |
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> |