1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/devel/sdl-devel/files/patch-ac
Maxim Sobolev d5c3fc66bb Remove arch-specific optimisation options from configure script. They broke sdl
build on systems with gcc2.7

Submitted by:	Martin Walter <walter@th.physik.uni-bonn.de>,
		Patrick M Doane <patrick@watson.org>
2000-06-18 10:05:24 +00:00

48 lines
1.2 KiB
Plaintext

--- configure.orig Tue Jun 6 07:36:14 2000
+++ configure Sun Jun 18 12:48:42 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
-LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE`
+LT_CURRENT=$SDL_INTERFACE_AGE
LT_REVISION=$SDL_INTERFACE_AGE
-LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE`
+LT_AGE=$SDL_INTERFACE_AGE
@@ -2926,12 +2926,12 @@
case "$target" in
i486-*-*)
if test x$ac_cv_prog_gcc = xyes; then
- CFLAGS="$CFLAGS -march=486"
+# CFLAGS="$CFLAGS -march=486"
fi
;;
i?86-*-*)
if test x$ac_cv_prog_gcc = xyes; then
- CFLAGS="$CFLAGS -march=pentium -mcpu=pentiumpro"
+# CFLAGS="$CFLAGS -march=pentium -mcpu=pentiumpro"
fi
;;
esac
@@ -2939,7 +2939,7 @@
SDL_CFLAGS=""
-SDL_LIBS="-lSDL"
+SDL_LIBS="-lSDL-1.1"
# Check whether --enable-audio or --disable-audio was given.