summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tgall@gentoo.org>2004-03-05 13:40:42 +0000
committerTom Gall <tgall@gentoo.org>2004-03-05 13:40:42 +0000
commit0e06825b760e002badb7424c25f3ceda80fb30bf (patch)
tree82e91f3b9df35378728f81927ded1a565c087c77 /sys-apps/usbutils/files
parentAdded splitter script from Michal Januszewski (spock@g.o) (Manifest recommit) (diff)
downloadgentoo-2-0e06825b760e002badb7424c25f3ceda80fb30bf.tar.gz
gentoo-2-0e06825b760e002badb7424c25f3ceda80fb30bf.tar.bz2
gentoo-2-0e06825b760e002badb7424c25f3ceda80fb30bf.zip
mark ppc64 stable for usbutils-0.11-r3.ebuild, slight header fix for 2.6 madness
Diffstat (limited to 'sys-apps/usbutils/files')
-rw-r--r--sys-apps/usbutils/files/0.11/ppc64-usbutils-kheaderfix.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/usbutils/files/0.11/ppc64-usbutils-kheaderfix.patch b/sys-apps/usbutils/files/0.11/ppc64-usbutils-kheaderfix.patch
new file mode 100644
index 000000000000..849baff7be4d
--- /dev/null
+++ b/sys-apps/usbutils/files/0.11/ppc64-usbutils-kheaderfix.patch
@@ -0,0 +1,28 @@
+--- libusb/access.c.orig 2004-03-04 03:24:41.028301880 +0000
++++ libusb/access.c 2004-03-04 03:35:05.013231200 +0000
+@@ -30,6 +30,9 @@
+
+ #include "libusb.h"
+
++#include <asm/types.h>
++typedef unsigned long kernel_ulong_t;
++
+ #ifdef HAVE_LINUX_USB_H
+ #include <linux/usb.h>
+ #else
+--- libusb/descparse.c.orig 2004-03-04 03:15:39.897292152 +0000
++++ libusb/descparse.c 2004-03-04 03:35:33.585280600 +0000
+@@ -30,9 +30,13 @@
+
+ #include "libusb.h"
+
++typedef unsigned long kernel_ulong_t;
++
+ #ifdef HAVE_LINUX_USB_H
++#include <asm/types.h>
+ #include <linux/usb.h>
+ #else
++#include <asm/types.h>
+ #include "usb.h"
+ #endif
+