summaryrefslogtreecommitdiff
path: root/homebrew/winexe/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/winexe/patches.sh')
-rwxr-xr-xhomebrew/winexe/patches.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/homebrew/winexe/patches.sh b/homebrew/winexe/patches.sh
new file mode 100755
index 000000000..6a48b3ac2
--- /dev/null
+++ b/homebrew/winexe/patches.sh
@@ -0,0 +1,15 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff -Naur winexe-1.00-orig/source4/winexe/winexe.h winexe-1.00/source4/winexe/winexe.h
+--- winexe-1.00-orig/source4/winexe/winexe.h 2011-06-18 00:00:00.000000000 +0000
++++ winexe-1.00/source4/winexe/winexe.h 2011-06-18 00:00:00.000000000 +0000
+@@ -63,7 +63,7 @@
+ int async_write(struct async_context *c, const void *buf, int len);
+ int async_close(struct async_context *c);
+
+-struct tevent_context *ev_ctx;
++extern struct tevent_context *ev_ctx;
+
+ /* winexesvc32_exe.c */
+ extern unsigned int winexesvc32_exe_len;
+EOF