summaryrefslogtreecommitdiff
path: root/homebrew/msdl/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/msdl/patches.sh')
-rwxr-xr-xhomebrew/msdl/patches.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/homebrew/msdl/patches.sh b/homebrew/msdl/patches.sh
new file mode 100755
index 000000000..c760d5d92
--- /dev/null
+++ b/homebrew/msdl/patches.sh
@@ -0,0 +1,16 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/src/url.c b/src/url.c
+index 81783c7..356883a 100644
+--- a/src/url.c
++++ b/src/url.c
+@@ -266,7 +266,7 @@ void url_unescape_string(char *dst,char *src)
+ /*
+ * return true if 'c' is valid url character
+ */
+-inline int is_url_valid_char(int c)
++int is_url_valid_char(int c)
+ {
+ return (isalpha(c) ||
+ isdigit(c) ||
+EOF