summaryrefslogtreecommitdiff
path: root/homebrew/mkclean/patches.sh
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/mkclean/patches.sh
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/mkclean/patches.sh')
-rwxr-xr-xhomebrew/mkclean/patches.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/homebrew/mkclean/patches.sh b/homebrew/mkclean/patches.sh
new file mode 100755
index 000000000..497973378
--- /dev/null
+++ b/homebrew/mkclean/patches.sh
@@ -0,0 +1,18 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+--- a/corec/tools/coremake/gcc_osx_x64.build 2017-08-22 06:38:25.000000000 -0700
++++ b/corec/tools/coremake/gcc_osx_x64.build 2017-11-18 22:53:56.000000000 -0800
+@@ -4,11 +4,10 @@
+
+ PLATFORMLIB = osx_x86
+ SVNDIR = osx_x86
+-SDK = /Developer/SDKs/MacOSX10.5.sdk
+
+ //CC = xcrun --sdk macosx clang
+
+-CCFLAGS=%(CCFLAGS) -arch x86_64 -mdynamic-no-pic -mmacosx-version-min=10.5
++CCFLAGS=%(CCFLAGS) -arch x86_64 -mdynamic-no-pic
+ ASMFLAGS = -f macho64 -D_MACHO -D_HIDDEN
+
+ #include "gcc_osx.inc"
+EOF