dirac: fix patch

This commit is contained in:
FX Coudert 2019-10-21 19:26:57 +02:00
parent 0fef947962
commit 0134e84f85

View file

@ -32,7 +32,10 @@ class Dirac < Formula
# HACK: the configure script, which assumes any compiler that
# starts with "cl" is a Microsoft compiler
patch :DATA
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/85fa66a9/dirac/1.0.2.patch"
sha256 "8f77a8f088b7054855e18391a4baa5c085da0f418f203c3e47aad7b63d84794a"
end
def install
# BSD cp doesn't have '-d'
@ -43,50 +46,3 @@ class Dirac < Formula
system "make", "install"
end
end
__END__
diff --git a/configure b/configure
index 41329b9..8f5ed19 100755
--- a/configure
+++ b/configure
@@ -15903,30 +15903,8 @@ ACLOCAL_AMFLAGS="-I m4 $ACLOCAL_AMFLAGS"
use_msvc=no
-case "$CXX" in
- cl*|CL*)
- CXXFLAGS="-nologo -W1 -EHsc -DWIN32"
- if test x"$enable_shared" = "xyes"; then
- LIBEXT=".dll";
- LIBFLAGS="-DLL -INCREMENTAL:NO"
- CXXFLAGS="$CXXFLAGS -D_WINDLL"
- else
- LIBEXT=".lib";
- LIBFLAGS="-lib"
- fi
- RANLIB="echo"
- use_msvc=yes
- ;;
- *)
- ;;
-esac
- if test x"$use_msvc" = "xyes"; then
- USE_MSVC_TRUE=
- USE_MSVC_FALSE='#'
-else
USE_MSVC_TRUE='#'
USE_MSVC_FALSE=
-fi
@@ -22678,7 +22656,8 @@ $debug ||
if test -n "$CONFIG_FILES"; then
-ac_cr=' '
+ac_cr='
+'
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'