From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 17C49158086 for ; Sat, 23 Oct 2021 14:32:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 704DBE0886; Sat, 23 Oct 2021 14:32:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6AE2E087C for ; Sat, 23 Oct 2021 14:32:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BBB8A343452 for ; Sat, 23 Oct 2021 14:32:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3433D169 for ; Sat, 23 Oct 2021 14:32:08 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1634999511.33bdfd975f239c6d6433bc1587991cf9e3d31a64.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/uim/files/, app-i18n/uim/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/uim/files/uim-1.8.8-c++11.patch app-i18n/uim/uim-1.8.8-r2.ebuild X-VCS-Directories: app-i18n/uim/ app-i18n/uim/files/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: 33bdfd975f239c6d6433bc1587991cf9e3d31a64 X-VCS-Branch: master Date: Sat, 23 Oct 2021 14:32:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: acebc61e-a456-451d-94a4-cee6af2722b0 X-Archives-Hash: f33d6f6c0d65a5d01f2da1e035d82562 commit: 33bdfd975f239c6d6433bc1587991cf9e3d31a64 Author: Akinori Hattori gentoo org> AuthorDate: Sat Oct 23 14:21:57 2021 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Sat Oct 23 14:31:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33bdfd97 app-i18n/uim: fix build with Clang Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori gentoo.org> app-i18n/uim/files/uim-1.8.8-c++11.patch | 23 +++++++++++++++++++++++ app-i18n/uim/uim-1.8.8-r2.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/app-i18n/uim/files/uim-1.8.8-c++11.patch b/app-i18n/uim/files/uim-1.8.8-c++11.patch new file mode 100644 index 00000000000..07e08284096 --- /dev/null +++ b/app-i18n/uim/files/uim-1.8.8-c++11.patch @@ -0,0 +1,23 @@ +From bb25aac568359efbfb68e52dd8d9ee85e65d754b Mon Sep 17 00:00:00 2001 +From: Haelwenn Monnier +Date: Thu, 25 Oct 2018 09:10:16 +0200 +Subject: [PATCH] xim/main.cpp: FIx build against clang + +main.cpp:68:55: error: invalid suffix on literal; C++11 requires a space between literal and identifier +--- + xim/main.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xim/main.cpp b/xim/main.cpp +index a0b0beceb..c5818ca4a 100644 +--- a/xim/main.cpp ++++ b/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" diff --git a/app-i18n/uim/uim-1.8.8-r2.ebuild b/app-i18n/uim/uim-1.8.8-r2.ebuild index 99ed8908464..3e0f4c05b07 100644 --- a/app-i18n/uim/uim-1.8.8-r2.ebuild +++ b/app-i18n/uim/uim-1.8.8-r2.ebuild @@ -80,6 +80,7 @@ PATCHES=( "${FILESDIR}"/${PN}-tinfo.patch "${FILESDIR}"/${PN}-xkb.patch "${FILESDIR}"/${PN}-zh-TW.patch + "${FILESDIR}"/${P}-c++11.patch "${FILESDIR}"/${P}-desktop.patch "${FILESDIR}"/${P}-fno-common.patch )