public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/sdl-pango/files/, media-libs/sdl-pango/
@ 2024-01-31 23:43 James Le Cuirot
  0 siblings, 0 replies; only message in thread
From: James Le Cuirot @ 2024-01-31 23:43 UTC (permalink / raw
  To: gentoo-commits

commit:     5e529a13405f08edca871efbe73a0392f507051c
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Oct 22 02:25:45 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jan 31 23:43:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e529a13

media-libs/sdl-pango: Grab C99 patch from Fedora

Closes: https://bugs.gentoo.org/870868
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/35096
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/sdl-pango/files/SDL_Pango-0.1.2-fedora-c99.patch | 11 +++++++++++
 media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild              |  6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/media-libs/sdl-pango/files/SDL_Pango-0.1.2-fedora-c99.patch b/media-libs/sdl-pango/files/SDL_Pango-0.1.2-fedora-c99.patch
new file mode 100644
index 000000000000..611de8296a91
--- /dev/null
+++ b/media-libs/sdl-pango/files/SDL_Pango-0.1.2-fedora-c99.patch
@@ -0,0 +1,11 @@
+diff -rup a/src/SDL_Pango.c b/src/SDL_Pango.c
+--- a/src/SDL_Pango.c	2023-03-17 22:17:20.000000000 -0400
++++ b/src/SDL_Pango.c	2023-03-17 22:33:20.603873355 -0400
+@@ -229,6 +229,7 @@
+ #include <pango/pango.h>
+ #include <pango/pangoft2.h>
+ 
++#define __FT2_BUILD_UNIX_H__
+ #include "SDL_Pango.h"
+ 
+ //! non-zero if initialized

diff --git a/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild b/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild
index d9e65694aa7e..6d8898e14931 100644
--- a/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild
+++ b/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,6 +21,10 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/SDL_Pango-${PV}"
 
+PATCHES=(
+	"${FILESDIR}/SDL_Pango-0.1.2-fedora-c99.patch"
+)
+
 src_unpack() {
 	unpack SDL_Pango-${PV}.tar.gz
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-31 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-31 23:43 [gentoo-commits] repo/gentoo:master commit in: media-libs/sdl-pango/files/, media-libs/sdl-pango/ James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox