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

Modified Files:
        sdl.info 
Added Files:
        sdl.patch 
Log Message:
New upstream version; added workaround for OpenGL issue (missing -framework 
option)

--- 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.4/unstable/main/finkinfo/games/sdl.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sdl.info    15 Jul 2006 14:17:25 -0000      1.5
+++ sdl.info    18 Jul 2006 06:25:50 -0000      1.6
@@ -1,15 +1,12 @@
 Package: sdl
-Version: 1.2.10
+Version: 1.2.11
 Revision: 1
-#Architecture: powerpc
 BuildDependsOnly: True
 Depends: %N-shlibs (= %v-%r)
 Maintainer: Max Horn <[EMAIL PROTECTED]>
 Source: http://www.libsdl.org/release/SDL-%v.tar.gz
-Source-MD5: b7b46a866b8bf32df8c041a00e567c7d
-#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
 InstallScript:  make install DESTDIR=%d
@@ -21,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