mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
audio/libgpod: llvm22 build fix, from Ariadne Conill via Alpine Linux
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user