summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2013-08-30 22:35:32 +0000
committerjoerg <joerg>2013-08-30 22:35:32 +0000
commitadce5ded7d28fbb243cd4758fd9fb7e9000d896d (patch)
tree324a541a09b9581b3a4e4f3a4adef9bbf47351a1 /graphics
parentc4b6dabb09dd6ea06880d2ee76fe8d84285a9bed (diff)
downloadpkgsrc-adce5ded7d28fbb243cd4758fd9fb7e9000d896d.tar.gz
Don't define symbols with and without extern "C".
Diffstat (limited to 'graphics')
-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();