Fix build with -fno-common
This commit is contained in:
parent
06412f62ef
commit
c0b0ffdeb2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550178
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= super
|
PORTNAME= super
|
||||||
PORTVERSION= 3.30.3
|
PORTVERSION= 3.30.3
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= security sysutils
|
CATEGORIES= security sysutils
|
||||||
MASTER_SITES= ftp://ftp.ucolick.org/pub/users/will/ \
|
MASTER_SITES= ftp://ftp.ucolick.org/pub/users/will/ \
|
||||||
http://www.ucolick.org/~will/RUE/super/
|
http://www.ucolick.org/~will/RUE/super/
|
||||||
|
11
security/super/files/patch-super.h
Normal file
11
security/super/files/patch-super.h
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- super.h.orig 2020-08-03 17:58:18 UTC
|
||||||
|
+++ super.h
|
||||||
|
@@ -290,7 +290,7 @@ typedef struct progList ProgList;
|
||||||
|
|
||||||
|
/* ========================================================================= */
|
||||||
|
#ifdef HAVE_ENUM
|
||||||
|
-enum {SUPER_AUTH_PASSWORD, SUPER_AUTH_PAM} Method;
|
||||||
|
+extern enum {SUPER_AUTH_PASSWORD, SUPER_AUTH_PAM} Method;
|
||||||
|
#else
|
||||||
|
/* No enums! */
|
||||||
|
#define SUPER_AUTH_PASSWORD 1
|
Loading…
Reference in New Issue
Block a user