summaryrefslogtreecommitdiff
path: root/graphics/gimp-ufraw
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-08-30 22:35:32 +0000
committerjoerg <joerg@pkgsrc.org>2013-08-30 22:35:32 +0000
commite7db39f4b03ba88eafae563b9d50ed6fea9d9820 (patch)
tree324a541a09b9581b3a4e4f3a4adef9bbf47351a1 /graphics/gimp-ufraw
parent4b3e2fffa50a87d8fdc9cadd93550bd611fdb262 (diff)
downloadpkgsrc-e7db39f4b03ba88eafae563b9d50ed6fea9d9820.tar.gz
Don't define symbols with and without extern "C".
Diffstat (limited to 'graphics/gimp-ufraw')
-rw-r--r--graphics/gimp-ufraw/distinfo3
-rw-r--r--graphics/gimp-ufraw/patches/patch-ufraw.h26
2 files changed, 28 insertions, 1 deletions
diff --git a/graphics/gimp-ufraw/distinfo b/graphics/gimp-ufraw/distinfo
index 497e0ca1e68..857a3004081 100644
--- a/graphics/gimp-ufraw/distinfo
+++ b/graphics/gimp-ufraw/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.29 2013/03/27 22:16:41 gdt Exp $
+$NetBSD: distinfo,v 1.30 2013/08/30 22:35:32 joerg Exp $
SHA1 (20130327/ufraw-0.19.2.tar.gz) = 11a607e874eb16453a8f7964e4946a29d18b071d
RMD160 (20130327/ufraw-0.19.2.tar.gz) = 358b29124496acc6bff25c1a258cb5b8d64c6359
Size (20130327/ufraw-0.19.2.tar.gz) = 980934 bytes
+SHA1 (patch-ufraw.h) = e13d09f0ef158e5a8dfb10235fdb9cebc56e0596
diff --git a/graphics/gimp-ufraw/patches/patch-ufraw.h b/graphics/gimp-ufraw/patches/patch-ufraw.h
new file mode 100644
index 00000000000..e469085e32e
--- /dev/null
+++ b/graphics/gimp-ufraw/patches/patch-ufraw.h
@@ -0,0 +1,26 @@
+$NetBSD: patch-ufraw.h,v 1.1 2013/08/30 22:35:32 joerg Exp $
+
+--- ufraw.h.orig 2013-08-30 20:12:47.000000000 +0000
++++ ufraw.h
+@@ -55,6 +55,10 @@ extern const char uf_auto_wb[];
+ * UFObject Definitions for ufraw_settings.cc
+ */
+
++#ifdef __cplusplus
++extern "C" {
++#endif // __cplusplus
++
+ extern UFName ufWB;
+ extern UFName ufPreset;
+ extern UFName ufWBFineTuning;
+@@ -78,10 +82,6 @@ extern UFName ufRawImage;
+ extern UFName ufRawResources;
+ extern UFName ufCommandLine;
+
+-#ifdef __cplusplus
+-extern "C" {
+-#endif // __cplusplus
+-
+ UFObject *ufraw_image_new();
+ #ifdef HAVE_LENSFUN
+ UFObject *ufraw_lensfun_new();