Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/games
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv32376/10.3/unstable/main/finkinfo/games

Modified Files:
        sdl.info 
Added Files:
        sdl.patch 
Log Message:
backport new version from 10.4


--- NEW FILE: sdl.patch ---
diff -ru SDL-1.2.10/configure SDL-1.2.10-patched/configure
--- SDL-1.2.10/configure        2006-05-17 08:53:45.000000000 +0200
+++ SDL-1.2.10-patched/configure        2006-07-17 23:52:23.000000000 +0200
@@ -33040,9 +33040,15 @@
   macosx)
     if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then
       SDL_LIBS="$SDL_LIBS -Wl,-framework,Cocoa"
+      if test x$enable_video_opengl = xyes; then
+        SDL_LIBS="$SDL_LIBS -Wl,-framework,OpenGL"
+      fi
     fi
     if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then
       SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon"
+      if test x$enable_video_opengl = xyes; then
+        SDL_LIBS="$SDL_LIBS -Wl,-framework,AGL"
+      fi
     fi
     # Evil hack to allow static linking on Mac OS X
     SDL_STATIC_LIBS="\${exec_prefix}/lib/libSDLmain.a 
\${exec_prefix}/lib/libSDL.a $EXTRA_LDFLAGS"

Index: sdl.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/games/sdl.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- sdl.info    15 Jul 2006 14:17:24 -0000      1.12
+++ sdl.info    25 Sep 2006 05:22:35 -0000      1.13
@@ -1,19 +1,14 @@
 Package: sdl
-Version: 1.2.8
-Revision: 2
-GCC: 3.3
+Version: 1.2.11
+Revision: 1
 BuildDependsOnly: True
 Depends: %N-shlibs (= %v-%r)
-BuildDepends: gcc3.3
 Maintainer: Max Horn <[EMAIL PROTECTED]>
 Source: http://www.libsdl.org/release/SDL-%v.tar.gz
-Source-MD5: 37aaf9f069f9c2c18856022f35de9f8c
-PatchScript: <<
-       perl -pi -e 's/-Xlinker -framework -Xlinker (\S*)/-Wl,-framework,$1/g; 
s/-framework (\S*)/-Wl,-framework,$1/g;' configure
-<<
+Source-MD5: 418b42956b7cd103bfab1b9077ccc149
+Patch: %n.patch
 ConfigureParams: --mandir=%p/share/man
 CompileScript: ./configure %c; DISTCC_HOSTS='' MAKEFLAGS='-j1' make
-SetCC: gcc-3.3
 InstallScript:  make install DESTDIR=%d
 SplitOff: <<
   Package: %N-shlibs
@@ -23,8 +18,10 @@
   DocFiles: BUGS COPYING CREDITS README README-SDL.txt README.MacOSX TODO
 <<
 DescPackaging: <<
-       added DISTCC_HOSTS='' MAKEFLAGS='-j1' to avoid the -fconstant-cfstrings 
warning
-       when building with distcc (-- [EMAIL PROTECTED])
+  added DISTCC_HOSTS='' MAKEFLAGS='-j1' to avoid the -fconstant-cfstrings 
warning
+  when building with distcc (-- [EMAIL PROTECTED])
+  
+  Added missing -Wl,-framework,OpenGL via patch (workaround for an upstream 
bug).
 <<
 DocFiles: BUGS COPYING CREDITS README README-SDL.txt README.MacOSX TODO
 Description: Cross-platform multimedia library


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to