Files
ufraw/ufraw-fix-c++.patch
Marcus Meissner 1f80e76c17 Accepting request 891035 from home:msmeissn:branches:graphics
- ufraw-fix-c++.patch: fixed building with C++, just assume the glib
  headers can handle extern "C" themselves.

OBS-URL: https://build.opensuse.org/request/show/891035
OBS-URL: https://build.opensuse.org/package/show/graphics/ufraw?expand=0&rev=56
2021-05-06 13:19:34 +00:00

22 lines
491 B
Diff

Index: ufraw-0.22/uf_glib.h
===================================================================
--- ufraw-0.22.orig/uf_glib.h
+++ ufraw-0.22/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__) \