Commit 51eaa22b authored by Leo's avatar Leo
Browse files

community/afpfs-ng: fix build with -fno-common

parent cef7efca
......@@ -23,6 +23,7 @@ source="https://downloads.sourceforge.net/sourceforge/afpfs-ng/afpfs-ng-$pkgver.
09-afpfs-ng-0.8.1-fix-stat.patch
musl-fix-includes.patch
libedit.patch
gcc-10.patch
"
prepare() {
......@@ -60,4 +61,5 @@ c8d8ba5c1d5d31ed64594283f0d9b5f983b8e59765605900519f1e65d19b5fda91cfe01a81ac7b8e
af5b7c7095d7f813cb90e3a19baf84c60e85dc4e021e0d9157379cbef0c3e7bfa445daf882a66f54548bbf4a6bbd3ab51942e83d4bf3c6710a8c070efe2170ea 08-afpfs-ng-0.8.1-fix-errno.patch
57f41e50f186330d1c0bd0d118afeb3a5f4b98a49bf7818fb04a57404543cdc2639ce832480644092e98a79cd62b2a81d10aa09ec1bb0b9c61612fdc0c7f3277 09-afpfs-ng-0.8.1-fix-stat.patch
d5b6471e859d7fa8a46503e6ddf41981f896aaa3a4bce58dff5f5937d7dd529dd1073ac80afcf6b455f679201160738595f0bee6048098638501e95402595749 musl-fix-includes.patch
6fe34c913e500fa4801b69caafac56872ea31a60a9594b6582859700af272b382a6ba8250ae9eb6559bcbcd06fff2af6fed9209f96e24db1bc2c5731598f5943 libedit.patch"
6fe34c913e500fa4801b69caafac56872ea31a60a9594b6582859700af272b382a6ba8250ae9eb6559bcbcd06fff2af6fed9209f96e24db1bc2c5731598f5943 libedit.patch
93bae9d7b91efaa7417d6b859b6bf32fa1b6d0b40494156dd733e22226a8b5fa1bbbaee6828ab91787a1bf8891ab2c55d6c30f568f7077301341f101f395caa1 gcc-10.patch"
diff --git a/cmdline/cmdline_afp.h b/cmdline/cmdline_afp.h
index ebdf357..9f65e19 100644
--- a/cmdline/cmdline_afp.h
+++ b/cmdline/cmdline_afp.h
@@ -1,7 +1,7 @@
#ifndef CMDLINE_AFP_H_
#define CMDLINE_AFP_H_
-int full_url;
+extern int full_url;
int com_connect(char * arg);
int com_dir(char * arg);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment