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 4BB9E158094 for ; Fri, 30 Sep 2022 02:14:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96A13E0E32; Fri, 30 Sep 2022 02:14:40 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7CDABE0E32 for ; Fri, 30 Sep 2022 02:14:40 +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 8E9EE341031 for ; Fri, 30 Sep 2022 02:14:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09FA61E for ; Fri, 30 Sep 2022 02:14:38 +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: <1664504066.7a0da2bafd776dfc30935a497316ec668a10aa24.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/xine-ui/, media-video/xine-ui/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/xine-ui/files/xine-ui-0.99.13-build.patch media-video/xine-ui/xine-ui-0.99.13.ebuild X-VCS-Directories: media-video/xine-ui/files/ media-video/xine-ui/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7a0da2bafd776dfc30935a497316ec668a10aa24 X-VCS-Branch: master Date: Fri, 30 Sep 2022 02:14:38 +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: 7c82ba56-1d5b-4604-ae9a-505d35475c71 X-Archives-Hash: b100effea32898f13d0cde8ca0194465 commit: 7a0da2bafd776dfc30935a497316ec668a10aa24 Author: Sam James gentoo org> AuthorDate: Fri Sep 30 02:14:17 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 30 02:14:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0da2ba media-video/xine-ui: backport build fix patch Closes: https://bugs.gentoo.org/871951 Signed-off-by: Sam James gentoo.org> .../xine-ui/files/xine-ui-0.99.13-build.patch | 43 ++++++++++++++++++++++ media-video/xine-ui/xine-ui-0.99.13.ebuild | 1 + 2 files changed, 44 insertions(+) diff --git a/media-video/xine-ui/files/xine-ui-0.99.13-build.patch b/media-video/xine-ui/files/xine-ui-0.99.13-build.patch new file mode 100644 index 000000000000..dc24720d97da --- /dev/null +++ b/media-video/xine-ui/files/xine-ui-0.99.13-build.patch @@ -0,0 +1,43 @@ +hg diff -r e352b6eef94b6441f4afc86f96abe247acc2a60b -r f9a98e02460348ca23ca2f5c2b39e62c8758b22d +https://sourceforge.net/p/xine/xine-ui/ci/e352b6eef94b6441f4afc86f96abe247acc2a60b/ +https://sourceforge.net/p/xine/tickets/10/ +https://bugs.gentoo.org/871951 + +--- a/configure.ac ++++ b/configure.ac +@@ -600,8 +600,10 @@ int n = my_strlen ("what"); + ])], [have_attr_iaso=yes], [have_attr_iaso=no]) + AC_MSG_RESULT([$have_attr_iaso]) + if test x"$have_attr_iaso" = x"yes" ; then +- AC_DEFINE([ATTR_INLINE_ALL_STRINGOPS], +- [__attribute__ ((__target__ ("inline-all-stringops")))], ++ AC_DEFINE([ATTR_INLINE_ALL_STRINGOPS], [__attribute__ ((__target__ ("inline-all-stringops")))], ++ [Define this to a function attribute that inlines string handling code]) ++else ++ AC_DEFINE([ATTR_INLINE_ALL_STRINGOPS], [], + [Define this to a function attribute that inlines string handling code]) + fi + +--- a/src/common/utils.h ++++ b/src/common/utils.h +@@ -21,7 +21,7 @@ + #ifndef _COMMON_UTILS_H + #define _COMMON_UTILS_H + +-#ifndef HAVE_CONFIG_H ++#ifndef PACKAGE_NAME + #error config.h not included + #endif + +--- a/src/xitk/network.c ++++ b/src/xitk/network.c +@@ -34,7 +34,9 @@ + + //#warning IMPLEMENT POST SUPPORT + ++#ifdef HAVE_CONFIG_H + #include "config.h" ++#endif + + #ifdef HAVE_READLINE + diff --git a/media-video/xine-ui/xine-ui-0.99.13.ebuild b/media-video/xine-ui/xine-ui-0.99.13.ebuild index 799cc50106f2..cba68d230908 100644 --- a/media-video/xine-ui/xine-ui-0.99.13.ebuild +++ b/media-video/xine-ui/xine-ui-0.99.13.ebuild @@ -50,6 +50,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-0.99.10-desktop.patch + "${FILESDIR}"/${P}-build.patch ) src_prepare() {