git: 6e103bcb57b6 - main - audio/vst3sdk: Unbreak on 11 by adding #define _WITH_GETLINE for getline(3) to be visible
Yuri Victorovich
yuri at FreeBSD.org
Sun Apr 18 05:42:37 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6e103bcb57b6011a7084e02622000166a41af1e9
commit 6e103bcb57b6011a7084e02622000166a41af1e9
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-04-18 05:34:52 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-04-18 05:34:52 +0000
audio/vst3sdk: Unbreak on 11 by adding #define _WITH_GETLINE for getline(3) to be visible
Reported by: fallout
---
.../patch-vstgui4_vstgui_lib_platform_linux_x11fileselector.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/audio/vst3sdk/files/patch-vstgui4_vstgui_lib_platform_linux_x11fileselector.cpp b/audio/vst3sdk/files/patch-vstgui4_vstgui_lib_platform_linux_x11fileselector.cpp
index 2abd3361891a..63c2750dd86c 100644
--- a/audio/vst3sdk/files/patch-vstgui4_vstgui_lib_platform_linux_x11fileselector.cpp
+++ b/audio/vst3sdk/files/patch-vstgui4_vstgui_lib_platform_linux_x11fileselector.cpp
@@ -1,11 +1,12 @@
- fix missing include, see https://github.com/steinbergmedia/vst3sdk/issues/80
---- vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp.orig 2021-04-15 16:36:46 UTC
+--- vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp.orig 2020-08-20 14:14:27 UTC
+++ vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp
-@@ -6,6 +6,8 @@
+@@ -6,6 +6,9 @@
#include <unistd.h>
#include <string>
++#define _WITH_GETLINE // this is still required on FreeBSD 11
+#include <stdio.h>
+
//------------------------------------------------------------------------
More information about the dev-commits-ports-all
mailing list