summarylogtreecommitdiffstats
path: root/extern-m2program.patch
diff options
context:
space:
mode:
authorAndrew Sun2020-07-17 15:51:08 -0400
committerAndrew Sun2020-07-17 15:51:08 -0400
commitf0e666a5b148b10f2b2e91ad52986bd6067997c0 (patch)
tree093eb24f7893777b21df75fdd56614dea719782d /extern-m2program.patch
parent4c551a394d0628b96b30f96c02ce06d6c7a36946 (diff)
downloadaur-f0e666a5b148b10f2b2e91ad52986bd6067997c0.tar.gz
fix build with gcc10
Diffstat (limited to 'extern-m2program.patch')
-rw-r--r--extern-m2program.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extern-m2program.patch b/extern-m2program.patch
new file mode 100644
index 000000000000..1232eedf75df
--- /dev/null
+++ b/extern-m2program.patch
@@ -0,0 +1,11 @@
+--- a/src/unixy.h 2020-07-17 14:37:50.273848775 -0400
++++ b/src/unixy.h 2020-07-17 14:41:17.922678562 -0400
+@@ -38,7 +38,7 @@
+ #include <bstring.h>
+ #include <unistd.h>
+
+-char *m2program;
++extern char *m2program;
+
+ int Unixy_chroot(bstring path);
+