svn commit: r459234 - in head/textproc/uim: . files

Tobias C. Berner tcberner at FreeBSD.org
Wed Jan 17 10:38:07 UTC 2018


Author: tcberner
Date: Wed Jan 17 10:38:06 2018
New Revision: 459234
URL: https://svnweb.freebsd.org/changeset/ports/459234

Log:
  texproc/uim fix build with clang6
  
  PR:		224669

Added:
  head/textproc/uim/files/patch-xim_main.cpp   (contents, props changed)
Modified:
  head/textproc/uim/Makefile

Modified: head/textproc/uim/Makefile
==============================================================================
--- head/textproc/uim/Makefile	Wed Jan 17 10:21:32 2018	(r459233)
+++ head/textproc/uim/Makefile	Wed Jan 17 10:38:06 2018	(r459234)
@@ -3,7 +3,7 @@
 
 PORTNAME=	uim
 PORTVERSION=	1.8.6
-PORTREVISION?=	2
+PORTREVISION?=	3
 CATEGORIES?=	textproc
 MASTER_SITES=	https://github.com/uim/uim/releases/download/${PORTNAME}-${PORTVERSION}/
 .if !defined(UIM_SLAVE) && defined(WITHOUT_X11)

Added: head/textproc/uim/files/patch-xim_main.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/uim/files/patch-xim_main.cpp	Wed Jan 17 10:38:06 2018	(r459234)
@@ -0,0 +1,15 @@
+error: invalid suffix on literal; C++11 requires a space between literal and identifier 
+   [-Wreserved-user-defined-literal]
+   #define VERSION_NAME "uim-xim under the way! Version "PACKAGE_VERSION"\n"
+
+--- xim/main.cpp.orig	2018-01-17 10:10:47 UTC
++++ xim/main.cpp
+@@ -65,7 +65,7 @@ int g_option_mask;
+ int scr_width, scr_height;
+ int host_byte_order;
+ 
+-#define VERSION_NAME "uim-xim under the way! Version "PACKAGE_VERSION"\n"
++#define VERSION_NAME "uim-xim under the way! Version " PACKAGE_VERSION "\n"
+ const char *version_name=VERSION_NAME;
+ const char *usage=
+ "--help , --version :Show usage or version\n"


More information about the svn-ports-head mailing list