gnu: gd: Fix failing test on i686.
[jackhill/guix/guix.git] / gnu / packages / patches / csound-header-ordering.patch
CommitLineData
c91d3fb7
EB
1Prevent compilation issues with boost-1.60.0.
2
3Reported upstream at https://github.com/csound/csound/issues/570
4
5--- Csound6.05/Opcodes/chua/ChuaOscillator.cpp 2015-04-25 14:06:22.995646234 -0500
6+++ Csound6.05/Opcodes/chua/ChuaOscillator.cpp 2015-12-21 10:31:58.182362640 -0600
7@@ -117,11 +117,12 @@
8 // d = sys_variables(12);
9 // gnor = a*(x.^3) + b*(x.^2) + c*x + d;
10
11-#include <OpcodeBase.hpp>
12 #include <boost/numeric/ublas/vector.hpp>
13 using namespace boost::numeric;
14 #include <cmath>
15
16+#include <OpcodeBase.hpp>
17+
18 #undef CS_KSMPS
19 #define CS_KSMPS (opds.insdshead->ksmps)
20