summaryrefslogtreecommitdiff
path: root/graphics/rawstudio/files/patch-librawstudio_rawstudio.h
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2021-08-02 19:45:58 -0700
committerNeel Chauhan <nc@FreeBSD.org>2021-08-02 19:47:10 -0700
commitc2f6f49a77c8ddb1f483d327c197028e57dd1810 (patch)
treec224fed166aa810ac59c261e8a0aac477b18d2bb /graphics/rawstudio/files/patch-librawstudio_rawstudio.h
parentnews/pan: Prepare for glib 2.68.3 (diff)
graphics/rawstudio: Prepare for glib 2.68.3
PR: 256200
Diffstat (limited to 'graphics/rawstudio/files/patch-librawstudio_rawstudio.h')
-rw-r--r--graphics/rawstudio/files/patch-librawstudio_rawstudio.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/rawstudio/files/patch-librawstudio_rawstudio.h b/graphics/rawstudio/files/patch-librawstudio_rawstudio.h
new file mode 100644
index 000000000000..5d914c4388c7
--- /dev/null
+++ b/graphics/rawstudio/files/patch-librawstudio_rawstudio.h
@@ -0,0 +1,23 @@
+--- librawstudio/rawstudio.h.orig 2021-08-03 02:36:16 UTC
++++ librawstudio/rawstudio.h
+@@ -20,10 +20,6 @@
+ #ifndef RAWSTUDIO_H
+ #define RAWSTUDIO_H
+
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+ #include <sys/types.h>
+ #include "rs-types.h"
+
+@@ -77,9 +73,5 @@ extern "C" {
+ #include "rs-color-space-selector.h"
+
+ #include "x86-cpu.h"
+-
+-#ifdef __cplusplus
+-} /* extern "c" */
+-#endif
+
+ #endif /* RAWSTUDIO_H */