aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sdl12
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-06-28 03:29:43 +0800
committersobomax <sobomax@FreeBSD.org>2003-06-28 03:29:43 +0800
commit31038b40aef816c0121509f6d308761ac8fa807f (patch)
treedc68be7f02230012e26465a57e16fda9a9d4d4ca /devel/sdl12
parentc57df15a18e705e1fac94f0261113345d3ff6dbd (diff)
downloadfreebsd-ports-gnome-31038b40aef816c0121509f6d308761ac8fa807f.tar.gz
freebsd-ports-gnome-31038b40aef816c0121509f6d308761ac8fa807f.tar.zst
freebsd-ports-gnome-31038b40aef816c0121509f6d308761ac8fa807f.zip
Fix the port for those with stale /usr/include/libusb.h header.
Submitted by: mdodd
Diffstat (limited to 'devel/sdl12')
-rw-r--r--devel/sdl12/files/patch-ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac
index 96238ceb10c2..81c1a6c8de4f 100644
--- a/devel/sdl12/files/patch-ac
+++ b/devel/sdl12/files/patch-ac
@@ -2,7 +2,7 @@
$FreeBSD$
--- configure.orig Sun Oct 6 23:35:02 2002
-+++ configure Thu Jan 2 12:39:34 2003
++++ configure Fri Jun 27 22:19:43 2003
@@ -674,9 +674,9 @@
# libtool versioning
@@ -35,3 +35,13 @@ $FreeBSD$
;;
*-*-netbsd*)
pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
+@@ -6946,7 +6946,9 @@
+ CFLAGS="$CFLAGS -DHAVE_USBHID_H"
+ fi
+ if test x$have_libusb_h = xyes; then
++ if x$have_libusbhid_h = xno; then
+ CFLAGS="$CFLAGS -DHAVE_LIBUSB_H"
++ fi
+ fi
+ if test x$have_libusbhid_h = xyes; then
+ CFLAGS="$CFLAGS -DHAVE_LIBUSBHID_H"