pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libusb1 Build patches for DragonFly, from Neil B...
details: https://anonhg.NetBSD.org/pkgsrc/rev/334927794f1a
branches: trunk
changeset: 609706:334927794f1a
user: dholland <dholland%pkgsrc.org@localhost>
date: Mon Oct 08 16:54:07 2012 +0000
description:
Build patches for DragonFly, from Neil Booth in PR 47042.
diffstat:
devel/libusb1/Makefile | 4 ++--
devel/libusb1/distinfo | 5 ++++-
devel/libusb1/patches/patch-configure | 16 ++++++++++++++++
devel/libusb1/patches/patch-configure.ac | 15 +++++++++++++++
devel/libusb1/patches/patch-libusb_os_openbsd__usb.c | 16 ++++++++++++++++
5 files changed, 53 insertions(+), 3 deletions(-)
diffs (90 lines):
diff -r f11c6ad068e6 -r 334927794f1a devel/libusb1/Makefile
--- a/devel/libusb1/Makefile Mon Oct 08 15:31:26 2012 +0000
+++ b/devel/libusb1/Makefile Mon Oct 08 16:54:07 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2012/09/26 08:19:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2012/10/08 16:54:07 dholland Exp $
#
DISTNAME= libusb-1.0.9
@@ -14,7 +14,7 @@
PKG_DESTDIR_SUPPORT= user-destdir
-NOT_FOR_PLATFORM= DragonFly-*-* SunOS-*-*
+NOT_FOR_PLATFORM= SunOS-*-*
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
diff -r f11c6ad068e6 -r 334927794f1a devel/libusb1/distinfo
--- a/devel/libusb1/distinfo Mon Oct 08 15:31:26 2012 +0000
+++ b/devel/libusb1/distinfo Mon Oct 08 16:54:07 2012 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/05/30 14:10:23 wiz Exp $
+$NetBSD: distinfo,v 1.2 2012/10/08 16:54:07 dholland Exp $
SHA1 (libusb-1.0.9.tar.bz2) = 025582ff2f6216e2dbc2610ae16b2e073e1b3346
RMD160 (libusb-1.0.9.tar.bz2) = 5410570f8ce31783044eb04aebaae7ade3b21a61
Size (libusb-1.0.9.tar.bz2) = 421971 bytes
+SHA1 (patch-configure) = affe76f2b0644e3b4090822750058472dad2b412
+SHA1 (patch-configure.ac) = f14ba91c76300b221db1b4761dc3b2adde8b36f7
+SHA1 (patch-libusb_os_openbsd__usb.c) = d0956db2544f4340a97acec9f72b6b852e8c3de8
diff -r f11c6ad068e6 -r 334927794f1a devel/libusb1/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libusb1/patches/patch-configure Mon Oct 08 16:54:07 2012 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2012/10/08 16:54:07 dholland Exp $
+
+--- configure.orig 2012-10-06 07:29:32.285323000 +0000
++++ configure
+@@ -11108,6 +11108,11 @@ $as_echo "Darwin/Mac OS X" >&6; }
+ $as_echo "OpenBSD" >&6; }
+ backend="openbsd"
+ ;;
++*-dragonfly*)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: DragonflyBSD (using OpenBSD backend)" >&5
++$as_echo "DragonflyBSD (using OpenBSD backend)" >&6; }
++ backend="openbsd"
++ ;;
+ *-netbsd*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: NetBSD (using OpenBSD backend)" >&5
+ $as_echo "NetBSD (using OpenBSD backend)" >&6; }
diff -r f11c6ad068e6 -r 334927794f1a devel/libusb1/patches/patch-configure.ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libusb1/patches/patch-configure.ac Mon Oct 08 16:54:07 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2012/10/08 16:54:07 dholland Exp $
+
+--- configure.ac.orig 2012-04-20 06:44:27.000000000 +0000
++++ configure.ac
+@@ -58,6 +58,10 @@ case $host in
+ AC_MSG_RESULT([OpenBSD])
+ backend="openbsd"
+ ;;
++*-dragonfly*)
++ AC_MSG_RESULT([DragonflyBSD (using OpenBSD backend)])
++ backend="openbsd"
++ ;;
+ *-netbsd*)
+ AC_MSG_RESULT([NetBSD (using OpenBSD backend)])
+ backend="openbsd"
diff -r f11c6ad068e6 -r 334927794f1a devel/libusb1/patches/patch-libusb_os_openbsd__usb.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libusb1/patches/patch-libusb_os_openbsd__usb.c Mon Oct 08 16:54:07 2012 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-libusb_os_openbsd__usb.c,v 1.1 2012/10/08 16:54:07 dholland Exp $
+
+--- libusb/os/openbsd_usb.c.orig 2012-04-20 06:44:27.000000000 +0000
++++ libusb/os/openbsd_usb.c
+@@ -26,7 +26,11 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#ifdef __DragonFly__
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+
+ #include "libusb.h"
+ #include "libusbi.h"
Home |
Main Index |
Thread Index |
Old Index