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 1E45E158083 for ; Tue, 10 Sep 2024 18:34:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 350E0E29E1; Tue, 10 Sep 2024 18:34:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 1E5A6E29E1 for ; Tue, 10 Sep 2024 18:34:51 +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 52E82342FA5 for ; Tue, 10 Sep 2024 18:34:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 881AC1607 for ; Tue, 10 Sep 2024 18:34:48 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1725993273.e99629355758b234e36463b2394e36b9bd765c70.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/okular/, kde-apps/okular/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/okular/files/okular-23.08.5-implicit-vasprintf.patch kde-apps/okular/okular-24.05.2.ebuild kde-apps/okular/okular-24.08.0.ebuild X-VCS-Directories: kde-apps/okular/files/ kde-apps/okular/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e99629355758b234e36463b2394e36b9bd765c70 X-VCS-Branch: master Date: Tue, 10 Sep 2024 18:34:48 +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: 1e947671-4234-45ff-9ad2-735976564fc9 X-Archives-Hash: 3a29374343ba0fc223e63f1613bd84b2 commit: e99629355758b234e36463b2394e36b9bd765c70 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 21 13:24:56 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 10 18:34:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9962935 kde-apps/okular: Fix musl build (implicit vasprintf decl) KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=398338 Upstream MR: https://invent.kde.org/graphics/okular/-/merge_requests/722 Cherry-picked from upstream's upstream: https://github.com/jlaurens/synctex/commit/4b0590e7d1817b004c71635f9e721edf1e368228 Bug: https://bugs.gentoo.org/922345 Closes: https://bugs.gentoo.org/939431 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/okular-23.08.5-implicit-vasprintf.patch | 29 ++++++++++++++++++++++ kde-apps/okular/okular-24.05.2.ebuild | 1 + kde-apps/okular/okular-24.08.0.ebuild | 1 + 3 files changed, 31 insertions(+) diff --git a/kde-apps/okular/files/okular-23.08.5-implicit-vasprintf.patch b/kde-apps/okular/files/okular-23.08.5-implicit-vasprintf.patch new file mode 100644 index 000000000000..685da3112291 --- /dev/null +++ b/kde-apps/okular/files/okular-23.08.5-implicit-vasprintf.patch @@ -0,0 +1,29 @@ +From a0f57bf7f984289c5b0ceefa2a784f97cd58428a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Germ=C3=A1n=20Poo-Caama=C3=B1o?= +Date: Sat, 30 May 2020 16:15:27 -0400 +Subject: [PATCH] Fix implicit declaration of vasprintf + +Fix build when compiling with `-Werror=implicit-function-declaration`. +--- + core/synctex/synctex_parser.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/core/synctex/synctex_parser.c b/core/synctex/synctex_parser.c +index 9eed566b3..a67006d39 100644 +--- a/core/synctex/synctex_parser.c ++++ b/core/synctex/synctex_parser.c +@@ -55,6 +55,11 @@ + * First level objects are sheets and forms, containing boxes, glues, kerns... + * The third tree allows to browse leaves according to tag and line. + */ ++/* Declare _GNU_SOURCE for accessing vasprintf. For MSC compiler, vasprintf is ++ * defined in this file ++ */ ++#define _GNU_SOURCE ++ + #if defined(SYNCTEX_USE_LOCAL_HEADER) + #include "synctex_parser_local.h" + #else +-- +2.44.0 + diff --git a/kde-apps/okular/okular-24.05.2.ebuild b/kde-apps/okular/okular-24.05.2.ebuild index ab6d9c0f7283..67a849e10972 100644 --- a/kde-apps/okular/okular-24.05.2.ebuild +++ b/kde-apps/okular/okular-24.05.2.ebuild @@ -65,6 +65,7 @@ RDEPEND="${DEPEND} PATCHES=( "${FILESDIR}/${PN}-24.04.80-tests.patch" # bug 734138 "${FILESDIR}/${PN}-20.08.2-hide-mobile-app.patch" # avoid same-name entry + "${FILESDIR}/${PN}-23.08.5-implicit-vasprintf.patch" # bug 922345; pending upstream ) src_configure() { diff --git a/kde-apps/okular/okular-24.08.0.ebuild b/kde-apps/okular/okular-24.08.0.ebuild index c39154790f33..6c78b54dae48 100644 --- a/kde-apps/okular/okular-24.08.0.ebuild +++ b/kde-apps/okular/okular-24.08.0.ebuild @@ -65,6 +65,7 @@ RDEPEND="${DEPEND} PATCHES=( "${FILESDIR}/${PN}-24.04.80-tests.patch" # bug 734138 "${FILESDIR}/${PN}-20.08.2-hide-mobile-app.patch" # avoid same-name entry + "${FILESDIR}/${PN}-23.08.5-implicit-vasprintf.patch" # bug 922345; pending upstream ) src_configure() {