sysutils/kuser, fix build with clang6
PR: 224945
This commit is contained in:
parent
d230735d3f
commit
e3cd19a725
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458366
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= kuser
|
||||
PORTVERSION= ${KDE4_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils kde kde-kde4
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
15
sysutils/kuser/files/patch-globals.h
Normal file
15
sysutils/kuser/files/patch-globals.h
Normal file
@ -0,0 +1,15 @@
|
||||
error: invalid suffix on literal; C++11 requires a space between literal and identifier
|
||||
[-Wreserved-user-defined-literal]
|
||||
#define PWMKDB _PATH_PWD_MKDB" -p "PASSWORD_FILE
|
||||
|
||||
--- globals.h.orig 2018-01-07 18:03:51 UTC
|
||||
+++ globals.h
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <pwd.h>
|
||||
#define PASSWORD_FILE _PATH_MASTERPASSWD
|
||||
#define PASSWORD_FILE_MASK S_IRUSR | S_IWUSR
|
||||
- #define PWMKDB _PATH_PWD_MKDB" -p "PASSWORD_FILE
|
||||
+ #define PWMKDB _PATH_PWD_MKDB " -p " PASSWORD_FILE
|
||||
#define SKELDIR "/usr/share/skel"
|
||||
#define SKEL_FILE_PREFIX "dot"
|
||||
#define CRONTAB_DIR "/var/cron/tabs"
|
Loading…
Reference in New Issue
Block a user