diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-06-10 03:29:02 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-06-10 03:29:02 +0000 |
commit | dc646e17f10a3b49d6d3408873565dcf19dabe85 (patch) | |
tree | 66427694e56e8edafaa3bd821b1982e48f8bfeaa /audio/guitarix-lv2/files | |
parent | 83d74f3fa79b4290b38102557ec07c46eb9966f3 (diff) | |
download | ports-dc646e17f10a3b49d6d3408873565dcf19dabe85.tar.gz ports-dc646e17f10a3b49d6d3408873565dcf19dabe85.zip |
audio/guitarix-lv2: Update 0.39.0 -> 0.40.0
Reported by: portscout
Notes
Notes:
svn path=/head/; revision=538364
Diffstat (limited to 'audio/guitarix-lv2/files')
3 files changed, 34 insertions, 0 deletions
diff --git a/audio/guitarix-lv2/files/patch-libgxw_gxw_GxTuner.cpp b/audio/guitarix-lv2/files/patch-libgxw_gxw_GxTuner.cpp new file mode 100644 index 000000000000..475caf314169 --- /dev/null +++ b/audio/guitarix-lv2/files/patch-libgxw_gxw_GxTuner.cpp @@ -0,0 +1,12 @@ +https://sourceforge.net/p/guitarix/bugs/98/ + +--- libgxw/gxw/GxTuner.cpp.orig 2020-05-28 17:40:55 UTC ++++ libgxw/gxw/GxTuner.cpp +@@ -18,6 +18,7 @@ + + #include "GxTuner.h" + #include <math.h> ++#include <cmath> + + #define P_(s) (s) // FIXME -> gettext + diff --git a/audio/guitarix-lv2/files/patch-src_LV2_xputty_header_xasprintf.h b/audio/guitarix-lv2/files/patch-src_LV2_xputty_header_xasprintf.h new file mode 100644 index 000000000000..f3e03aeee141 --- /dev/null +++ b/audio/guitarix-lv2/files/patch-src_LV2_xputty_header_xasprintf.h @@ -0,0 +1,11 @@ +--- src/LV2/xputty/header/xasprintf.h.orig 2020-06-10 01:09:00 UTC ++++ src/LV2/xputty/header/xasprintf.h +@@ -11,6 +11,8 @@ + #ifndef XASPRINTF_H_ + #define XASPRINTF_H_ + ++#include <cstdarg> ++ + #ifdef __cplusplus + extern "C" { + #endif diff --git a/audio/guitarix-lv2/files/patch-src_LV2_xputty_xasprintf.cpp b/audio/guitarix-lv2/files/patch-src_LV2_xputty_xasprintf.cpp new file mode 100644 index 000000000000..80704d3e93c5 --- /dev/null +++ b/audio/guitarix-lv2/files/patch-src_LV2_xputty_xasprintf.cpp @@ -0,0 +1,11 @@ +--- src/LV2/xputty/xasprintf.cpp.orig 2020-06-10 01:06:22 UTC ++++ src/LV2/xputty/xasprintf.cpp +@@ -25,7 +25,7 @@ int _vscprintf_so(const char * format, va_list pargs) + int vasprintf(char **strp, const char *fmt, va_list ap) { + int len = _vscprintf_so(fmt, ap); + if (len == -1) return -1; +- char *str = malloc((size_t) len + 1); ++ char *str = (char*)malloc((size_t) len + 1); + if (!str) return -1; + int r = vsnprintf(str, len + 1, fmt, ap); + if (r == -1) return free(str), -1; |