audio/bsequencer-lv2: fix build with GCC architectures

C++11 compiler is required:
cc1plus: error: unrecognized command line option "-std=c++11"

include sys/types.h is required by GCC for uint in src/BWidgets/ChoiceBox.cpp, src/BWidgets/ImageIcon.cpp and src/BWidgets/ListBox.cpp.

PR:		239440
Approved by:	linimon (mentor), yuri (maintainer)
Differential Revision:	https://reviews.freebsd.org/D21066
This commit is contained in:
Piotr Kubaj 2019-08-01 19:21:09 +00:00
parent 89d09c3e09
commit a9e5ffdac8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507825
4 changed files with 31 additions and 1 deletions

View file

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2
USES= gmake gnome pkgconfig
USES= compiler:c++11-lang gmake gnome pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= sjaehn
GH_PROJECT= BSEQuencer

View file

@ -0,0 +1,10 @@
--- src/BWidgets/ChoiceBox.cpp.orig 2019-07-25 10:03:27 UTC
+++ src/BWidgets/ChoiceBox.cpp
@@ -16,6 +16,7 @@
*/
#include "ChoiceBox.hpp"
+#include <sys/types.h>
namespace BWidgets
{

View file

@ -0,0 +1,10 @@
--- src/BWidgets/ImageIcon.cpp.orig 2019-07-25 10:05:26 UTC
+++ src/BWidgets/ImageIcon.cpp
@@ -16,6 +16,7 @@
*/
#include "ImageIcon.hpp"
+#include <sys/types.h>
namespace BWidgets
{

View file

@ -0,0 +1,10 @@
--- src/BWidgets/ListBox.cpp.orig 2019-07-25 10:08:28 UTC
+++ src/BWidgets/ListBox.cpp
@@ -16,6 +16,7 @@
*/
#include "ListBox.hpp"
+#include <sys/types.h>
namespace BWidgets
{