summarylogtreecommitdiffstats
path: root/netatalk-current_vol.patch
diff options
context:
space:
mode:
authorJohn-Michael Mulesa2020-07-28 13:48:13 +1000
committerJohn-Michael Mulesa2020-07-28 13:48:13 +1000
commit81cf0215664a1dd730a19ca9cba3bffd58058221 (patch)
tree9ee85818e1b2fd380390b5918ce580b129794536 /netatalk-current_vol.patch
downloadaur-81cf0215664a1dd730a19ca9cba3bffd58058221.tar.gz
Resurrect netatalk-ddp (netatalk 2) from old AUR.
Some patches were sourced from NetBSD and Fedora; many thanks :)
Diffstat (limited to 'netatalk-current_vol.patch')
-rw-r--r--netatalk-current_vol.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/netatalk-current_vol.patch b/netatalk-current_vol.patch
new file mode 100644
index 000000000000..cdd4f570481d
--- /dev/null
+++ b/netatalk-current_vol.patch
@@ -0,0 +1,10 @@
+--- a/etc/afpd/volume.h
++++ b/etc/afpd/volume.h
+@@ -36,6 +36,6 @@
+ /* netatalk functions */
+ extern void close_all_vol (void);
+
+-struct vol *current_vol; /* last volume from getvolbyvid() */
++extern struct vol *current_vol; /* last volume from getvolbyvid() */
+
+ #endif