summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNHOrus <jy6x2b32pie9@yahoo.com>2024-03-28 00:33:45 +0400
committerSam James <sam@gentoo.org>2024-05-08 11:42:52 +0100
commite88c6db1a899e68c63eb63fb177677aba929cb8e (patch)
tree46189055b2a9055e137099859efa33dde00fa38d /media-libs/libggi
parentsys-apps/intune-portal: Bump to 1.2404.23, drop old 1.2402.12 (diff)
downloadgentoo-e88c6db1a899e68c63eb63fb177677aba929cb8e.tar.gz
gentoo-e88c6db1a899e68c63eb63fb177677aba929cb8e.tar.bz2
gentoo-e88c6db1a899e68c63eb63fb177677aba929cb8e.zip
media-libs/libggi: Fix incompatible function pointer types
Closes: https://bugs.gentoo.org/880931 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/35955 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libggi')
-rw-r--r--media-libs/libggi/files/libggi-2.2.2-incompatible-types.patch11
-rw-r--r--media-libs/libggi/libggi-2.2.2-r2.ebuild (renamed from media-libs/libggi/libggi-2.2.2-r1.ebuild)1
2 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libggi/files/libggi-2.2.2-incompatible-types.patch b/media-libs/libggi/files/libggi-2.2.2-incompatible-types.patch
new file mode 100644
index 000000000000..fdfbccb10f2a
--- /dev/null
+++ b/media-libs/libggi/files/libggi-2.2.2-incompatible-types.patch
@@ -0,0 +1,11 @@
+--- a/display/X/helper/dga/dga.c 2024-03-27 20:58:09.954061371 +0400
++++ b/display/X/helper/dga/dga.c 2024-03-27 20:58:26.408971886 +0400
+@@ -261,7 +261,7 @@
+
+ /* This function performs the CheckMode operation and returns
+ * the number of the best mode. */
+-static int ggi_xdga_validate_mode(ggi_visual * vis, int num,
++static int ggi_xdga_validate_mode(ggi_visual * vis, long int num,
+ ggi_mode * mode)
+ {
+ ggi_x_priv *priv;
diff --git a/media-libs/libggi/libggi-2.2.2-r1.ebuild b/media-libs/libggi/libggi-2.2.2-r2.ebuild
index 5c776bc44459..ad874eeb201b 100644
--- a/media-libs/libggi/libggi-2.2.2-r1.ebuild
+++ b/media-libs/libggi/libggi-2.2.2-r2.ebuild
@@ -29,6 +29,7 @@ DOCS=( ChangeLog ChangeLog.1999 FAQ NEWS README )
PATCHES=(
"${FILESDIR}/${P}-slibtool.patch" # 775584
+ "${FILESDIR}/${P}-incompatible-types.patch" # 880931
)
src_prepare() {