summaryrefslogtreecommitdiff
path: root/devel/sdl12/files/patch-ac
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 09:36:38 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 09:36:38 +0000
commit3f24913c50a5757cd1e2ba5e4e56795c4db689c7 (patch)
treef6079a65ffc69078c2ddeefee95aa0170575d789 /devel/sdl12/files/patch-ac
parentRemove all directories on deinstallation. (diff)
Update to 1.1.3.
FreeBSD is now in the list of supported platforms, so number of patches required to make SDL work here has been slightly reduced.
Diffstat (limited to 'devel/sdl12/files/patch-ac')
-rw-r--r--devel/sdl12/files/patch-ac52
1 files changed, 13 insertions, 39 deletions
diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac
index bec6a4ef45a7..97164834bbf5 100644
--- a/devel/sdl12/files/patch-ac
+++ b/devel/sdl12/files/patch-ac
@@ -1,6 +1,15 @@
---- configure.orig Fri Mar 31 08:26:24 2000
-+++ configure Mon Apr 24 02:09:39 2000
-@@ -610,9 +610,9 @@
+--- configure.orig Tue Jun 6 07:36:14 2000
++++ configure Tue Jun 6 12:10:08 2000
+@@ -607,7 +607,7 @@
+ SDL_MAJOR_VERSION=1
+ SDL_MINOR_VERSION=1
+ SDL_MICRO_VERSION=3
+-SDL_INTERFACE_AGE=0
++SDL_INTERFACE_AGE=2
+ SDL_BINARY_AGE=3
+ SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
+
+@@ -620,9 +620,9 @@
# libtool versioning
LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION
@@ -12,7 +21,7 @@
-@@ -2907,7 +2907,7 @@
+@@ -2939,7 +2939,7 @@
SDL_CFLAGS=""
@@ -21,38 +30,3 @@
# Check whether --enable-audio or --disable-audio was given.
-@@ -4616,7 +4616,7 @@
- echo "$ac_t""$video_opengl" 1>&6
- if test x$video_opengl = xyes; then
- CFLAGS="$CFLAGS -DHAVE_OPENGL"
-- SYSTEM_LIBS="$SYSTEM_LIBS -ldl"
-+ SYSTEM_LIBS="$SYSTEM_LIBS"
- fi
- fi
- }
-@@ -4649,7 +4649,7 @@
- ac_save_libs="$LIBS"
- case "$target" in
- *-*-freebsd*)
-- pthread_lib="-lc_r"
-+ pthread_lib="-pthread"
- ;;
- *-*-openbsd*)
- pthread_lib="-lc_r"
-@@ -4689,7 +4689,7 @@
- echo "$ac_t""$use_pthreads" 1>&6
- if test x$use_pthreads = xyes; then
- CFLAGS="$CFLAGS -D_REENTRANT -DSDL_USE_PTHREADS"
-- SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT"
-+ SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT -D_THREAD_SAFE"
- SDL_LIBS="$SDL_LIBS $pthread_lib"
- echo $ac_n "checking whether semun is defined in /usr/include/sys/sem.h""... $ac_c" 1>&6
- echo "configure:4696: checking whether semun is defined in /usr/include/sys/sem.h" >&5
-@@ -5356,6 +5356,7 @@
- ;;
- *-*-freebsd*)
- ARCH=freebsd
-+ CheckNASM
- CheckESD
- CheckX11
- CheckAAlib