guix-mirrors/gnu/packages/patches/gimp-fix-metadata-editor.patch
Liliana Marie Prikler 06f79dc2bd
gnu: gimp-2: Fix build.
* gnu/packages/patches/gimp-fix-metadata-editor.patch: New file.
* gnu/packages/patches/gimp-fix-tiff-load.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them here.
* gnu/packages/gimp.scm (gimp-2) [source] <patches>: Apply them.

Fixes: #1676
Change-Id: I6524d7e4f90f56d75f69a3b65e0ee6627924258c
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-08-29 09:02:01 +09:00

25 lines
970 B
Diff

From 51311f913d9f417d121f59b83d560c7b4b853d1c Mon Sep 17 00:00:00 2001
From: Simon Budig <simon@budig.de>
Date: Sat, 20 May 2023 22:25:40 +0200
Subject: [PATCH] metadata: shut up a weird warning
---
plug-ins/metadata/metadata-editor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plug-ins/metadata/metadata-editor.c b/plug-ins/metadata/metadata-editor.c
index a3992e40ddc..5bf6ef709f1 100644
--- a/plug-ins/metadata/metadata-editor.c
+++ b/plug-ins/metadata/metadata-editor.c
@@ -2846,7 +2846,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
}
else
{
- if (! g_strv_contains (values, equiv_values[evi]))
+ if (! g_strv_contains ((const gchar * const *) values, equiv_values[evi]))
{
gchar *tmpvalue;
--
GitLab