From 16ef1c13d1b323d63dbb479b222a8110cdb7de58 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 9 Oct 2022 23:15:52 +0200 Subject: [PATCH] ufraw: fix build with glib 2.68 --- srcpkgs/ufraw/patches/glib-2.68.patch | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/ufraw/patches/glib-2.68.patch diff --git a/srcpkgs/ufraw/patches/glib-2.68.patch b/srcpkgs/ufraw/patches/glib-2.68.patch new file mode 100644 index 00000000000..5b61468f118 --- /dev/null +++ b/srcpkgs/ufraw/patches/glib-2.68.patch @@ -0,0 +1,30 @@ +From c56f8be3caf1cf3d9a5c80597bdbaf1325faacc0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= +Date: Tue, 13 Apr 2021 23:45:39 +0100 +Subject: [PATCH] Fix build against glib-2.68 fixes #10 + +--- + uf_glib.h | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/uf_glib.h b/uf_glib.h +index 21c10b19..56cd6971 100644 +--- a/uf_glib.h ++++ b/uf_glib.h +@@ -13,13 +13,13 @@ + #ifndef _UF_GLIB_H + #define _UF_GLIB_H + ++#include ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif + +-#include +-#include +- + // g_win32_locale_filename_from_utf8 is needed only on win32 + #ifdef _WIN32 + #define uf_win32_locale_filename_from_utf8(__some_string__) \