From 4861f43fa857fd177c8e103957922d13ca1687e1 Mon Sep 17 00:00:00 2001 From: Thierry Moisan Date: Mon, 3 Oct 2016 17:04:57 -0400 Subject: [PATCH] gsoap 2.8.36 Closes #5549. Signed-off-by: Mike McQuaid --- Formula/gsoap.rb | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Formula/gsoap.rb b/Formula/gsoap.rb index a6a85456be..69a71c283f 100644 --- a/Formula/gsoap.rb +++ b/Formula/gsoap.rb @@ -1,8 +1,8 @@ class Gsoap < Formula desc "SOAP stub and skeleton compiler for C and C++" - homepage "https://www.cs.fsu.edu/~engelen/soap.html" - url "https://downloads.sourceforge.net/project/gsoap2/gSOAP/gsoap_2.8.28.zip" - sha256 "453b36d97a98b35c2829284219dd09a4d60f073a5b77c658c403961c54cfa328" + homepage "https://www.genivia.com/products.html" + url "https://downloads.sourceforge.net/project/gsoap2/gsoap-2.8/gsoap_2.8.36.zip" + sha256 "20f70db768062e094ec3749073bfc4103cacaac8cab2cdbd624634ae496eef21" bottle do sha256 "0f12a3f2fec76aff29c79b5e7f42ab7059e600cd7c09ccefa1708a04dbb241dc" => :el_capitan @@ -13,15 +13,12 @@ class Gsoap < Formula depends_on "openssl" def install + # Contacted upstream by email and been told this should be fixed by 2.8.37, + # it is due to the compilation of symbol2.c and soapcpp2_yacc.h not being + # ordered correctly in parallel. ENV.deparallelize - - # macOS defines "TCP_FASTOPE" in netinet/tcp.h but doesn't - # seems to recognise or accept "SOL_TCP". IPPROTO_TCP is equivalent, apparently. - # https://github.com/Homebrew/homebrew/issues/44018#issuecomment-145231029 - inreplace "gsoap/stdsoap2.c", "SOL_TCP", "IPPROTO_TCP" - inreplace "gsoap/stdsoap2.cpp", "SOL_TCP", "IPPROTO_TCP" - system "./configure", "--prefix=#{prefix}" + system "make" system "make", "install" end