diff options
| author | Mike Naberezny | 2014-07-23 13:37:04 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-24 09:00:32 +0100 |
| commit | 5f7346976d04d5828fa935a9a485cff54016b42e (patch) | |
| tree | 00fa041bf09cec0556f4b65fa547b0034037a2f1 /Library | |
| parent | 4ea667cc4f45fdc9c6101833810ba838b8531e0c (diff) | |
| download | homebrew-5f7346976d04d5828fa935a9a485cff54016b42e.tar.bz2 | |
mess 0.154
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mess.rb | 40 |
1 files changed, 2 insertions, 38 deletions
diff --git a/Library/Formula/mess.rb b/Library/Formula/mess.rb index fcbcce867..fecf639e5 100644 --- a/Library/Formula/mess.rb +++ b/Library/Formula/mess.rb @@ -2,17 +2,13 @@ require 'formula' class Mess < Formula homepage 'http://www.mess.org/' - url 'svn://dspnet.fr/mame/trunk', :revision => '29406' - version '0.153' + url 'svn://dspnet.fr/mame/trunk', :revision => '31397' + version '0.154' head 'svn://dspnet.fr/mame/trunk' depends_on 'sdl' - # Fixes finding OpenGL headers, already patched upstream - # See: http://git.redump.net/mame/commit/?id=e5e4c0de7169d5cce7167e28a66a75f98d2484c4 - patch :DATA unless build.head? - def install ENV['MACOSX_USE_LIBSDL'] = '1' ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0') @@ -27,35 +23,3 @@ class Mess < Formula end end end - -__END__ -diff --git a/src/osd/sdl/osd_opengl.h b/src/osd/sdl/osd_opengl.h -index c7709f7..73ef207 100644 ---- a/src/osd/sdl/osd_opengl.h -+++ b/src/osd/sdl/osd_opengl.h -@@ -45,8 +45,8 @@ - #define APIENTRY - #endif - -- #include "GL/gl.h" -- #include "GL/glext.h" -+ #include <OpenGL/gl.h> -+ #include <OpenGL/glext.h> - - typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum target); - #endif -diff --git a/src/osd/sdl/sdl.mak b/src/osd/sdl/sdl.mak -index 819f465..9d92061 100644 ---- a/src/osd/sdl/sdl.mak -+++ b/src/osd/sdl/sdl.mak -@@ -478,7 +478,7 @@ else - INCPATH += `sdl-config --cflags | sed 's:/SDL::'` - CCOMFLAGS += -DNO_SDL_GLEXT - # Remove libSDLmain, as its symbols conflict with SDLMain_tmpl.m --LIBS += `sdl-config --libs | sed 's/-lSDLmain//'` -lpthread -+LIBS += `sdl-config --libs | sed 's/-lSDLmain//'` -lpthread -framework OpenGL - DEFS += -DMACOSX_USE_LIBSDL - endif # MACOSX_USE_LIBSDL - --- -cgit v0.9.2-21-gd62e |
