From fb53a3a3963caa5604cca530737c46879acb6f54 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Fri, 23 Mar 2007 01:20:31 +0000 Subject: puppy: Added patch to handle usb header location change in recent kernels --- packages/puppy/files/usb-header.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packages/puppy/files/usb-header.patch (limited to 'packages/puppy/files/usb-header.patch') diff --git a/packages/puppy/files/usb-header.patch b/packages/puppy/files/usb-header.patch new file mode 100644 index 0000000000..3768ff8ff6 --- /dev/null +++ b/packages/puppy/files/usb-header.patch @@ -0,0 +1,20 @@ +--- puppy/usb_io.h.~1.14.~ 2007-02-01 16:39:20.000000000 +1030 ++++ puppy/usb_io.h 2007-03-23 11:47:21.000000000 +1030 +@@ -30,12 +30,13 @@ + #include + #include + +-#include +-#include +- +-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) ++/* linux/usb_ch9.h wasn't separated out until 2.4.23 */ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23) + #include "usb_ch9.h" ++#else ++#include "usb.h" + #endif ++#include + + #include "mjd.h" + #include "tf_bytes.h" -- cgit v1.2.3