[25424] trunk/dports/emulators/mednafen
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 21 15:59:08 PDT 2007
Revision: 25424
http://trac.macosforge.org/projects/macports/changeset/25424
Author: jann at macports.org
Date: 2007-05-21 15:59:08 -0700 (Mon, 21 May 2007)
Log Message:
-----------
Maintainer update
Modified Paths:
--------------
trunk/dports/emulators/mednafen/Portfile
Added Paths:
-----------
trunk/dports/emulators/mednafen/files/
trunk/dports/emulators/mednafen/files/patch-src_selblur.cpp
Modified: trunk/dports/emulators/mednafen/Portfile
===================================================================
--- trunk/dports/emulators/mednafen/Portfile 2007-05-21 22:15:27 UTC (rev 25423)
+++ trunk/dports/emulators/mednafen/Portfile 2007-05-21 22:59:08 UTC (rev 25424)
@@ -4,6 +4,7 @@
name mednafen
version 0.8.1
+revision 1
platforms darwin
categories emulators games
maintainers adamw at freebsd.org
@@ -31,6 +32,8 @@
# Just an FYI: even though it takes a billion years to compile
# src/gba/arm.cpp, it *does* finish eventually.
+patchfiles patch-src_selblur.cpp
+
worksrcdir ${name}
configure.env LDFLAGS="-L${prefix}/lib" \
CPPFLAGS="-I${prefix}/include"
Added: trunk/dports/emulators/mednafen/files/patch-src_selblur.cpp
===================================================================
--- trunk/dports/emulators/mednafen/files/patch-src_selblur.cpp (rev 0)
+++ trunk/dports/emulators/mednafen/files/patch-src_selblur.cpp 2007-05-21 22:59:08 UTC (rev 25424)
@@ -0,0 +1,13 @@
+--- src/selblur.cpp.orig 2007-05-18 12:56:11.000000000 -0400
++++ src/selblur.cpp 2007-05-18 12:58:04.000000000 -0400
+@@ -32,8 +32,8 @@
+ // spec->dest[x + y * spec->dest_pitch32] = (r << spec->red_shift) | (g << spec->green_shift) | (b << spec->blue_shift);
+ //}
+
+-#define GetSourcePixel(_x, _y, _r, _g, _b) { uint32 __pixel = source[_x + _y * source_pitch32]; _r = (__pixel >> red_shift) & 0xFF; \
+- _g = (__pixel >> green_shift) & 0xFF; _b = (__pixel >> blue_shift) & 0xFF; }
++#define GetSourcePixel(_x, _y, _r, _g, _b) { uint32 __mypixel = source[_x + _y * source_pitch32]; _r = (__mypixel >> red_shift) & 0xFF; \
++ _g = (__mypixel >> green_shift) & 0xFF; _b = (__mypixel >> blue_shift) & 0xFF; }
+
+ #define SetDestPixel(_x, _y, _r, _g, _b) dest[_x + _y * dest_pitch32] = (_r << red_shift) | (_g << green_shift) | (_b << blue_shift);
+
Property changes on: trunk/dports/emulators/mednafen/files/patch-src_selblur.cpp
___________________________________________________________________
Name: svn:keywords
+ Author Date ID Revision
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070521/365393f9/attachment.html
More information about the macports-changes
mailing list