diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2008-01-02 21:29:28 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2008-01-02 21:29:28 +0000 |
commit | c74f7142440fd6b2e24ffbd0a8f4335e103635f8 (patch) | |
tree | 26a1b96c65e3ed3ad9903352f4f11213c3a91294 /palm/uppc-kmod/files/patch-uppc.c | |
parent | - Fix up the permissions on a package (diff) |
o Remove BROKEN, it actually does not build due to the lack of a
header file include required for __FreeBSD_version >= 700049:
patch uppc.c accordingly
o Fix uppcsetup: kldxref(8) module directory when it is installed
o Bump PORTREVSION due to uppcsetup script change
Diffstat (limited to 'palm/uppc-kmod/files/patch-uppc.c')
-rw-r--r-- | palm/uppc-kmod/files/patch-uppc.c | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/palm/uppc-kmod/files/patch-uppc.c b/palm/uppc-kmod/files/patch-uppc.c index 494137645e6d..04945ccba606 100644 --- a/palm/uppc-kmod/files/patch-uppc.c +++ b/palm/uppc-kmod/files/patch-uppc.c @@ -1,5 +1,5 @@ ---- uppc.c.orig Sun Sep 12 05:39:44 2004 -+++ uppc.c Thu Jan 25 23:40:56 2007 +--- uppc.c.orig 2008-01-02 17:34:35.000000000 +0000 ++++ uppc.c 2008-01-02 17:34:47.000000000 +0000 @@ -62,6 +62,8 @@ #define USB_PRODUCT_TOSHIBA_E330 0x0707 #define USB_PRODUCT_TOSHIBA_E740 0x0706 @@ -9,7 +9,18 @@ #include <sys/cdefs.h> #include <sys/param.h> -@@ -93,6 +95,10 @@ +@@ -84,6 +86,10 @@ + + #include <sys/sysctl.h> + ++#if __FreeBSD_version >= 700049 ++#include <dev/usb/usb_port.h> ++#endif ++ + #include <dev/usb/usb.h> + + #include <dev/usb/usbcdc.h> +@@ -93,6 +99,10 @@ #include <dev/usb/ucomvar.h> @@ -20,7 +31,7 @@ static int uppcrtvendor = 0; static int uppcrtproduct = 0; -@@ -166,6 +172,7 @@ +@@ -166,6 +176,7 @@ {{ USB_VENDOR_TOSHIBA, USB_PRODUCT_TOSHIBA_UNK }, 0}, {{ USB_VENDOR_TOSHIBA, USB_PRODUCT_TOSHIBA_E330 }, 0}, {{ USB_VENDOR_TOSHIBA, USB_PRODUCT_TOSHIBA_E740 }, 0}, |