public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/, sci-libs/gdal/files/
Date: Mon, 13 Jan 2025 17:12:13 +0000 (UTC)	[thread overview]
Message-ID: <1736788312.29d0899d90adbac2f777a6c1ea9e8651c4f50f96.asturm@gentoo> (raw)

commit:     29d0899d90adbac2f777a6c1ea9e8651c4f50f96
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 21:50:57 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 17:11:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d0899d

sci-libs/gdal: Fix build w/ app-text/poppler-24.12

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch | 27 ++++++++++++++++++++++
 sci-libs/gdal/gdal-3.9.1-r1.ebuild                 |  3 ++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch b/sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch
new file mode 100644
index 000000000000..9634de6e3941
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-3.9.1-poppler-24.12.patch
@@ -0,0 +1,27 @@
+From ada4fa75910dab127ee4b79256a676da6d4636c0 Mon Sep 17 00:00:00 2001
+From: Even Rouault <even.rouault@spatialys.com>
+Date: Mon, 9 Dec 2024 18:18:31 +0100
+Subject: [PATCH] PDF: fix build issue on CondaForge build infrastructure (gcc
+ 13.3)
+
+Cf https://github.com/conda-forge/gdal-feedstock/pull/1019#issuecomment-2528710051
+---
+ frmts/pdf/pdfsdk_headers.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/frmts/pdf/pdfsdk_headers.h b/frmts/pdf/pdfsdk_headers.h
+index 00cc4067fe5b..d2a3a449d124 100644
+--- a/frmts/pdf/pdfsdk_headers.h
++++ b/frmts/pdf/pdfsdk_headers.h
+@@ -19,6 +19,11 @@
+ 
+ #ifdef HAVE_POPPLER
+ 
++// The "#define private public" hacks we do below do not play well with the
++// sstream header.
++// Cf https://github.com/conda-forge/gdal-feedstock/pull/1019#issuecomment-2528710051
++#include <sstream>
++
+ /* Horrible hack because there's a conflict between struct FlateDecode of */
+ /* include/poppler/Stream.h and the FlateDecode() function of */
+ /* pdfium/core/include/fpdfapi/fpdf_parser.h. */

diff --git a/sci-libs/gdal/gdal-3.9.1-r1.ebuild b/sci-libs/gdal/gdal-3.9.1-r1.ebuild
index ceed348d315a..aed89b4d8a58 100644
--- a/sci-libs/gdal/gdal-3.9.1-r1.ebuild
+++ b/sci-libs/gdal/gdal-3.9.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -102,6 +102,7 @@ QA_CONFIG_IMPL_DECL_SKIP=(
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-3.6.4-abseil-cpp-20230125.2-c++17.patch
+	"${FILESDIR}"/${P}-poppler-24.12.patch
 )
 
 pkg_setup() {


             reply	other threads:[~2025-01-13 17:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-13 17:12 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-13 23:14 [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/, sci-libs/gdal/files/ Andreas Sturmlechner
2024-04-11 10:02 Andrew Ammerlaan
2023-05-10 19:27 Sam James
2023-04-23  6:06 Sam James
2021-03-09 20:43 Sam James
2020-08-05  8:26 Andreas Sturmlechner
2020-01-29 21:32 Andreas Sturmlechner
2020-01-01 15:19 Andreas Sturmlechner
2019-03-02 20:29 Andreas Sturmlechner
2019-01-12 20:07 Andreas Sturmlechner
2018-11-03 22:51 Andreas Sturmlechner
2018-08-12 19:17 Amy Liffey
2018-08-04 12:04 Amy Liffey
2018-06-19  9:09 Amy Liffey
2018-02-04 10:18 Andreas Sturmlechner
2018-01-16 21:06 Andreas Sturmlechner
2016-11-07 13:56 Amy Winston
2015-10-24 17:23 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736788312.29d0899d90adbac2f777a6c1ea9e8651c4f50f96.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox