Created attachment 204347 [details] patch Add USES=compiler:c++11-lang because of: CMake Error in CMakeLists.txt: Target "openshot-audio" requires the language dialect "CXX11" , but CMake does not know the compile flags to use to enable it. Also include cstring in JuceLibraryCode/modules/juce_core/containers/juce_ArrayBase.h and JuceLibraryCode/modules/juce_core/memory/juce_Memory.h
Created attachment 204384 [details] patch for audio/libopenshot-audio (In reply to Piotr Kubaj from comment #0) Thank you for the report. And I'm sorry that it's in an imperfect condition. #include <cstring> exists in ${WRKSRC}/JuceLibraryCode/modules/juce_core/system/juce_StandardHeader.h. My patch prevents the preprocessor from deleting it. I also fixed the other branch points for each OS.
Created attachment 204386 [details] poudriere log This is a log with attachment 204384 [details] and USE_GCC=yes.
Mentor approves.
A commit references this bug: Author: pkubaj Date: Wed May 29 07:42:29 UTC 2019 New revision: 502935 URL: https://svnweb.freebsd.org/changeset/ports/502935 Log: audio/libopenshot-audio: fix build with GCC-based architectures error: CMake Error in CMakeLists.txt: Target "openshot-audio" requires the language dialect "CXX11" , but CMake does not know the compile flags to use to enable it. PR: 237867 Submitted by: tatsuki_makino@hotmail.com (maintainer) Approved by: linimon (mentor) Changes: head/audio/libopenshot-audio/Makefile head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_files_juce__File.cpp head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_juce__core.h head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_native_juce__BasicNativeHeaders.h head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_native_juce__linux__Files.cpp head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_native_juce__posix__SharedCode.h head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_system_juce__PlatformDefs.h head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_system_juce__StandardHeader.h head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_text_juce__CharPointer__ASCII.h head/audio/libopenshot-audio/files/patch-JuceLibraryCode_modules_juce__core_threads_juce__Process.h