diff options
Diffstat (limited to 'homebrew/nload/patches.sh')
-rwxr-xr-x | homebrew/nload/patches.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/homebrew/nload/patches.sh b/homebrew/nload/patches.sh new file mode 100755 index 000000000..f619922fe --- /dev/null +++ b/homebrew/nload/patches.sh @@ -0,0 +1,16 @@ +wget https://sourceforge.net/p/nload/bugs/_discuss/thread/c9b68d8e/4a65/attachment/devreader-bsd.cpp.patch +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/configure.in b/configure.in +index 87ecc88..4df8dc3 100644 +--- a/configure.in ++++ b/configure.in +@@ -38,7 +38,7 @@ case $host_os in + + AC_CHECK_FUNCS([memset]) + ;; +- *bsd*) ++ *darwin*) + AC_DEFINE(HAVE_BSD, 1, [Define to 1 if your build target is BSD.]) + AM_CONDITIONAL(HAVE_BSD, true) +EOF |