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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F0E8158090 for ; Sun, 15 May 2022 22:12:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A989E0931; Sun, 15 May 2022 22:12:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1496E0931 for ; Sun, 15 May 2022 22:12:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E49CA3418D7 for ; Sun, 15 May 2022 22:12:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80AEB46D for ; Sun, 15 May 2022 22:12:34 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1652652582.c5188fb4153e8626cc2c0ba0a8aad7c5b4aa86c4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/scim-bridge/files/, app-i18n/scim-bridge/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/scim-bridge/files/scim-bridge-0.4.16-fixes-send-function-call.patch app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild X-VCS-Directories: app-i18n/scim-bridge/files/ app-i18n/scim-bridge/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c5188fb4153e8626cc2c0ba0a8aad7c5b4aa86c4 X-VCS-Branch: master Date: Sun, 15 May 2022 22:12:34 +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: 887c2579-cba1-4d69-a5d5-d42266860032 X-Archives-Hash: c943232667b377b54e6c09ab25509c27 commit: c5188fb4153e8626cc2c0ba0a8aad7c5b4aa86c4 Author: orbea riseup net> AuthorDate: Sun May 15 17:23:38 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 15 22:09:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5188fb4 app-i18n/scim-bridge: Fix build with gcc7 Uses an old patch from Fedora. Bug: https://bugs.gentoo.org/645168 Fedora Commit: https://src.fedoraproject.org/rpms/scim-bridge/c/0532ab48617e02f5bfb1edaba17b22e88d9beaf4 Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> .../scim-bridge-0.4.16-fixes-send-function-call.patch | 15 +++++++++++++++ app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app-i18n/scim-bridge/files/scim-bridge-0.4.16-fixes-send-function-call.patch b/app-i18n/scim-bridge/files/scim-bridge-0.4.16-fixes-send-function-call.patch new file mode 100644 index 000000000000..fd894441a5a7 --- /dev/null +++ b/app-i18n/scim-bridge/files/scim-bridge-0.4.16-fixes-send-function-call.patch @@ -0,0 +1,15 @@ +From Fedora: +https://src.fedoraproject.org/rpms/scim-bridge/c/0532ab48617e02f5bfb1edaba17b22e88d9beaf4 +Index: scim-bridge-0.4.16/agent/scim-bridge-agent-signal-listener.cpp +=================================================================== +--- scim-bridge-0.4.16.orig/agent/scim-bridge-agent-signal-listener.cpp ++++ scim-bridge-0.4.16/agent/scim-bridge-agent-signal-listener.cpp +@@ -64,7 +64,7 @@ static void sig_quit (int sig) + { + if (!signal_occurred) { + signal_occurred = true; +- send (pipe_in, '\0', sizeof (char), MSG_NOSIGNAL); ++ send (pipe_in, "", sizeof (char), MSG_NOSIGNAL); + } + } + diff --git a/app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild b/app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild index 09cdd8f522b3..9fe5ab6806ac 100644 --- a/app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild +++ b/app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 inherit autotools gnome2-utils readme.gentoo-r1 @@ -42,6 +42,7 @@ PATCHES=( "${FILESDIR}/${P}+gcc-4.4.patch" "${FILESDIR}/${P}+gcc-4.7.patch" "${FILESDIR}/${P}-configure.ac.patch" #280887 + "${FILESDIR}/${P}-fixes-send-function-call.patch" # 645168 ) src_prepare() {