aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoradridg <adridg@FreeBSD.org>2018-01-04 20:48:03 +0800
committeradridg <adridg@FreeBSD.org>2018-01-04 20:48:03 +0800
commitb0e407dd6f5c8b330b8b41a0508612d440309df9 (patch)
treee9586b5556764eafd156333c1e00c7d6db698f33 /audio
parentd18ca1068a4927a51c6fd578a75f1a609f534567 (diff)
downloadfreebsd-ports-gnome-b0e407dd6f5c8b330b8b41a0508612d440309df9.tar.gz
freebsd-ports-gnome-b0e407dd6f5c8b330b8b41a0508612d440309df9.tar.zst
freebsd-ports-gnome-b0e407dd6f5c8b330b8b41a0508612d440309df9.zip
Fix build on 10.3 i386 noticed by pkg-fallout. Patch has also been
submitted upstream. Now tested on 10.3 i386 and 11.1 amd64. Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D13765
Diffstat (limited to 'audio')
-rw-r--r--audio/sayonara/files/patch-src_Components_Engine_AbstractEngine.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/sayonara/files/patch-src_Components_Engine_AbstractEngine.cpp b/audio/sayonara/files/patch-src_Components_Engine_AbstractEngine.cpp
new file mode 100644
index 000000000000..2d641d6d1dbe
--- /dev/null
+++ b/audio/sayonara/files/patch-src_Components_Engine_AbstractEngine.cpp
@@ -0,0 +1,13 @@
+Missing include needed for std::abs; this caused a build error on 10.3 i386.
+
+--- src/Components/Engine/AbstractEngine.cpp.orig 2017-12-31 13:34:19 UTC
++++ src/Components/Engine/AbstractEngine.cpp
+@@ -29,6 +29,8 @@
+
+ #include <gst/gst.h>
+
++#include <cstdlib>
++
+ using Engine::Base;
+
+ struct Base::Private