diff --git a/Formula/xmoto.rb b/Formula/xmoto.rb index eb412758dc..628ba74f48 100644 --- a/Formula/xmoto.rb +++ b/Formula/xmoto.rb @@ -24,11 +24,15 @@ class Xmoto < Formula def install # The ENV.x11 picks up libpng and sets CFLAGS and LDFLAGS ENV.x11 - system "./configure", "--prefix=#{prefix}", "--with-internal-xdg=1", "--with-apple-opengl-framework" + system "./configure", "--prefix=#{prefix}", + "--disable-sdltest", + "--with-internal-xdg=1", + "--with-apple-opengl-framework" system "make install" end end + __END__ diff --git a/src/image/tim_png.cpp b/src/image/tim_png.cpp index 75fd545..a1d1cf6 100644 @@ -40,4 +44,4 @@ index 75fd545..a1d1cf6 100644 #include +#include #include "tim.h" - #include "png.h" \ No newline at end of file + #include "png.h"