aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2021-08-03 02:45:58 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-08-03 02:47:10 +0000
commitc2f6f49a77c8ddb1f483d327c197028e57dd1810 (patch)
treec224fed166aa810ac59c261e8a0aac477b18d2bb
parenta0676fc963bff28aaf70f27f61aba44fa434d13c (diff)
downloadports-c2f6f49a77c8ddb1f483d327c197028e57dd1810.tar.gz
ports-c2f6f49a77c8ddb1f483d327c197028e57dd1810.zip
graphics/rawstudio: Prepare for glib 2.68.3
PR: 256200
-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 */