Please test with your favourite applications
Interested in a test on macppc as well, please mail me the full build
file (I don't currently have a machine I can update to -current).
There is some altivec support added it seems, we may need to disable in
the port.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/sdl/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile 10 Aug 2005 00:25:16 -0000 1.40
+++ Makefile 11 Sep 2005 02:36:34 -0000
@@ -3,9 +3,9 @@
COMMENT= "cross-platform multimedia library"
-VERSION= 1.2.8
+VERSION= 1.2.9
DISTNAME= SDL-${VERSION}
-PKGNAME= ${DISTNAME:L}p0
+PKGNAME= ${DISTNAME:L}
CATEGORIES= devel
HOMEPAGE= http://www.libsdl.org/
@@ -101,6 +101,6 @@ WANTLIB+= X11 Xext
NO_REGRESS= Yes
-MAKE_FLAGS= libSDL_la_LDFLAGS="-version-info 4:0:0"
+MAKE_FLAGS= libSDL_la_LDFLAGS="-version-info 5:0:0"
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/sdl/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo 11 May 2005 17:26:15 -0000 1.10
+++ distinfo 11 Sep 2005 02:32:35 -0000
@@ -1,8 +1,8 @@
-MD5 (SDL-1.2.8.tar.gz) = 37aaf9f069f9c2c18856022f35de9f8c
+MD5 (SDL-1.2.9.tar.gz) = 80919ef556425ff82a8555ff40a579a0
MD5 (patch-libsd1.2.7-libcaca0.9.diff) = dff6cf5fc97494dbe05880866e151660
-RMD160 (SDL-1.2.8.tar.gz) = 91aa02f6b52792b3ec7f5478bcaebda1542980dc
+RMD160 (SDL-1.2.9.tar.gz) = 9faeeda9cf8f649a2b506e9db7c5cedb4512cfe7
RMD160 (patch-libsd1.2.7-libcaca0.9.diff) =
e74a1ece864577b6fdaf8516a9e4b400958e575b
-SHA1 (SDL-1.2.8.tar.gz) = 26f2104a60a28914b809d3cb77d5790bfdfd024c
+SHA1 (SDL-1.2.9.tar.gz) = 8140de00e73ccdbdee196fa8fd9952ddb3cc75f1
SHA1 (patch-libsd1.2.7-libcaca0.9.diff) =
4e4d3f5f0286e6960e0e5cdad2f90c54997a6c04
-SIZE (SDL-1.2.8.tar.gz) = 2602449
+SIZE (SDL-1.2.9.tar.gz) = 2688179
SIZE (patch-libsd1.2.7-libcaca0.9.diff) = 28259
Index: patches/patch-configure_in
===================================================================
RCS file: /cvs/ports/devel/sdl/patches/patch-configure_in,v
retrieving revision 1.24
diff -u -p -r1.24 patch-configure_in
--- patches/patch-configure_in 11 May 2005 17:26:15 -0000 1.24
+++ patches/patch-configure_in 11 Sep 2005 02:34:43 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.24 2005/05/11 17:26:15 pvalchev Exp $
---- configure.in.orig Mon Dec 13 20:02:08 2004
-+++ configure.in Fri Dec 17 16:36:47 2004
+--- configure.in.orig Sun Aug 28 00:31:18 2005
++++ configure.in Sat Sep 10 20:34:34 2005
@@ -535,9 +535,6 @@ CheckNASM()
win32)
NASMFLAGS="-f win32"
@@ -31,7 +31,7 @@ $OpenBSD: patch-configure_in,v 1.24 2005
fi
fi
}
-@@ -1681,6 +1672,9 @@ CheckDLOPEN()
+@@ -1680,6 +1671,9 @@ CheckDLOPEN()
AC_ARG_ENABLE(sdl-dlopen,
[ --enable-sdl-dlopen use dlopen for shared object loading
[default=yes]],
, enable_sdl_dlopen=yes)
@@ -41,7 +41,7 @@ $OpenBSD: patch-configure_in,v 1.24 2005
if test x$enable_sdl_dlopen = xyes; then
AC_MSG_CHECKING(for dlopen)
use_dlopen=no
-@@ -1692,7 +1686,7 @@ CheckDLOPEN()
+@@ -1691,7 +1685,7 @@ CheckDLOPEN()
])
AC_MSG_RESULT($use_dlopen)
@@ -50,9 +50,9 @@ $OpenBSD: patch-configure_in,v 1.24 2005
CFLAGS="$CFLAGS -DUSE_DLOPEN"
AC_CHECK_LIB(c, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS",
AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl",
-@@ -2730,6 +2724,9 @@ fi
- if test $ARCH = solaris; then
- SDL_RLD_FLAGS="-R\${exec_prefix}/lib"
+@@ -2764,6 +2758,9 @@ if test "x$enable_rpath" = "xyes"; then
+ else
+ SDL_RLD_FLAGS=""
fi
+if test $ARCH = openbsd -a x$enable_video_x11 = xyes; then
+ SDL_RLD_FLAGS="-L${X11BASE}/lib"
@@ -60,7 +60,7 @@ $OpenBSD: patch-configure_in,v 1.24 2005
case "$ARCH" in
openbsd | netbsd | bsdi)
-@@ -2763,7 +2760,7 @@ esac
+@@ -2797,7 +2794,7 @@ esac
STATIC_SYSTEM_LIBS="$SYSTEM_LIBS"
dnl Output the video drivers we use
Index: patches/patch-include_SDL_endian_h
===================================================================
RCS file: patches/patch-include_SDL_endian_h
diff -N patches/patch-include_SDL_endian_h
--- patches/patch-include_SDL_endian_h 11 May 2005 17:26:15 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-include_SDL_endian_h,v 1.1 2005/05/11 17:26:15 pvalchev Exp $
---- include/SDL_endian.h.orig Wed May 4 19:52:44 2005
-+++ include/SDL_endian.h Wed May 4 19:53:18 2005
-@@ -65,12 +65,6 @@ static __inline__ Uint16 SDL_Swap16(Uint
- __asm__("xchgb %b0,%h0" : "=q" (x) : "0" (x));
- return x;
- }
--#elif defined(__GNUC__) && defined(__x86_64__)
--static __inline__ Uint16 SDL_Swap16(Uint16 x)
--{
-- __asm__("xchgb %b0,%h0" : "=q" (x) : "0" (x));
-- return x;
--}
- #elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
- static __inline__ Uint16 SDL_Swap16(Uint16 x)
- {
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: /cvs/ports/devel/sdl/patches/patch-src_Makefile_in,v
retrieving revision 1.8
diff -u -p -r1.8 patch-src_Makefile_in
--- patches/patch-src_Makefile_in 11 May 2005 17:26:15 -0000 1.8
+++ patches/patch-src_Makefile_in 11 Sep 2005 02:34:43 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-src_Makefile_in,v 1.8 2005/05/11 17:26:15 pvalchev Exp $
---- src/Makefile.in.orig Mon Dec 13 20:03:05 2004
-+++ src/Makefile.in Fri Dec 17 16:36:47 2004
-@@ -304,7 +304,6 @@ lib_LTLIBRARIES = libSDL.la
+--- src/Makefile.in.orig Sun Aug 28 00:31:37 2005
++++ src/Makefile.in Sat Sep 10 20:34:34 2005
+@@ -306,7 +306,6 @@ lib_LTLIBRARIES = libSDL.la
libSDL_la_SOURCES = $(GENERAL_SRCS)
libSDL_la_LDFLAGS = \
-no-undefined \
Index: pkg/PFRAG.shared
===================================================================
RCS file: /cvs/ports/devel/sdl/pkg/PFRAG.shared,v
retrieving revision 1.10
diff -u -p -r1.10 PFRAG.shared
--- pkg/PFRAG.shared 11 May 2005 17:26:15 -0000 1.10
+++ pkg/PFRAG.shared 11 Sep 2005 02:41:36 -0000
@@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.10 2005/05/11 17:26:15 pvalchev Exp $
[EMAIL PROTECTED] lib/libSDL.so.4.0
[EMAIL PROTECTED] lib/libSDL.so.5.0