audio/triceratops-lv2: fix build with GCC-based architectures

PR:		237204
Submitted by:	Piotr Kubaj
This commit is contained in:
Yuri Victorovich 2019-04-11 15:50:45 +00:00
parent 1ec1e3ba32
commit 8e54a150d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498673
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,11 @@
--- synth.cpp.orig 2019-04-11 12:27:29 UTC
+++ synth.cpp
@@ -1,5 +1,7 @@
-
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#endif
#include "synth.h"
// CONSTRUCTOR