ufraw: fix build with glib 2.68
This commit is contained in:
parent
e8b17d31ea
commit
16ef1c13d1
1 changed files with 30 additions and 0 deletions
30
srcpkgs/ufraw/patches/glib-2.68.patch
Normal file
30
srcpkgs/ufraw/patches/glib-2.68.patch
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
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__) \
|
Loading…
Add table
Add a link
Reference in a new issue