summaryrefslogtreecommitdiff
path: root/homebrew/winexe/patches.sh
blob: 6a48b3ac29bd90ddcaa6cea5835da9513c7e2036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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