diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-03-08 18:01:11 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-03-08 18:01:11 +0000 |
commit | db629d359f41cd06ec45edb0dfa62bf39ae62420 (patch) | |
tree | c8ac429faecb10fb63b290898685bfe175842c6c /graphics/libgphoto2 | |
parent | 189357d1356a26c4245318d0817be2a670d32aa1 (diff) | |
download | ports-db629d359f41cd06ec45edb0dfa62bf39ae62420.tar.gz ports-db629d359f41cd06ec45edb0dfa62bf39ae62420.zip |
Notes
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r-- | graphics/libgphoto2/Makefile | 3 | ||||
-rw-r--r-- | graphics/libgphoto2/files/extra-patch-usb20 | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index fb4f101e75b1..b38512d23f2a 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -40,7 +40,8 @@ PLIST_SUB+= NLS="" .if ${OSVERSION} < 800064 LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb .else -CONFIGURE_ENV+= LIBUSB_LIBS="-L/usr/lib -lusb20" LIBUSB_CFLAGS="-I/usr/include/dev/usb" +CONFIGURE_ENV+= LIBUSB_LIBS="-L/usr/lib -lusb20" LIBUSB_CFLAGS="-I/usr/include/dev/usb -I/usr/include" +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-usb20 .endif post-patch: diff --git a/graphics/libgphoto2/files/extra-patch-usb20 b/graphics/libgphoto2/files/extra-patch-usb20 new file mode 100644 index 000000000000..adcfd2317858 --- /dev/null +++ b/graphics/libgphoto2/files/extra-patch-usb20 @@ -0,0 +1,11 @@ +--- libgphoto2_port/usb/libusb.c.orig 2008-11-21 19:24:40.000000000 +0100 ++++ libgphoto2_port/usb/libusb.c 2009-03-08 18:58:56.000000000 +0100 +@@ -33,6 +33,8 @@ + #include <string.h> + + #include <usb.h> ++#include <libusb20.h> ++#include <libusb20_compat10.h> + + #include <gphoto2/gphoto2-port.h> + #include <gphoto2/gphoto2-port-result.h> |