]> git.pld-linux.org Git - packages/ufraw.git/blobdiff - ufraw-c++.patch
- added c++ patch (don't use extern C for glib, now it provides some C++ support...
[packages/ufraw.git] / ufraw-c++.patch
diff --git a/ufraw-c++.patch b/ufraw-c++.patch
new file mode 100644 (file)
index 0000000..1b11ace
--- /dev/null
@@ -0,0 +1,19 @@
+--- ufraw-0.22/uf_glib.h.orig  2015-06-16 05:58:38.000000000 +0200
++++ ufraw-0.22/uf_glib.h       2023-01-21 08:01:14.865902851 +0100
+@@ -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__) \
This page took 0.070828 seconds and 4 git commands to generate.