Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 19:32:18 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        frank.liebelt@acst.de
Subject:   Re: Compile Error for SDL_IMAGE
Message-ID:  <20040317193218.2ae49852.tkato@prontomail.com>
In-Reply-To: <20040317093624.GJ99582@k7.mavetju>
References:  <200403170950.12092.frank.liebelt@acst.de> <20040317093624.GJ99582@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems incorrect libSDL-1.1 library is made if devel/libusb
is installed. This problem can be avoided with this patch.


diff -urN /usr/ports/devel/sdl12/files/patch-ac sdl12/files/patch-ac
--- /usr/ports/devel/sdl12/files/patch-ac	Tue Mar 16 19:06:11 2004
+++ sdl12/files/patch-ac	Wed Mar 17 19:23:33 2004
@@ -1,14 +1,5 @@
---- configure.orig	Mon Feb 23 08:32:33 2004
-+++ configure	Mon Mar  8 16:17:17 2004
-@@ -19138,7 +19138,7 @@
- 
- 
- # This can be used to rebuild libtool when needed
--LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh"
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+--- configure.orig	Mon Feb 23 06:32:33 2004
++++ configure	Wed Mar 17 19:23:24 2004
 @@ -21171,7 +21171,7 @@
  
  
@@ -29,7 +20,14 @@
              ;;
          *-*-netbsd*)
              pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
-@@ -28401,7 +28401,9 @@
+@@ -28394,14 +28394,13 @@
+ fi
+ 
+ 
+-        if test x$have_usb_h = xyes; then
+-            CFLAGS="$CFLAGS -DHAVE_USB_H"
+-        fi
+         if test x$have_usbhid_h = xyes; then
              CFLAGS="$CFLAGS -DHAVE_USBHID_H"
          fi
          if test x$have_libusb_h = xyes; then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317193218.2ae49852.tkato>