aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sdl/files
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-02-10 09:41:52 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-02-10 09:41:52 +0800
commit51bf6510dc5c122fe0f52bd91445f6bdd398ee4f (patch)
treed4c9a4683b1e3c74ae6a9dae8e4ccca1bea7b829 /devel/sdl/files
parentf370b54d477bc97d805d3a0f8772f14194dd9e98 (diff)
downloadfreebsd-ports-gnome-51bf6510dc5c122fe0f52bd91445f6bdd398ee4f.tar.gz
freebsd-ports-gnome-51bf6510dc5c122fe0f52bd91445f6bdd398ee4f.tar.zst
freebsd-ports-gnome-51bf6510dc5c122fe0f52bd91445f6bdd398ee4f.zip
Update to 1.0.4
PR: 16607 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'devel/sdl/files')
-rw-r--r--devel/sdl/files/patch-ac54
1 files changed, 39 insertions, 15 deletions
diff --git a/devel/sdl/files/patch-ac b/devel/sdl/files/patch-ac
index 64f6440c88b9..1979a1121aa3 100644
--- a/devel/sdl/files/patch-ac
+++ b/devel/sdl/files/patch-ac
@@ -1,6 +1,6 @@
---- configure.orig Tue Dec 14 01:33:42 1999
-+++ configure Sat Jan 8 23:23:37 2000
-@@ -3030,7 +3030,7 @@
+--- configure.orig Tue Feb 8 03:53:58 2000
++++ configure Tue Feb 8 11:31:03 2000
+@@ -3016,7 +3016,7 @@
echo "$ac_t""yes" 1>&6
CFLAGS="$CFLAGS -DESD_SUPPORT $ESD_CFLAGS"
@@ -9,21 +9,16 @@
else
echo "$ac_t""no" 1>&6
-@@ -4333,11 +4333,11 @@
-
+@@ -4326,7 +4326,7 @@
ac_save_libs="$LIBS"
case "$target" in
-- *-*-freebsd*)
-+ *-*-frebsd*)
- pthread_lib="-lc_r"
- ;;
- *)
-- pthread_lib="-lpthread"
+ *-*-freebsd*)
+- pthread_lib="-lc_r"
+ pthread_lib="-L""$LOCALBASE""/lib -llthread -llgcc_r"
;;
- esac
- LIBS="$LIBS $pthread_lib"
-@@ -4371,7 +4371,7 @@
+ *-*-openbsd*)
+ pthread_lib="-lc_r"
+@@ -4366,7 +4366,7 @@
echo "$ac_t""$use_pthreads" 1>&6
if test x$use_pthreads = xyes; then
CFLAGS="$CFLAGS -D_REENTRANT -DSDL_USE_PTHREADS"
@@ -32,7 +27,7 @@
SDL_LIBS="$SDL_LIBS $pthread_lib"
fi
fi
-@@ -4851,6 +4851,7 @@
+@@ -4955,6 +4955,7 @@
;;
*-*-freebsd*)
ARCH=freebsd
@@ -40,3 +35,32 @@
CheckESD
CheckX11
CheckPTHREAD
+@@ -5038,6 +5039,28 @@
+ __EOF__
+ cat >>$new <$old
+
++
++ echo "Copying src/audio/linux/SDL_dspaudio.h -> src/audio/SDL_dspaudio.h"
++ old="$srcdir/src/audio/linux/SDL_dspaudio.h"
++ new="$srcdir/src/audio/SDL_dspaudio.h"
++ cat >$new <<__EOF__
++/* WARNING: This file was automatically generated!
++ * Original: $old
++ */
++__EOF__
++ cat >>$new <$old
++
++
++ echo "Copying src/audio/linux/SDL_dspaudio.c -> src/audio/SDL_dspaudio.c"
++ old="$srcdir/src/audio/linux/SDL_dspaudio.c"
++ new="$srcdir/src/audio/SDL_dspaudio.c"
++ cat >$new <<__EOF__
++/* WARNING: This file was automatically generated!
++ * Original: $old
++ */
++__EOF__
++ cat >>$new <$old
++
+ fi
+ # Set up files for the cdrom library
+ if test x$enable_cdrom = xyes; then