Control: tags -1 patch
Patches to fix the supercollider FTBFS with gcc 7 are attached.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
>From c058e16ff215b0b318abb3aa9ab4d47c0eeac877 Mon Sep 17 00:00:00 2001
From: hlolli <[email protected]>
Date: Mon, 10 Jul 2017 18:32:22 +0200
Subject: 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.11.0
>From 1eaa3fb3afbbf4708695a25361527a70e2d7a02d Mon Sep 17 00:00:00 2001
From: Brian Heim <[email protected]>
Date: Tue, 4 Jul 2017 13:26:00 -0400
Subject: 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.11.0
Description: PyrSched.cpp: #include <functional> to fix FTBFS
Author: Adrian Bunk <[email protected]>
Bug-Debian: https://bugs.debian.org/853671
--- supercollider-3.7.0~repack.orig/lang/LangPrimSource/PyrSched.cpp
+++ supercollider-3.7.0~repack/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>