[41749] trunk/dports/games/chromium

raimue at macports.org raimue at macports.org
Sun Nov 9 20:04:07 PST 2008


Revision: 41749
          http://trac.macports.org/changeset/41749
Author:   raimue at macports.org
Date:     2008-11-09 20:04:06 -0800 (Sun, 09 Nov 2008)
Log Message:
-----------
games/chromium:
 * Fix building on Leopard by editing patch-NCString.cpp
 * Remove patch-MainSDL_Event.cpp, as the cursor keys already work correctly
   for me without the patch
 * Disallow parallel building

Modified Paths:
--------------
    trunk/dports/games/chromium/Portfile
    trunk/dports/games/chromium/files/patch-NCString.cpp

Removed Paths:
-------------
    trunk/dports/games/chromium/files/patch-MainSDL_Event.cpp

Modified: trunk/dports/games/chromium/Portfile
===================================================================
--- trunk/dports/games/chromium/Portfile	2008-11-10 04:00:05 UTC (rev 41748)
+++ trunk/dports/games/chromium/Portfile	2008-11-10 04:04:06 UTC (rev 41749)
@@ -4,6 +4,7 @@
 
 name                    chromium
 version                 0.9.12
+revision                1
 categories              games
 platforms               darwin
 maintainers             nomaintainer
@@ -22,8 +23,7 @@
 patchfiles              patch-configure_functions \
                         patch-Makefile.no-setup \
                         patch-NCString.cpp \
-                        patch-Makefile \
-                        patch-MainSDL_Event.cpp
+                        patch-Makefile
 
 worksrcdir              Chromium-0.9
 
@@ -47,6 +47,8 @@
                         --enable-vorbis \
                         --disable-setup
 
+use_parallel_build      no
+
 destroot {
     xinstall -m 755 ${worksrcpath}/bin/chromium ${destroot}${prefix}/bin
     xinstall -m 755 -d ${destroot}${prefix}/share/

Deleted: trunk/dports/games/chromium/files/patch-MainSDL_Event.cpp
===================================================================
--- trunk/dports/games/chromium/files/patch-MainSDL_Event.cpp	2008-11-10 04:00:05 UTC (rev 41748)
+++ trunk/dports/games/chromium/files/patch-MainSDL_Event.cpp	2008-11-10 04:04:06 UTC (rev 41749)
@@ -1,15 +0,0 @@
---- src/MainSDL_Event.cpp	Mon May 21 03:36:48 2001
-+++ ../../MainSDL_Event.cpp	Fri Nov  5 14:06:23 2004
-@@ -325,10 +325,10 @@
- 			game->hero->moveEvent( 10, 0);
- 			break;
- 	    case SDLK_UP:
--			game->hero->moveEvent(0, -10);
-+			game->hero->moveEvent(0, 10);
- 			break;
- 	    case SDLK_DOWN:
--			game->hero->moveEvent(0,  10);
-+			game->hero->moveEvent(0, -10);
- 			break;
- //	    case SDLK_SPACE:
- //			game->hero->fireGun(true);

Modified: trunk/dports/games/chromium/files/patch-NCString.cpp
===================================================================
--- trunk/dports/games/chromium/files/patch-NCString.cpp	2008-11-10 04:00:05 UTC (rev 41748)
+++ trunk/dports/games/chromium/files/patch-NCString.cpp	2008-11-10 04:04:06 UTC (rev 41749)
@@ -5,7 +5,7 @@
  {
  	int n;
 -	ulong tmp = 0;
-+	u_long tmp = 0;
++	unsigned long tmp = 0;
  	if(str)
  	{
  		n = sscanf(str, "%lu", &tmp);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081109/2c1da57a/attachment.html>


More information about the macports-changes mailing list