summaryrefslogtreecommitdiff
path: root/patches/jasp-0.14.0.0-includes.patch
diff options
context:
space:
mode:
authorSimon Tournier <simon.tournier@u-paris.fr>2026-02-04 17:21:21 +0100
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-02-04 22:47:33 +0100
commita0b6da01d948df25cea1b51bcad216eb49e89921 (patch)
treef357da79da43cc8e49662ef5b20a2f0c3b96b9a3 /patches/jasp-0.14.0.0-includes.patch
parentc8a1a0286662ccf6d499c32208cf5104244755b5 (diff)
jasp: jasp: Move patch to patches folder.
* guix-science/packages/jasp.scm (jasp): Change patch location. * jasp-0.14.0.0-noupdate.patch, jasp-0.14.0.0-includes.patch: Move to patches/ folder.
Diffstat (limited to 'patches/jasp-0.14.0.0-includes.patch')
-rw-r--r--patches/jasp-0.14.0.0-includes.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/patches/jasp-0.14.0.0-includes.patch b/patches/jasp-0.14.0.0-includes.patch
new file mode 100644
index 0000000..fb1a079
--- /dev/null
+++ b/patches/jasp-0.14.0.0-includes.patch
@@ -0,0 +1,53 @@
1Add missing includes for GCC 10.
2
3--- a/JASP-Common/column.cpp 1970-01-01 01:00:01.000000000 +0100
4+++ b/JASP-Column/column.cpp 2021-12-21 10:30:32.455931317 +0100
5@@ -21,6 +21,7 @@
6
7 #include <sstream>
8 #include <string>
9+#include <cfloat>
10
11 #include <boost/lexical_cast.hpp>
12 #include <boost/algorithm/string/predicate.hpp>
13--- a/JASP-Engine/rbridge.cpp 1970-01-01 01:00:01.000000000 +0100
14+++ b/JASP-Engine/rbridge.cpp 2021-12-21 10:36:47.825085783 +0100
15@@ -15,6 +15,8 @@
16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 //
18
19+#include <cmath>
20+
21 #include "rbridge.h"
22 #include "columnencoder.h"
23 #include "jsonredirect.h"
24--- a/JASP-Desktop/widgets/boundqmltextinput.cpp 1970-01-01 01:00:01.000000000 +0100
25+++ b/JASP-Desktop/widgets/boundqmltextinput.cpp 2021-12-21 10:40:18.119960946 +0100
26@@ -16,6 +16,8 @@
27 // <http://www.gnu.org/licenses/>.
28 //
29
30+#include <cmath>
31+
32 #include "boundqmltextinput.h"
33 #include "../analysis/analysisform.h"
34 #include "../analysis/jaspcontrolbase.h"
35--- a/JASP-Desktop/data/filtermodel.cpp 1970-01-01 01:00:01.000000000 +0100
36+++ b/JASP-Desktop/data/filtermodel.cpp 2021-12-21 10:43:56.571897913 +0100
37@@ -1,3 +1,5 @@
38+#include <cmath>
39+
40 #include "filtermodel.h"
41 #include "utilities/jsonutilities.h"
42 #include "columnencoder.h"
43--- a/JASP-Desktop/widgets/listmodeltableviewbase.cpp 1970-01-01 01:00:01.000000000 +0100
44+++ b/JASP-Desktop/widgets/listmodeltableviewbase.cpp 2021-12-21 10:47:06.104957449 +0100
45@@ -16,6 +16,8 @@
46 // <http://www.gnu.org/licenses/>.
47 //
48
49+#include <cmath>
50+
51 #include "log.h"
52 #include <QSize>
53 #include <fstream>