Skip to content

Instantly share code, notes, and snippets.

@yar
Created August 9, 2012 12:53
Show Gist options
  • Save yar/3303935 to your computer and use it in GitHub Desktop.
Save yar/3303935 to your computer and use it in GitHub Desktop.
gst-plugins-ugly patch
diff --git a/Library/Formula/gst-plugins-ugly.rb b/Library/Formula/gst-plugins-ugly.rb
index bad2771..c0ca39e 100644
--- a/Library/Formula/gst-plugins-ugly.rb
+++ b/Library/Formula/gst-plugins-ugly.rb
@@ -34,7 +34,7 @@ class GstPluginsUgly < Formula
depends_on 'x264' => :optional
def install
- ENV.append "CFLAGS", "-no-cpp-precomp -funroll-loops -fstrict-aliasing"
+ ENV.append "CFLAGS", "-no-cpp-precomp -funroll-loops -fstrict-aliasing -I/usr/local/include/opencore-amrnb -I/usr/local/include/opencore-amrwb"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment