diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/fidlib/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/fidlib/files')
-rw-r--r-- | media-libs/fidlib/files/fidlib-0.9.10-cpp-extern.patch | 21 | ||||
-rw-r--r-- | media-libs/fidlib/files/fidlib-0.9.10-extern.patch | 26 |
2 files changed, 47 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 diff --git a/media-libs/fidlib/files/fidlib-0.9.10-extern.patch b/media-libs/fidlib/files/fidlib-0.9.10-extern.patch new file mode 100644 index 000000000000..0e819942907e --- /dev/null +++ b/media-libs/fidlib/files/fidlib-0.9.10-extern.patch @@ -0,0 +1,26 @@ +--- fidlib-0.9.10/fidlib.h ++++ fidlib-0.9.10/fidlib.h +@@ -2,6 +2,13 @@ + // fidlib include file + // + ++#ifndef __FIDLIB_H ++#define __FIDLIB_H ++ ++#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 +73,9 @@ + extern void fid_run_zapbuf(void *buf); + extern void fid_run_freebuf(void *runbuf); + extern void fid_run_free(void *run); ++ ++#ifdef __cplusplus ++} ++#endif ++ ++#endif /* __FIDLIB_H */ |