summaryrefslogtreecommitdiff
path: root/emulators/xmame/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-11-01 14:45:38 +0000
committertron <tron@pkgsrc.org>2001-11-01 14:45:38 +0000
commit3214ea9c9b886c9220bb44992d52d13862bb9254 (patch)
tree834ca5611b52bd66dd52d4aae8fd84901ed13e81 /emulators/xmame/patches
parent2343b9230b7f4cc953efac78757339637c984b07 (diff)
downloadpkgsrc-3214ea9c9b886c9220bb44992d52d13862bb9254.tar.gz
Fix build problems if the "libusb" package is installed.
Diffstat (limited to 'emulators/xmame/patches')
-rw-r--r--emulators/xmame/patches/patch-ab11
-rw-r--r--emulators/xmame/patches/patch-ac13
2 files changed, 24 insertions, 0 deletions
diff --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab
new file mode 100644
index 00000000000..76a89b0ecd3
--- /dev/null
+++ b/emulators/xmame/patches/patch-ab
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.11 2001/11/01 14:45:39 tron Exp $
+
+--- src/unix/Makefile.orig Mon Sep 17 01:52:00 2001
++++ src/unix/Makefile Thu Nov 1 15:04:47 2001
+@@ -153,3 +153,6 @@
+ video-drivers/glxtool.h
+ $(VID_DIR)/gltool.h: video-drivers/gl-disp-var.h video-drivers/glu-disp-var.h
+
++$(JOY_DIR)/joy_usb.o: joystick-drivers/joy_usb.c xmame.h
++ $(CC_COMMENT) @echo 'Compiling src/unix/$< ...'
++ $(CC_COMPILE) $(CC) -I/usr/include $(MY_CFLAGS) -o $@ -c $<
diff --git a/emulators/xmame/patches/patch-ac b/emulators/xmame/patches/patch-ac
new file mode 100644
index 00000000000..beb34dd9137
--- /dev/null
+++ b/emulators/xmame/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.4 2001/11/01 14:45:39 tron Exp $
+
+--- src/unix/unix.mak.orig Thu Nov 1 15:12:47 2001
++++ src/unix/unix.mak Thu Nov 1 15:12:15 2001
+@@ -202,7 +202,7 @@
+ endif
+ ifdef JOY_USB
+ CONFIG += -DUSB_JOYSTICK
+-MY_LIBS += -lusb
++MY_LIBS += /usr/lib/libusb.so
+ endif
+
+ ifdef EFENCE