From owner-svn-ports-all@freebsd.org Wed Jan 17 10:38:07 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A9A7EBC0DE; Wed, 17 Jan 2018 10:38:07 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 754A463B88; Wed, 17 Jan 2018 10:38:07 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B2E0F648F; Wed, 17 Jan 2018 10:38:06 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0HAc6pW013078; Wed, 17 Jan 2018 10:38:06 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0HAc6QC013076; Wed, 17 Jan 2018 10:38:06 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201801171038.w0HAc6QC013076@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Wed, 17 Jan 2018 10:38:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459234 - in head/textproc/uim: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/textproc/uim: . files X-SVN-Commit-Revision: 459234 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 10:38:07 -0000 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"