diff --git a/sysutils/kuser/Makefile b/sysutils/kuser/Makefile index 8841bf5e16b4..c3c8555b19d0 100644 --- a/sysutils/kuser/Makefile +++ b/sysutils/kuser/Makefile @@ -2,7 +2,7 @@ PORTNAME= kuser PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils kde kde-kde4 MAINTAINER= kde@FreeBSD.org diff --git a/sysutils/kuser/files/patch-globals.h b/sysutils/kuser/files/patch-globals.h new file mode 100644 index 000000000000..854d707c8b80 --- /dev/null +++ b/sysutils/kuser/files/patch-globals.h @@ -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 + #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"