Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2018 18:18:30 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458366 - in head/sysutils/kuser: . files
Message-ID:  <201801071818.w07IIUAJ089125@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Jan  7 18:18:29 2018
New Revision: 458366
URL: https://svnweb.freebsd.org/changeset/ports/458366

Log:
  sysutils/kuser, fix build with clang6
  
  PR:		224945

Added:
  head/sysutils/kuser/files/patch-globals.h   (contents, props changed)
Modified:
  head/sysutils/kuser/Makefile

Modified: head/sysutils/kuser/Makefile
==============================================================================
--- head/sysutils/kuser/Makefile	Sun Jan  7 18:17:30 2018	(r458365)
+++ head/sysutils/kuser/Makefile	Sun Jan  7 18:18:29 2018	(r458366)
@@ -2,7 +2,7 @@
 
 PORTNAME=	kuser
 PORTVERSION=	${KDE4_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils kde kde-kde4
 
 MAINTAINER=	kde@FreeBSD.org

Added: head/sysutils/kuser/files/patch-globals.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/kuser/files/patch-globals.h	Sun Jan  7 18:18:29 2018	(r458366)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801071818.w07IIUAJ089125>