aboutsummaryrefslogtreecommitdiff
path: root/pkgs/libatsha204/multiple-definitions.patch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-08-08 08:27:06 +0200
committerKarel Kočí <cynerd@email.cz>2022-08-08 08:27:06 +0200
commit07896ee61dba47bc57c4c3b3b819033dc0324a1b (patch)
tree42ee9d052e6738e7b5dac4a1842f20f72bf4ed96 /pkgs/libatsha204/multiple-definitions.patch
parentdefa8544d9437116a652827db62cbbf1f8933d5e (diff)
downloadnixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.tar.gz
nixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.tar.bz2
nixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.zip
Turris Omnia cross build now should work
Diffstat (limited to 'pkgs/libatsha204/multiple-definitions.patch')
-rw-r--r--pkgs/libatsha204/multiple-definitions.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/libatsha204/multiple-definitions.patch b/pkgs/libatsha204/multiple-definitions.patch
new file mode 100644
index 0000000..94dd5fc
--- /dev/null
+++ b/pkgs/libatsha204/multiple-definitions.patch
@@ -0,0 +1,13 @@
+diff --git a/src/libatsha204/dnsmagic.c b/src/libatsha204/dnsmagic.c
+index d5f82b4..dc0bb90 100644
+--- a/src/libatsha204/dnsmagic.c
++++ b/src/libatsha204/dnsmagic.c
+@@ -42,7 +42,7 @@
+ /*
+ * Global variable with configuration and some initial config values.
+ */
+-atsha_configuration g_config;
++extern atsha_configuration g_config;
+
+ /*
+ * Get decimal number from its string representation