summarylogtreecommitdiffstats
path: root/0001-missing-extern.patch
diff options
context:
space:
mode:
authorPaul Hentschel (hpmachining)2020-07-03 11:03:44 -0400
committerPaul Hentschel (hpmachining)2020-07-03 11:14:58 -0400
commitb37780d4c0af07c5d1a1354ef4768705fc08bba9 (patch)
treec33525dbe26b2c611ab35641c4f0eb1ad7338a3a /0001-missing-extern.patch
parent22829dbb16cdccb9502abc795337efcfb68cc798 (diff)
downloadaur-lwtools.tar.gz
Adopted package. Patch added, PKGBUILD update.
Added patch for upstream "Fix missing extern declaration" Added .gitignore Style tweaks to PKGBUILD PKGBUILD changes: New maintainer. Added patch to source. Added prepare() function to apply patch Added links to scripts (gcc6809 requirement) in package() Installed documentation in package().
Diffstat (limited to '0001-missing-extern.patch')
-rw-r--r--0001-missing-extern.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0001-missing-extern.patch b/0001-missing-extern.patch
new file mode 100644
index 00000000000..5fceaaf4d9a
--- /dev/null
+++ b/0001-missing-extern.patch
@@ -0,0 +1,26 @@
+# HG changeset patch
+# User William Astle <lost@l-w.ca>
+# Date 1581026645 25200
+# Thu Feb 06 15:04:05 2020 -0700
+# Node ID dd9c5cef2e8032c13b5d45a8468981e3da5b7cb5
+# Parent 7e8298f7bc0a300aed8933b8f19486b536ba7b85
+Fix missing extern declaration
+
+Variable declarations in headers need to be "extern". Fix missing "extern"
+in input.h. (Turns it it was there previously and was erroneously removed in
+a previous clean up patch.)
+
+Thank you to John W. Linville <linville@redhat.com> for reporting the
+problem.
+
+diff -r 7e8298f7bc0a -r dd9c5cef2e80 lwasm/input.h
+--- a/lwasm/input.h Sun Oct 27 12:06:01 2019 -0600
++++ b/lwasm/input.h Thu Feb 06 15:04:05 2020 -0700
+@@ -46,6 +46,6 @@
+ struct ifl *next;
+ };
+
+-struct ifl *ifl_head;
++extern struct ifl *ifl_head;
+
+ #endif