head 1.2; access; symbols pkgsrc-2024Q1:1.1.0.6 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.4 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2024.04.14.17.42.10; author adam; state dead; branches; next 1.1; commitid SDA1G0ZwAMb4z86F; 1.1 date 2023.07.01.22.14.59; author wiz; state Exp; branches; next ; commitid PMIOHB3dPVlEk9vE; desc @@ 1.2 log @gexiv2: updated to 0.14.2 gexiv2 0.14.2 - 24 Jul 2023 (stable) * Make compatible with exiv2 0.28 or later * Fix double free if creation of meta-data fails * Fix floating point compare in tests @ text @$NetBSD: patch-gexiv2_gexiv2-preview-image.cpp,v 1.1 2023/07/01 22:14:59 wiz Exp $ Fix build with exiv2 0.28.0. https://gitlab.gnome.org/GNOME/gexiv2/-/commit/06adc8fb70cb8c77c0cd364195d8251811106ef8 --- gexiv2/gexiv2-preview-image.cpp.orig 2023-05-06 08:50:03.000000000 +0000 +++ gexiv2/gexiv2-preview-image.cpp @@@@ -66,7 +66,7 @@@@ GExiv2PreviewImage* gexiv2_preview_image g_object_unref(self); - g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what()); + g_set_error_literal(error, g_quark_from_string("GExiv2"), static_cast(e.code()), e.what()); } return nullptr; } @@@@ -141,7 +141,7 @@@@ glong gexiv2_preview_image_try_write_fil try { return self->priv->image->writeFile(path); } catch (Exiv2::Error& e) { - g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what()); + g_set_error_literal(error, g_quark_from_string("GExiv2"), static_cast(e.code()), e.what()); } return -1; } @ 1.1 log @gexiv2: fix build with exiv2 0.28.0 using upstream patches. @ text @d1 1 a1 1 $NetBSD$ @