net/netatalk: fix build with -fno-common in this old branch
This commit is contained in:
parent
c516f1148f
commit
279ade9dc6
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.68 2020/03/20 16:44:26 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.69 2021/02/17 15:57:42 naddy Exp $
|
||||
|
||||
PORTROACH= limit:^2
|
||||
|
||||
COMMENT= AFP file and print services for IP networks
|
||||
|
||||
DISTNAME= netatalk-2.2.6
|
||||
REVISION= 0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
14
net/netatalk/patches/patch-etc_afpd_directory_h
Normal file
14
net/netatalk/patches/patch-etc_afpd_directory_h
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-etc_afpd_directory_h,v 1.1 2021/02/17 15:57:42 naddy Exp $
|
||||
|
||||
Index: etc/afpd/directory.h
|
||||
--- etc/afpd/directory.h.orig
|
||||
+++ etc/afpd/directory.h
|
||||
@@ -93,7 +93,7 @@ struct maccess {
|
||||
#define AR_UWRITE (1<<2)
|
||||
#define AR_UOWN (1<<7)
|
||||
|
||||
-q_t *invalid_dircache_entries;
|
||||
+extern q_t *invalid_dircache_entries;
|
||||
|
||||
typedef int (*dir_loop)(struct dirent *, char *, void *);
|
||||
|
13
net/netatalk/patches/patch-etc_afpd_volume_h
Normal file
13
net/netatalk/patches/patch-etc_afpd_volume_h
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-etc_afpd_volume_h,v 1.1 2021/02/17 15:57:42 naddy Exp $
|
||||
|
||||
Index: etc/afpd/volume.h
|
||||
--- etc/afpd/volume.h.orig
|
||||
+++ etc/afpd/volume.h
|
||||
@@ -36,6 +36,6 @@ int afp_closevol (AFPObj *obj, char *ibuf, size_t
|
||||
/* 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
|
Loading…
Reference in New Issue
Block a user