libdc1394: fix build on 10.9

Fixes Homebrew/homebrew#24142.
master
Jack Nagel 2013-11-10 01:52:11 -06:00
parent bd2aec431f
commit 44628f7c72
1 changed files with 10 additions and 1 deletions

View File

@ -5,14 +5,23 @@ class Libdc1394 < Formula
url 'http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.1/libdc1394-2.2.1.tar.gz'
sha1 'b92c9670b68c4e5011148f16c87532bef2e5b808'
depends_on :libtool
depends_on :automake
depends_on :autoconf
def patches
p = []
# fix issue due to bug in OSX Firewire stack
# libdc1394 author comments here:
# http://permalink.gmane.org/gmane.comp.multimedia.libdc1394.devel/517
DATA
p << DATA
# Backport of upstream fixes for building on OS X
p << "https://gist.github.com/jacknagel/7395159/raw/3ba722636fb898d210170f5d8a494977c89626b7/libdc1394.patch"
end
def install
system "autoreconf", "-fvi"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-examples",