librsync: add MacPorts "inline functions" patch

librsync doesn't correctly export inlined functions:
http://trac.macports.org/ticket/31742

Closes Homebrew/homebrew#10697.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
pencilcheck 2012-03-05 22:41:26 +08:00 committed by Jack Nagel
parent c5d3e7b38c
commit 66780334e8
1 changed files with 8 additions and 0 deletions

View File

@ -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",