Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 10:38:06 +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: r459234 - in head/textproc/uim: . files
Message-ID:  <201801171038.w0HAc6QC013076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



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