Skip to content

Commit

Permalink
audio/triceratops-lv2: fix build with GCC-based architectures
Browse files Browse the repository at this point in the history
PR:		237204
Submitted by:	Piotr Kubaj
  • Loading branch information
yurivict committed Apr 11, 2019
1 parent 0952528 commit 4b442b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion audio/triceratops-lv2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions audio/triceratops-lv2/files/patch-synth.cpp
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4b442b4

Please sign in to comment.