diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-06 03:00:14 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-06 03:13:49 +0100 |
commit | 31e888ab8303249fa7004afe9ee3253e6b9c3bb0 (patch) | |
tree | fd3b48fede7b2c91b19b5bd144a7d575104052b8 /media-sound/supercollider | |
parent | media-sound/supercollider: Fix multilib-strict issue (diff) | |
download | gentoo-31e888ab8303249fa7004afe9ee3253e6b9c3bb0.tar.gz gentoo-31e888ab8303249fa7004afe9ee3253e6b9c3bb0.tar.bz2 gentoo-31e888ab8303249fa7004afe9ee3253e6b9c3bb0.zip |
media-sound/supercollider: Fix build with GCC-7
Closes: https://bugs.gentoo.org/636058
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-sound/supercollider')
-rw-r--r-- | media-sound/supercollider/files/supercollider-3.8.0-gcc-7.patch | 75 | ||||
-rw-r--r-- | media-sound/supercollider/supercollider-3.8.0.ebuild | 1 |
2 files changed, 76 insertions, 0 deletions
diff --git a/media-sound/supercollider/files/supercollider-3.8.0-gcc-7.patch b/media-sound/supercollider/files/supercollider-3.8.0-gcc-7.patch new file mode 100644 index 000000000000..5f0269845b31 --- /dev/null +++ b/media-sound/supercollider/files/supercollider-3.8.0-gcc-7.patch @@ -0,0 +1,75 @@ +From 1eaa3fb3afbbf4708695a25361527a70e2d7a02d Mon Sep 17 00:00:00 2001 +From: Brian Heim <brianlheim@gmail.com> +Date: Tue, 4 Jul 2017 13:26:00 -0400 +Subject: [PATCH] DiskIO_UGens: include <functional> + +std::bind is in <functional> according to the C++ ISO standard, and +gcc7.1 enforces this. +--- + server/plugins/DiskIO_UGens.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/server/plugins/DiskIO_UGens.cpp b/server/plugins/DiskIO_UGens.cpp +index 47c91a139..d4bb1c51c 100644 +--- a/server/plugins/DiskIO_UGens.cpp ++++ b/server/plugins/DiskIO_UGens.cpp +@@ -28,6 +28,7 @@ + + #include <atomic> + #include <new> ++#include <functional> + #include <SC_Lock.h> + + #include <boost/lockfree/queue.hpp> +-- +2.15.1 + +From a891e7d5be4c4944970973cc8467485e8a4c0571 Mon Sep 17 00:00:00 2001 +From: Adrian Bunk <bunk@debian.org> +Date: Thu, 7 Sep 2017 19:38:46 -0300 +Subject: [PATCH] PyrSched.cpp: #include <functional> to fix FTBFS + +Bug-Debian: https://bugs.debian.org/853671 +--- + lang/LangPrimSource/PyrSched.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lang/LangPrimSource/PyrSched.cpp b/lang/LangPrimSource/PyrSched.cpp +index 02f0c6264..63487a58e 100644 +--- a/lang/LangPrimSource/PyrSched.cpp ++++ b/lang/LangPrimSource/PyrSched.cpp +@@ -37,6 +37,7 @@ + #include <string.h> + #include <math.h> + #include <limits> ++#include <functional> + + #if defined(__APPLE__) || defined(__linux__) + # include <pthread.h> +-- +2.15.1 + +From c058e16ff215b0b318abb3aa9ab4d47c0eeac877 Mon Sep 17 00:00:00 2001 +From: hlolli <hlolli@gmail.com> +Date: Mon, 10 Jul 2017 18:32:22 +0200 +Subject: [PATCH] adding functional header in PyrSerialPrim.cpp + +--- + lang/LangPrimSource/PyrSerialPrim.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lang/LangPrimSource/PyrSerialPrim.cpp b/lang/LangPrimSource/PyrSerialPrim.cpp +index 3099598fe..5e2b40372 100644 +--- a/lang/LangPrimSource/PyrSerialPrim.cpp ++++ b/lang/LangPrimSource/PyrSerialPrim.cpp +@@ -36,6 +36,7 @@ + #include <termios.h> + #include <unistd.h> + #include <boost/atomic.hpp> ++#include <functional> + + #include <stdexcept> + #include <sstream> +-- +2.15.1 + diff --git a/media-sound/supercollider/supercollider-3.8.0.ebuild b/media-sound/supercollider/supercollider-3.8.0.ebuild index 36db17c3ce09..3a953a593632 100644 --- a/media-sound/supercollider/supercollider-3.8.0.ebuild +++ b/media-sound/supercollider/supercollider-3.8.0.ebuild @@ -57,6 +57,7 @@ PATCHES=( "${FILESDIR}"/${P}-no-qtsensors.patch "${FILESDIR}"/${P}-no-qtpositioning.patch "${FILESDIR}"/${P}-multilib.patch + "${FILESDIR}"/${P}-gcc-7.patch ) src_configure() { |