diff options
| author | Misty De Meo | 2012-03-22 21:51:55 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-03-22 21:51:55 -0500 |
| commit | 31faf916d4f9a156a76e488fc3e20fc2a6e0684c (patch) | |
| tree | 488cb62361812399cd6c910bb0f7d709e8e45fe8 /Library | |
| parent | 133468339a1c126729c476f9adbe18b97ef499b4 (diff) | |
| download | homebrew-31faf916d4f9a156a76e488fc3e20fc2a6e0684c.tar.bz2 | |
mednafen --devel 0.9.19-WIP
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mednafen.rb | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/Library/Formula/mednafen.rb b/Library/Formula/mednafen.rb index b70b378e1..0531edf5d 100644 --- a/Library/Formula/mednafen.rb +++ b/Library/Formula/mednafen.rb @@ -7,9 +7,9 @@ class Mednafen < Formula version '0.8.D.3' devel do - url 'http://forum.fobby.net/index.php?t=getfile&id=304' - md5 '0327b3b0f8413f1ed446c4d8b9b897f0' - version '0.9.18-WIP' + url 'http://forum.fobby.net/index.php?t=getfile&id=345' + md5 '64be12196aa02828539af677b0e2a66c' + version '0.9.19-WIP' end depends_on 'pkg-config' => :build @@ -24,6 +24,12 @@ class Mednafen < Formula ] end + def patches + # see http://forum.fobby.net/index.php?t=msg&&th=701&goto=2420#msg_2420 + # will probably be fixed in the next version + DATA if ARGV.build_devel? + end + def install # Compiler produces code which fails math tests # with optimizations enabled @@ -45,3 +51,17 @@ class Mednafen < Formula system "make install" end end + +__END__ +diff -Naur mednafen.orig/mednafen/drivers/shader.cpp mednafen.wip/mednafen/drivers/shader.cpp +--- mednafen.orig/mednafen/drivers/shader.cpp 2012-01-26 04:04:57.000000000 +0100 ++++ mednafen.wip/mednafen/drivers/shader.cpp 2012-02-08 10:34:38.000000000 +0100 +@@ -70,7 +70,7 @@ + switch(ipolate_axis & 3) + { + case 0: +- ret += std::string("gl_FragColor = texture2D(Tex0, gl_TexCoord[0]);\n"); ++ ret += std::string("gl_FragColor = texture2D(Tex0, vec2(gl_TexCoord[0]));\n"); + break; + + case 1: |
