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 AE85D158CBB for ; Mon, 8 May 2023 17:36:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4C10E0874; Mon, 8 May 2023 17:36:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD5C5E0874 for ; Mon, 8 May 2023 17:36:25 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F03EB33BE6B for ; Mon, 8 May 2023 17:36:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67633A2B for ; Mon, 8 May 2023 17:36:23 +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: <1683567324.f5f05e9efa68f48ae23a3adf48e04178b4ab7f4e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jna/, dev-java/jna/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jna/files/jna-5.11.0-no-Werror.patch dev-java/jna/jna-5.11.0-r1.ebuild X-VCS-Directories: dev-java/jna/files/ dev-java/jna/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f5f05e9efa68f48ae23a3adf48e04178b4ab7f4e X-VCS-Branch: master Date: Mon, 8 May 2023 17:36:23 +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: fdb01cbd-4d52-4fc3-bb0c-7cca7b520ca3 X-Archives-Hash: d02f0e6ea4f8181387e244bbea9e41d9 commit: f5f05e9efa68f48ae23a3adf48e04178b4ab7f4e Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Mon May 8 05:38:44 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon May 8 17:35:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f05e9e dev-java/jna: patch to avoid adding -Werror flag Closes: https://bugs.gentoo.org/888813 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Sam James gentoo.org> dev-java/jna/files/jna-5.11.0-no-Werror.patch | 17 +++++++++++++++++ dev-java/jna/jna-5.11.0-r1.ebuild | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/dev-java/jna/files/jna-5.11.0-no-Werror.patch b/dev-java/jna/files/jna-5.11.0-no-Werror.patch new file mode 100644 index 000000000000..629a1a4452de --- /dev/null +++ b/dev-java/jna/files/jna-5.11.0-no-Werror.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/888813 +--- a/native/Makefile ++++ b/native/Makefile +@@ -356,11 +356,11 @@ ifeq ($(CC),gcc) + GCC_MAJOR_VERSION = $(shell gcc -dumpversion | cut -f 1 -d '.') + ifneq ($(GCC_MAJOR_VERSION),4) + ifneq ($(GCC_MAJOR_VERSION),3) +- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable -Wno-alloca-larger-than ++ LOC_CC_OPTS=-Wno-unknown-warning-option -Wno-clobbered -Wno-unused-variable -Wno-alloca-larger-than + endif + endif + else +- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable ++ LOC_CC_OPTS=-Wno-unknown-warning-option -Wno-clobbered -Wno-unused-variable + endif + + # Enable 64-bit builds if the arch demands it diff --git a/dev-java/jna/jna-5.11.0-r1.ebuild b/dev-java/jna/jna-5.11.0-r1.ebuild index d1b4898f918a..3753bc815a3c 100644 --- a/dev-java/jna/jna-5.11.0-r1.ebuild +++ b/dev-java/jna/jna-5.11.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,6 +47,7 @@ DOCS=( README.md CHANGES.md OTHERS TODO ) PATCHES=( "${FILESDIR}/5.10.0-build.xml.patch" "${FILESDIR}/5.11.0-makefile-flags.patch" + "${FILESDIR}/jna-5.11.0-no-Werror.patch" ) JAVA_ANT_REWRITE_CLASSPATH="true"