summaryrefslogtreecommitdiffstats
path: root/devel/sdl12/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sdl12/files/patch-ac')
-rw-r--r--devel/sdl12/files/patch-ac139
1 files changed, 29 insertions, 110 deletions
diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac
index 69c7469..6e9d95d 100644
--- a/devel/sdl12/files/patch-ac
+++ b/devel/sdl12/files/patch-ac
@@ -1,27 +1,18 @@
$FreeBSD$
---- configure.orig Mon Jun 18 18:21:53 2001
-+++ configure Mon Jul 2 13:49:08 2001
-@@ -100,6 +100,8 @@
- ac_help="$ac_help
- --enable-video-svga use SVGAlib video driver [default=no]"
- ac_help="$ac_help
-+ --enable-video-vgl use VGL video driver [default=no]"
-+ac_help="$ac_help
- --enable-video-aalib use AAlib video driver [default=no]"
- ac_help="$ac_help
- --enable-video-dummy use dummy video driver [default=no]"
-@@ -639,7 +641,7 @@
+--- configure.orig Mon Jul 23 22:54:08 2001
++++ configure Wed Jul 25 11:10:28 2001
+@@ -641,7 +641,7 @@
SDL_MAJOR_VERSION=1
SDL_MINOR_VERSION=2
- SDL_MICRO_VERSION=1
--SDL_INTERFACE_AGE=1
+ SDL_MICRO_VERSION=2
+-SDL_INTERFACE_AGE=2
+SDL_INTERFACE_AGE=3
- SDL_BINARY_AGE=1
+ SDL_BINARY_AGE=2
SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
-@@ -652,9 +654,9 @@
+@@ -654,9 +654,9 @@
# libtool versioning
LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION
@@ -33,7 +24,7 @@ $FreeBSD$
-@@ -3066,7 +3068,7 @@
+@@ -3068,7 +3068,7 @@
SDL_CFLAGS=""
@@ -42,65 +33,16 @@ $FreeBSD$
case "$target" in
-@@ -5392,6 +5394,57 @@
- fi
- }
+@@ -5445,7 +5445,7 @@
+ int main() {
-+CheckVGL()
-+{
-+ # Check whether --enable-video-vgl or --disable-video-vgl was given.
-+if test "${enable_video_vgl+set}" = set; then
-+ enableval="$enable_video_vgl"
-+ :
-+else
-+ enable_video_vgl=no
-+fi
-+
-+ if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then
-+ echo $ac_n "checking for libVGL support""... $ac_c" 1>&6
-+echo "configure:5162: checking for libVGL support" >&5
-+ video_vgl=no
-+ cat > conftest.$ac_ext <<EOF
-+#line 5165 "configure"
-+#include "confdefs.h"
-+
-+ #include <sys/fbio.h>
-+ #include <sys/consio.h>
-+ #include <sys/kbio.h>
-+ #include <vgl.h>
-+
-+int main() {
-+
-+ VGLBitmap bitmap;
+ VGLBitmap bitmap;
+- exit(bitmap.PyxelBytes);
+ exit(bitmap.PixelBytes);
-+
-+; return 0; }
-+EOF
-+if { (eval echo configure:5180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-+ rm -rf conftest*
-+
-+ video_vgl=yes
-+
-+else
-+ echo "configure: failed program was:" >&5
-+ cat conftest.$ac_ext >&5
-+fi
-+rm -f conftest*
-+ echo "$ac_t""$video_vgl" 1>&6
-+ if test x$video_vgl = xyes; then
-+ CFLAGS="$CFLAGS -DENABLE_VGL"
-+ SYSTEM_LIBS="$SYSTEM_LIBS -lvgl"
-+
-+ VIDEO_SUBDIRS="$VIDEO_SUBDIRS vgl"
-+ VIDEO_DRIVERS="$VIDEO_DRIVERS vgl/libvideo_vgl.la"
-+ fi
-+ fi
-+}
-+
- CheckAAlib()
- {
- # Check whether --enable-video-aalib or --disable-video-aalib was given.
-@@ -5634,8 +5687,8 @@
+
+ ; return 0; }
+ EOF
+@@ -5712,8 +5712,8 @@
# pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
;;
*-*-freebsd*)
@@ -111,42 +53,19 @@ $FreeBSD$
;;
*-*-netbsd*)
pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
-@@ -6387,6 +6440,7 @@
- CheckARTSC
- CheckESD
- CheckNAS
-+ CheckVGL
+@@ -6344,7 +6344,6 @@
CheckX11
CheckDGA
CheckSVGA
-@@ -6577,10 +6631,10 @@
- cat >>$new <$old
-
- # Set up files for the audio library
-- if test x$enable_audio = xyes; then
-- AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun"
-- AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la"
-- fi
-+ #if test x$enable_audio = xyes; then
-+ # AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun"
-+ # AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la"
-+ #fi
- # Set up files for the joystick library
- # (No joystick support yet)
- if test x$enable_joystick = xyes; then
-@@ -9088,6 +9142,7 @@
- src/video/macrom/Makefile
- src/video/quartz/Makefile
- src/video/svga/Makefile
-+src/video/vgl/Makefile
- src/video/aalib/Makefile
- src/video/wincommon/Makefile
- src/video/windib/Makefile
-@@ -9322,6 +9377,7 @@
- src/video/macrom/Makefile
- src/video/quartz/Makefile
- src/video/svga/Makefile
-+src/video/vgl/Makefile
- src/video/aalib/Makefile
- src/video/wincommon/Makefile
- src/video/windib/Makefile
+- CheckVGL
+ CheckAAlib
+ CheckOpenGL
+ CheckPTHREAD
+@@ -6491,6 +6490,7 @@
+ ARCH=freebsd
+ CheckDummyVideo
+ CheckDiskAudio
++ CheckVGL
+ CheckNASM
+ CheckOSS
+ CheckARTSC
OpenPOWER on IntegriCloud