diff options
author | miwi <miwi@FreeBSD.org> | 2009-07-29 00:45:17 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-07-29 00:45:17 +0800 |
commit | 97ee9f40562b69942c50df8307db7cc4a42afc66 (patch) | |
tree | 3489dcebbe9fb502955ba4875af28cbc1fec016e /x11 | |
parent | f1f6c2b513fcfe26850288df2c0bfd4cf54fcf55 (diff) | |
download | freebsd-ports-gnome-97ee9f40562b69942c50df8307db7cc4a42afc66.tar.gz freebsd-ports-gnome-97ee9f40562b69942c50df8307db7cc4a42afc66.tar.zst freebsd-ports-gnome-97ee9f40562b69942c50df8307db7cc4a42afc66.zip |
- Fix build on 8.0-BETA2
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebase3/Makefile | 6 | ||||
-rw-r--r-- | x11/kdebase3/files/extrapatch-libusb20 | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile index 74e35661a24b..b1e5f92a6251 100644 --- a/x11/kdebase3/Makefile +++ b/x11/kdebase3/Makefile @@ -87,6 +87,12 @@ post-extract: @${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv @${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv +post-patch: +.if ${OSVERSION} >= 800100 + @${REINPLACE_CMD} -e 's,usb_revision.h,usbdi.h,g' \ + ${WRKSRC}/kcontrol/usbview/usbdevices.h +.endif + pre-configure: ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ ${WRKSRC}/kdeprint/descriptions/Makefile.in diff --git a/x11/kdebase3/files/extrapatch-libusb20 b/x11/kdebase3/files/extrapatch-libusb20 index 619aa1d337e6..4a1782fdbb7c 100644 --- a/x11/kdebase3/files/extrapatch-libusb20 +++ b/x11/kdebase3/files/extrapatch-libusb20 @@ -7,7 +7,7 @@ -#include <dev/usb/usb.h> +#include <libusb20.h> +#include <dev/usb/usb_ioctl.h> -+/*#include <dev/usb/usb_revision.h>*/ ++#include <dev/usb/usb_revision.h> #endif class USBDB; |