void-packages/srcpkgs/ufraw/patches/glib-2.68.patch

31 lines
745 B
Diff

From c56f8be3caf1cf3d9a5c80597bdbaf1325faacc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <sergio@serjux.com>
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 <glib.h>
+#include <glib/gstdio.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <glib.h>
-#include <glib/gstdio.h>
-
// g_win32_locale_filename_from_utf8 is needed only on win32
#ifdef _WIN32
#define uf_win32_locale_filename_from_utf8(__some_string__) \