diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-10-22 04:25:45 +0200 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-01-31 23:43:21 +0000 |
commit | 5e529a13405f08edca871efbe73a0392f507051c (patch) | |
tree | fa3b17ec522c38de504a8e53d0376dcbc6c12402 /media-libs/sdl-pango | |
parent | sys-libs/glibc: add 2.39 (diff) | |
download | gentoo-5e529a13405f08edca871efbe73a0392f507051c.tar.gz gentoo-5e529a13405f08edca871efbe73a0392f507051c.tar.bz2 gentoo-5e529a13405f08edca871efbe73a0392f507051c.zip |
media-libs/sdl-pango: Grab C99 patch from Fedora
Closes: https://bugs.gentoo.org/870868
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/35096
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs/sdl-pango')
-rw-r--r-- | media-libs/sdl-pango/files/SDL_Pango-0.1.2-fedora-c99.patch | 11 | ||||
-rw-r--r-- | media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild | 6 |
2 files changed, 16 insertions, 1 deletions
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 } |