nordugrid, synfig and synfigstudio: C++11/libsigc++ patching

necessary to get these packages working again
This commit is contained in:
Tom Schoonjans 2015-09-27 15:06:55 +01:00 committed by Dominyk Tiller
parent 8c83158d4d
commit febfe07b42
3 changed files with 20 additions and 4 deletions

View file

@ -1,10 +1,8 @@
class NordugridArc < Formula
desc "Grid computing middleware"
homepage "http://www.nordugrid.org"
url "http://download.nordugrid.org/packages/nordugrid-arc/releases/5.0.0/src/nordugrid-arc_5.0.0.orig.tar.gz"
mirror "https://mirrors.kernel.org/debian/pool/main/n/nordugrid-arc/nordugrid-arc_5.0.0.orig.tar.gz"
sha256 "59132ce88f0d88d9a08a56eb879fe9bd07b2eedfce1506508e71457b7f4add1b"
revision 1
url "http://download.nordugrid.org/packages/nordugrid-arc/releases/5.0.2/src/nordugrid-arc-5.0.2.tar.gz"
sha256 "d7306d91b544eeba571ede341e43760997c46d4ccdacc8b785c64f594780a9d1"
bottle do
sha256 "db44e56921dda90426b9bb78ac996bcc261e6e169584636bae3ed7acd31aa229" => :yosemite
@ -21,6 +19,12 @@ class NordugridArc < Formula
needs :cxx11
# bug filed upstream at http://bugzilla.nordugrid.org/show_bug.cgi?id=3514
patch do
url "https://gist.githubusercontent.com/tschoonj/065dabc33be5ec636058/raw/beee466cdf5fe56f93af0b07022532b1945e9d2e/nordugrid-arc.diff"
sha256 "5561ea013ddd03ee4f72437f2e01f22b2c0cac2806bf837402724be281ac2b6d"
end
fails_with :clang do
build 500
cause "Fails with 'template specialization requires \"template<>\"'"

View file

@ -31,6 +31,12 @@ class Synfig < Formula
needs :cxx11
# bug filed upstream as http://www.synfig.org/issues/thebuggenie/synfig/issues/904
patch do
url "https://gist.githubusercontent.com/tschoonj/06d5de3cdc5d063f8612/raw/26fe46b6eedeecdc686b9fd5aac01de9f2756424/synfig.diff"
sha256 "0ac5b757ba3dda6a863a79e717fc239648c490eac1e643ff275b8ac232a466a3"
end
def install
ENV.cxx11
boost = Formula["boost"]

View file

@ -22,6 +22,12 @@ class Synfigstudio < Formula
needs :cxx11
# bug filed upstream as http://www.synfig.org/issues/thebuggenie/synfig/issues/904
patch do
url "https://gist.githubusercontent.com/tschoonj/91fd64c528c7b971f185/raw/85dca7ef41f118007676bb0ca58b978693ee3d4e/synfigstudio.diff"
sha256 "ae16c0086256f266ffdef7ea758b5385b869833e04562b7d9194da6101b24f2f"
end
def install
ENV.cxx11
system "./configure", "--disable-debug",