diff options
| author | Jack Nagel | 2014-05-13 23:46:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-13 23:46:46 -0500 |
| commit | 2ed3a931e11c8d80c4c40e583bb1ba2089a8c57a (patch) | |
| tree | 3277be5b0eea9a4d8785e4274461930bd967bcfb /Library | |
| parent | 7dd20f354478886584399dfac5c86105f1051610 (diff) | |
| download | homebrew-2ed3a931e11c8d80c4c40e583bb1ba2089a8c57a.tar.bz2 | |
clhep 2.1.4.2
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/clhep.rb | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/Library/Formula/clhep.rb b/Library/Formula/clhep.rb index 11ca7a98f..e10463e05 100644 --- a/Library/Formula/clhep.rb +++ b/Library/Formula/clhep.rb @@ -2,14 +2,11 @@ require "formula" class Clhep < Formula homepage "http://proj-clhep.web.cern.ch/proj-clhep/" - url "http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.1.3.1.tgz" - sha1 "3ef0b7410d71ca25bb2f5b5ba6d928a338e30e6e" + url "http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.1.4.2.tgz" + sha1 "519a163d575d01fa29397bee88116389382088c9" depends_on "cmake" => :build - # Patch for clang compatibility, adapted from MacPorts - patch :DATA - def install mkdir "clhep-build" do system "cmake", "../CLHEP", *std_cmake_args @@ -17,23 +14,3 @@ class Clhep < Formula end end end - -__END__ -# https://savannah.cern.ch/bugs/?104110 -# https://trac.macports.org/ticket/42841 -# ---- a/CLHEP/Matrix/src/Vector.cc.orig -+++ b/CLHEP/Matrix/src/Vector.cc -@@ -114,9 +114,9 @@ HepVector::HepVector(const HepMatrix &hm1) - - // trivial methods - --inline int HepVector::num_row() const {return nrow;} --inline int HepVector::num_size() const {return nrow;} --inline int HepVector::num_col() const { return 1; } -+int HepVector::num_row() const {return nrow;} -+int HepVector::num_size() const {return nrow;} -+int HepVector::num_col() const { return 1; } - - // operator() - |
