From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/, sci-libs/gdal/files/
Date: Sat, 24 Oct 2015 17:23:05 +0000 (UTC) [thread overview]
Message-ID: <1445707382.26928529bd50baa3f6a6ef0a77eb4012c82a0fd1.jlec@gentoo> (raw)
commit: 26928529bd50baa3f6a6ef0a77eb4012c82a0fd1
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 24 17:22:40 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 24 17:23:02 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26928529
sci-libs/gdal: Backport patch for glibc-2.22
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563608
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/gdal/files/gdal-2.0.0-glibc-2.22-backport.patch | 14 ++++++++++++++
sci-libs/gdal/gdal-2.0.0-r1.ebuild | 2 ++
2 files changed, 16 insertions(+)
diff --git a/sci-libs/gdal/files/gdal-2.0.0-glibc-2.22-backport.patch b/sci-libs/gdal/files/gdal-2.0.0-glibc-2.22-backport.patch
new file mode 100644
index 0000000..f23ff76
--- /dev/null
+++ b/sci-libs/gdal/files/gdal-2.0.0-glibc-2.22-backport.patch
@@ -0,0 +1,14 @@
+Index: /branches/2.0/gdal/apps/gdalserver.c
+===================================================================
+--- /branches/2.0/gdal/apps/gdalserver.c (revision 29667)
++++ /branches/2.0/gdal/apps/gdalserver.c (revision 29668)
+@@ -28,7 +28,6 @@
+ ****************************************************************************/
+
+-#if defined(__STDC_VERSION__)
+-#define _XOPEN_SOURCE
+-#endif
++// So that __USE_XOPEN2K is defined to have getaddrinfo
++#define _XOPEN_SOURCE 600
+
+ #include "cpl_port.h"
diff --git a/sci-libs/gdal/gdal-2.0.0-r1.ebuild b/sci-libs/gdal/gdal-2.0.0-r1.ebuild
index 8f44889..6a34452 100644
--- a/sci-libs/gdal/gdal-2.0.0-r1.ebuild
+++ b/sci-libs/gdal/gdal-2.0.0-r1.ebuild
@@ -80,6 +80,8 @@ pkg_setup() {
src_prepare() {
java-pkg-opt-2_src_prepare
+ epatch "${FILESDIR}"/${P}-glibc-2.22-backport.patch
+
# fix datadir and docdir placement
sed -i \
-e "s:@datadir@:@datadir@/gdal:" \
next reply other threads:[~2015-10-24 17:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-24 17:23 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-11-07 13:56 [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/, sci-libs/gdal/files/ Amy Winston
2018-01-16 21:06 Andreas Sturmlechner
2018-02-04 10:18 Andreas Sturmlechner
2018-06-19 9:09 Amy Liffey
2018-08-04 12:04 Amy Liffey
2018-08-12 19:17 Amy Liffey
2018-11-03 22:51 Andreas Sturmlechner
2019-01-12 20:07 Andreas Sturmlechner
2019-03-02 20:29 Andreas Sturmlechner
2020-01-01 15:19 Andreas Sturmlechner
2020-01-29 21:32 Andreas Sturmlechner
2020-08-05 8:26 Andreas Sturmlechner
2021-03-09 20:43 Sam James
2023-04-23 6:06 Sam James
2023-05-10 19:27 Sam James
2024-04-11 10:02 Andrew Ammerlaan
2024-05-13 23:14 Andreas Sturmlechner
2025-01-13 17:12 Andreas Sturmlechner
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=1445707382.26928529bd50baa3f6a6ef0a77eb4012c82a0fd1.jlec@gentoo \
--to=jlec@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