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 96979158094 for ; Sun, 17 Jul 2022 15:39:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EBA1E09EE; Sun, 17 Jul 2022 15:39:44 +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 6757DE077C for ; Sun, 17 Jul 2022 15:39:44 +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 6D64D341012 for ; Sun, 17 Jul 2022 15:39:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB0E353E for ; Sun, 17 Jul 2022 15:39:41 +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: <1658072075.fac3d0202ece002c52b02a95d0cf0476d1dc446f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/OpenNI/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/OpenNI/OpenNI-1.5.7.10-r2.ebuild dev-libs/OpenNI/OpenNI-1.5.7.10-r3.ebuild dev-libs/OpenNI/OpenNI-9999.ebuild X-VCS-Directories: dev-libs/OpenNI/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fac3d0202ece002c52b02a95d0cf0476d1dc446f X-VCS-Branch: master Date: Sun, 17 Jul 2022 15:39:41 +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: e82e33b3-1cbd-4992-bde9-e28dcffe3c2e X-Archives-Hash: d3fe1a71b14dcd10c771073c1924dd7a commit: fac3d0202ece002c52b02a95d0cf0476d1dc446f Author: Sam James gentoo org> AuthorDate: Sun Jul 17 15:33:13 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 17 15:34:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac3d020 dev-libs/OpenNI: force -fno-strict-aliasing Closes: https://bugs.gentoo.org/855671 Signed-off-by: Sam James gentoo.org> .../{OpenNI-1.5.7.10-r2.ebuild => OpenNI-1.5.7.10-r3.ebuild} | 9 ++++++--- dev-libs/OpenNI/OpenNI-9999.ebuild | 11 +++++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/dev-libs/OpenNI/OpenNI-1.5.7.10-r2.ebuild b/dev-libs/OpenNI/OpenNI-1.5.7.10-r3.ebuild similarity index 93% rename from dev-libs/OpenNI/OpenNI-1.5.7.10-r2.ebuild rename to dev-libs/OpenNI/OpenNI-1.5.7.10-r3.ebuild index c20e1e338bd8..dd1ccb8c41f8 100644 --- a/dev-libs/OpenNI/OpenNI-1.5.7.10-r2.ebuild +++ b/dev-libs/OpenNI/OpenNI-1.5.7.10-r3.ebuild @@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then EGIT_REPO_URI="https://github.com/OpenNI/OpenNI" fi -inherit ${SCM} toolchain-funcs multilib java-pkg-opt-2 +inherit ${SCM} flag-o-matic toolchain-funcs java-pkg-opt-2 if [ "${PV#9999}" != "${PV}" ] ; then SRC_URI="" @@ -26,16 +26,16 @@ SLOT="0" IUSE="doc java opengl" RDEPEND=" + media-libs/libjpeg-turbo:= virtual/libusb:1 virtual/libudev - virtual/jpeg:0 dev-libs/tinyxml opengl? ( media-libs/freeglut !dev-libs/OpenNI2[opengl] ) java? ( virtual/jre:1.8 ) " DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) java? ( virtual/jdk:1.8 )" +BDEPEND="doc? ( app-doc/doxygen )" PATCHES=( "${FILESDIR}/tinyxml.patch" @@ -57,6 +57,9 @@ src_prepare() { } src_compile() { + # bug #855671 + append-flags -fno-strict-aliasing + emake -C "${S}/Platform/Linux/Build" \ CC="$(tc-getCC)" \ CXX="$(tc-getCXX)" \ diff --git a/dev-libs/OpenNI/OpenNI-9999.ebuild b/dev-libs/OpenNI/OpenNI-9999.ebuild index 0febb7dba0b7..a200d7f1be3e 100644 --- a/dev-libs/OpenNI/OpenNI-9999.ebuild +++ b/dev-libs/OpenNI/OpenNI-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then EGIT_REPO_URI="https://github.com/OpenNI/OpenNI" fi -inherit ${SCM} toolchain-funcs multilib java-pkg-opt-2 +inherit ${SCM} flag-o-matic toolchain-funcs java-pkg-opt-2 if [ "${PV#9999}" != "${PV}" ] ; then SRC_URI="" @@ -26,16 +26,16 @@ SLOT="0" IUSE="doc java opengl" RDEPEND=" + media-libs/libjpeg-turbo:= virtual/libusb:1 virtual/libudev - virtual/jpeg:0 dev-libs/tinyxml opengl? ( media-libs/freeglut !dev-libs/OpenNI2[opengl] ) java? ( virtual/jre:1.8 ) " DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) java? ( virtual/jdk:1.8 )" +BDEPEND="doc? ( app-doc/doxygen )" PATCHES=( "${FILESDIR}/tinyxml.patch" @@ -56,6 +56,9 @@ src_prepare() { } src_compile() { + # bug #855671 + append-flags -fno-strict-aliasing + emake -C "${S}/Platform/Linux/Build" \ CC="$(tc-getCC)" \ CXX="$(tc-getCXX)" \