orbit: patch to build against newer glib

Closes #19183.
This commit is contained in:
Adam Vandenberg committed 2013-04-15 15:52:21 -07:00
1 parent fb2d47a8b0
commit fd3b37857d
1 file changed
+8
+8
View File
@@ -9,6 +9,14 @@ class Orbit < Formula
depends_on 'glib'
depends_on 'libidl'
# per MacPorts, re-enable use of deprecated glib functions
def patches
{:p0 => [
"https://trac.macports.org/export/105275/trunk/dports/devel/orbit2/files/patch-linc2-src-Makefile.in.diff",
"https://trac.macports.org/export/105275/trunk/dports/devel/orbit2/files/patch-configure.diff"
]}
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"