public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libggi/, media-libs/libggi/files/
@ 2024-05-08 10:45 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-05-08 10:45 UTC (permalink / raw
  To: gentoo-commits

commit:     e88c6db1a899e68c63eb63fb177677aba929cb8e
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Wed Mar 27 20:33:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  8 10:42:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88c6db1

media-libs/libggi: Fix incompatible function pointer types

Closes: https://bugs.gentoo.org/880931
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/35955
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libggi/files/libggi-2.2.2-incompatible-types.patch | 11 +++++++++++
 .../libggi/{libggi-2.2.2-r1.ebuild => libggi-2.2.2-r2.ebuild} |  1 +
 2 files changed, 12 insertions(+)

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
similarity index 96%
rename from media-libs/libggi/libggi-2.2.2-r1.ebuild
rename to 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() {


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

only message in thread, other threads:[~2024-05-08 10:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 10:45 [gentoo-commits] repo/gentoo:master commit in: media-libs/libggi/, media-libs/libggi/files/ Sam James

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