From 8e54a150d278fccb979e35b5d1a544cd1e12f1b9 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Thu, 11 Apr 2019 15:50:45 +0000 Subject: [PATCH] audio/triceratops-lv2: fix build with GCC-based architectures PR: 237204 Submitted by: Piotr Kubaj --- audio/triceratops-lv2/Makefile | 2 +- audio/triceratops-lv2/files/patch-synth.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 audio/triceratops-lv2/files/patch-synth.cpp diff --git a/audio/triceratops-lv2/Makefile b/audio/triceratops-lv2/Makefile index 40f7ab163bb5..23af59334bb9 100644 --- a/audio/triceratops-lv2/Makefile +++ b/audio/triceratops-lv2/Makefile @@ -18,7 +18,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -USES= compiler:c++11-lang pkgconfig waf +USES= compiler:c++11-lang gnome pkgconfig waf USE_GNOME= cairo cairomm gdkpixbuf2 gtk20 gtkmm24 NO_WRKSUBDIR= yes LDFLAGS_i386= -Wl,-znotext diff --git a/audio/triceratops-lv2/files/patch-synth.cpp b/audio/triceratops-lv2/files/patch-synth.cpp new file mode 100644 index 000000000000..a210264089d1 --- /dev/null +++ b/audio/triceratops-lv2/files/patch-synth.cpp @@ -0,0 +1,11 @@ +--- synth.cpp.orig 2019-04-11 12:27:29 UTC ++++ synth.cpp +@@ -1,5 +1,7 @@ + +- ++#ifdef __FreeBSD__ ++#include ++#endif + #include "synth.h" + + // CONSTRUCTOR