From 8e94c95afe54e6ed9894b5eccd6f63fb08935d2c Mon Sep 17 00:00:00 2001 From: pencilcheck Date: Mon, 5 Mar 2012 22:41:26 +0800 Subject: librsync: add MacPorts "inline functions" patch librsync doesn't correctly export inlined functions: http://trac.macports.org/ticket/31742 Closes #10697. Signed-off-by: Jack Nagel --- Library/Formula/librsync.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/librsync.rb b/Library/Formula/librsync.rb index 531bbf906..6cbfb463d 100644 --- a/Library/Formula/librsync.rb +++ b/Library/Formula/librsync.rb @@ -5,6 +5,14 @@ class Librsync < Formula homepage 'http://librsync.sourceforge.net/' md5 '24cdb6b78f45e0e83766903fd4f6bc84' + def patches + # fixes librsync doesn't correctly export inlined functions: + # http://trac.macports.org/ticket/31742 + # link to upstream bug report: + # http://sourceforge.net/tracker/?func=detail&aid=3464437&group_id=56125&atid=479439 + { :p0 => 'https://trac.macports.org/export/90437/trunk/dports/net/librsync/files/patch-delta.c.diff' } + end + def install ENV.universal_binary system "./configure", "--disable-debug", "--disable-dependency-tracking", -- cgit v1.2.3