summaryrefslogtreecommitdiff
path: root/homebrew/slashem/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/slashem/patches.sh')
-rwxr-xr-xhomebrew/slashem/patches.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/homebrew/slashem/patches.sh b/homebrew/slashem/patches.sh
new file mode 100755
index 000000000..92416b29a
--- /dev/null
+++ b/homebrew/slashem/patches.sh
@@ -0,0 +1,16 @@
+wget https://gist.githubusercontent.com/mistydemeo/76dd291c77a509216418/raw/65a41804b7d7e1ae6ab6030bde88f7d969c955c3/slashem-configure.patch
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/win/tty/termcap.c b/win/tty/termcap.c
+index c3bdf26..8d00b11 100644
+--- a/win/tty/termcap.c
++++ b/win/tty/termcap.c
+@@ -960,7 +960,7 @@ cl_eos() /* free after Robert Viduya */
+
+ #include <curses.h>
+
+-#if !defined(LINUX) && !defined(__FreeBSD__)
++#if !defined(LINUX) && !defined(__FreeBSD__) && !defined(__APPLE__)
+ extern char *tparm();
+ #endif
+EOF