audio/libgpod: llvm22 build fix, from Ariadne Conill via Alpine Linux

This commit is contained in:
naddy
2026-05-30 21:37:16 +00:00
parent cc22aa60bb
commit 58c362dd12
2 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
COMMENT= library to access the contents of an iPod
DISTNAME= libgpod-0.8.3
REVISION= 2
REVISION= 3
SHARED_LIBS += gpod 722.0 # 7.2
@@ -0,0 +1,21 @@
Index: src/ithumb-writer.c
--- src/ithumb-writer.c.orig
+++ src/ithumb-writer.c
@@ -728,7 +728,7 @@ ithumb_writer_handle_rotation (GdkPixbuf *pixbuf, guin
{
return gdk_pixbuf_rotate_simple (pixbuf, *rotation);
}
- return g_object_ref (G_OBJECT (pixbuf));
+ return GDK_PIXBUF(g_object_ref (G_OBJECT (pixbuf)));
}
/* On the iPhone, thumbnails are presented as squares in a grid.
@@ -968,7 +968,7 @@ ithumb_writer_write_thumbnail (iThumbWriter *writer,
else if (thumb->data_type == ITDB_THUMB_TYPE_PIXBUF)
{
Itdb_Thumb_Pixbuf *thumb_pixbuf = (Itdb_Thumb_Pixbuf *)thumb;
- pixbuf = g_object_ref (G_OBJECT (thumb_pixbuf->pixbuf));
+ pixbuf = GDK_PIXBUF(g_object_ref (G_OBJECT (thumb_pixbuf->pixbuf)));
}
if (pixbuf == NULL)