1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

audio/bharvestr-lv2: fix build on GCC architectures

Require C++11 compiler because of -std=c++11.

Include climits in FileChooser.hpp because of INT64_MAX (GCC doesn't do that by default).

PR:		248134
Approved by:	portmgr (blanket: build fix)
MFH:		2020Q3 (blanket: build fix)
This commit is contained in:
Piotr Kubaj 2020-07-21 08:23:08 +00:00
parent 0d486a8976
commit 5aa8a59607
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542725
2 changed files with 11 additions and 1 deletions

View File

@ -17,7 +17,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libsndfile.so:audio/libsndfile
USES= gmake gnome pkgconfig xorg
USES= compiler:c++11-lang gmake gnome pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= sjaehn
GH_PROJECT= BHarvestr

View File

@ -0,0 +1,10 @@
--- src/BWidgets/FileChooser.hpp.orig 2020-07-20 09:39:49 UTC
+++ src/BWidgets/FileChooser.hpp
@@ -24,6 +24,7 @@
#include "PopupListBox.hpp"
#include "TextButton.hpp"
#include <regex>
+#include <climits>
namespace BWidgets
{