Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 18:57:15 +1100
From:      "Dima Panov" <fluffy@fluffy.khv.ru>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/137198: x11/kdebase3: bix build on -current
Message-ID:  <1248767835.73940@Fluffy.Khv.RU>
Resent-Message-ID: <200907280800.n6S80AXt014553@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         137198
>Category:       ports
>Synopsis:       x11/kdebase3: bix build on -current
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 28 08:00:09 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 8.0-800105-BETA2 i386
>Organization:
Fluffy.Khv.RU 
>Environment:


System: FreeBSD 8.0-800105-BETA2 #0: Fri Jul 24 00:15:17 VLAST 2009
    root@Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot



>Description:


x11/kdebase3: bix build on -current


>How-To-Repeat:





>Fix:


--- kdebase3.diff begins here ---
Index: x11/kdebase3/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/kdebase3/Makefile,v
retrieving revision 1.214
diff -u -r1.214 Makefile
--- x11/kdebase3/Makefile	6 Jul 2009 08:54:01 -0000	1.214
+++ x11/kdebase3/Makefile	26 Jul 2009 16:10:00 -0000
@@ -87,6 +87,12 @@
 	@${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
Index: x11/kdebase3/files/extrapatch-libusb20
===================================================================
RCS file: /home/ncvs/ports/x11/kdebase3/files/extrapatch-libusb20,v
retrieving revision 1.1
diff -u -r1.1 extrapatch-libusb20
--- x11/kdebase3/files/extrapatch-libusb20	6 Jul 2009 08:54:01 -0000	1.1
+++ x11/kdebase3/files/extrapatch-libusb20	26 Jul 2009 16:09:15 -0000
@@ -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;
--- kdebase3.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1248767835.73940>