pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47042: Add DragonflyBSD support to libusb1
The following reply was made to PR pkg/47042; it has been noted by GNATS.
From: Makoto Fujiwara <makoto%ki.nu@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/47042: Add DragonflyBSD support to libusb1
Date: Thu, 10 Oct 2013 18:15:50 +0900
Hi,
I noticed today that one part of the original PR is not
committed yet, and I needed the attache patch with
DragonFly v3.4.2-RELEASE #2: Mon May 27 20:28:43 PDT 2013
root%pkgbox32.dragonflybsd.org@localhost:/usr/obj/build/home/justin/src/sys/GENERIC
i386
(Shall I commit this part ?)
Thanks
---
Makoto Fujiwara
Index: distinfo
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/devel/libusb1/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 20 Nov 2012 13:01:47 -0000 1.4
+++ distinfo 10 Oct 2013 08:46:21 -0000
@@ -5,4 +5,4 @@
Size (libusb-1.0.9.tar.bz2) = 421971 bytes
SHA1 (patch-configure) = 16945e970e356009d1022d9832ef3ee532435422
SHA1 (patch-configure.ac) = 3d8234d368409a23da0f346822bea276c6081e8b
-SHA1 (patch-libusb_os_openbsd__usb.c) =
be31799029f8e2acf7abb6be566a51c78026479d
+SHA1 (patch-libusb_os_openbsd__usb.c) =
8276c9c0102e1e52a71a033a86ea89718b262377
Index: patches/patch-libusb_os_openbsd__usb.c
===================================================================
RCS file:
/cvs/cvsroot/pkgsrc/devel/libusb1/patches/patch-libusb_os_openbsd__usb.c,v
retrieving revision 1.3
diff -u -r1.3 patch-libusb_os_openbsd__usb.c
--- patches/patch-libusb_os_openbsd__usb.c 20 Nov 2012 13:01:47 -0000
1.3
+++ patches/patch-libusb_os_openbsd__usb.c 10 Oct 2013 08:46:21 -0000
@@ -12,7 +12,17 @@
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
-@@ -36,8 +36,8 @@
+@@ -26,14 +26,18 @@
+ #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"
struct device_priv {
Home |
Main Index |
Thread Index |
Old Index