summaryrefslogtreecommitdiff
path: root/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch')
-rw-r--r--media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch b/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
new file mode 100644
index 000000000000..221ec825f174
--- /dev/null
+++ b/media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch
@@ -0,0 +1,21 @@
+--- fidlib-0.9.10/fidlib.h
++++ fidlib-0.9.10/fidlib.h
+@@ -2,6 +2,10 @@
+ // fidlib include file
+ //
+
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ typedef struct FidFilter FidFilter;
+ struct FidFilter {
+ short typ; // Type of filter element 'I' IIR, 'F' FIR, or 0 for end of list
+@@ -66,3 +70,7 @@
+ extern void fid_run_zapbuf(void *buf);
+ extern void fid_run_freebuf(void *runbuf);
+ extern void fid_run_free(void *run);
++
++#ifdef __cplusplus
++}
++#endif