nordugrid-arc 4.1.0

Closes Homebrew/homebrew#28946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Gerd Behrmann 2014-05-04 16:46:20 +02:00 committed by Adam Vandenberg
parent 62664d0e2f
commit ab8a121b9f

View file

@ -2,8 +2,8 @@ require 'formula'
class NordugridArc < Formula
homepage 'http://www.nordugrid.org'
url 'http://download.nordugrid.org/packages/nordugrid-arc/releases/2.0.1/src/nordugrid-arc-2.0.1.tar.gz'
sha1 '897ae70f8cfb7fedfeb73ce95e7eee685615eb2f'
url 'http://download.nordugrid.org/packages/nordugrid-arc/releases/4.1.0/src/nordugrid-arc-4.1.0.tar.gz'
sha1 '9836793b91b31d3c24ae5b0200aba2a56530e7e7'
depends_on 'pkg-config' => :build
depends_on :libtool
@ -18,9 +18,32 @@ class NordugridArc < Formula
cause "Fails with 'template specialization requires 'template<>''"
end
# See http://bugzilla.nordugrid.org/cgi-bin/bugzilla/show_bug.cgi?id=3366
patch :DATA
def install
system "./configure", "--disable-dependency-tracking",
"--disable-swig",
"--prefix=#{prefix}"
system "make install"
end
test do
(testpath/'foo').write('data')
system "#{bin}/arccp", "foo", "bar"
end
end
__END__
diff --git a/src/services/ldap-infosys/giis/Index.h b/src/services/ldap-infosys/giis/Index.h
index 7e91cd3..64fb30a 100644
--- a/src/services/ldap-infosys/giis/Index.h
+++ b/src/services/ldap-infosys/giis/Index.h
@@ -3,6 +3,7 @@
#include <list>
#include <string>
+#include <pthread.h>
#include "Policy.h"
#include "Entry.h"