ports/graphics/ufraw/patches/patch-uf_glib_h

24 lines
557 B
Text

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
Index: uf_glib.h
--- uf_glib.h.orig
+++ uf_glib.h
@@ -13,12 +13,12 @@
#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