From d54dc938e308848c5fbc939ac4593ec2852d6edf Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 9 May 2002 22:19:37 +0000 Subject: Instead of disabling joystick code completely use "dummy" driver instead of problematic usb one. This should fix problems some ports are having when linked against libsdl without joystick code at all. Bump PORTREVISION. --- devel/sdl12/files/patch-ac | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'devel/sdl12/files/patch-ac') diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac index 3d322f5c6890..48def1ccf2de 100644 --- a/devel/sdl12/files/patch-ac +++ b/devel/sdl12/files/patch-ac @@ -2,7 +2,7 @@ $FreeBSD$ --- configure.orig Sun Apr 14 02:57:31 2002 -+++ configure Wed Apr 17 14:31:32 2002 ++++ configure Fri May 10 01:04:55 2002 @@ -670,9 +670,9 @@ # libtool versioning @@ -35,10 +35,14 @@ $FreeBSD$ ;; *-*-netbsd*) pthread_cflags="-I/usr/pkg/include -D_REENTRANT" -@@ -6702,6 +6702,7 @@ +@@ -6700,8 +6700,9 @@ + #fi + # Set up files for the joystick library if test x$enable_joystick = xyes; then - JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd" - JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la" +- JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd" +- JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la" ++ JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy" ++ JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la" + SYSTEM_LIBS="$SYSTEM_LIBS $USB_LIBS" fi # Set up files for the cdrom library -- cgit v1.2.3