-
Notifications
You must be signed in to change notification settings - Fork 2
/
ecl.yaml
68 lines (68 loc) · 2.73 KB
/
ecl.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: ecl
no-parallel-make: true
config-opts:
- --enable-unicode=yes
- --enable-c99complex
- --enable-threads=yes
- --with-__thread
- --disable-rpath
build-options:
arch:
i386:
config-opts:
- --with-sse=no
x86_64:
config-opts:
- --with-sse=auto
sources:
- type: archive
url: https://common-lisp.net/project/ecl/static/files/release/ecl-16.1.3.tgz
sha256: 76a585c616e8fa83a6b7209325a309da5bc0ca68e0658f396f49955638111254
# This patch was sent upstream on 4 Feb 2012.
# It fixes a few warnings from the C compiler
# that indicate situations that might be dangerous at runtime
# https://src.fedoraproject.org/rpms/ecl/raw/79105db8cb5c6b79766dd06de9e816186b2e2099/f/ecl-16.1.3-warnings.patch
- type: patch
path: ecl-16.1.3-warnings.patch
strip-components: 0
# Do not use a separate thread to handle signals by default
# if built with boehm-gc support.
# This prevents a deadlock when building maxima with ecl support,
# and should handle by default these problems:
# http://trac.sagemath.org/sage_trac/ticket/11752
# http://www.mail-archive.com/[email protected]/msg00644.html
# https://src.fedoraproject.org/rpms/ecl/raw/79105db8cb5c6b79766dd06de9e816186b2e2099/f/ecl-16.1.3-signal_handling_thread.patch
- type: patch
path: ecl-16.1.3-signal_handling_thread.patch
strip-components: 0
# GCC does not implement support for #pragma STDC FENV_ACCESS
# https://src.fedoraproject.org/rpms/ecl/raw/79105db8cb5c6b79766dd06de9e816186b2e2099/f/ecl-16.1.3-fenv-access.patch
- type: patch
path: ecl-16.1.3-fenv-access.patch
strip-components: 0
# fix when building with -Werror=format-security
# https://src.fedoraproject.org/rpms/ecl/raw/79105db8cb5c6b79766dd06de9e816186b2e2099/f/ecl-16.1.3-end_of_line.patch
- type: patch
path: ecl-16.1.3-end_of_line.patch
strip-components: 0
# Upstream patch to fix the SSE printer
# https://src.fedoraproject.org/rpms/ecl/raw/79105db8cb5c6b79766dd06de9e816186b2e2099/f/ecl-16.1.3-sse-printer.patch
- type: patch
path: ecl-16.1.3-sse-printer.patch
strip-components: 0
# Upstream patch to fix maxima test failure with atan with signed zero
# https://src.fedoraproject.org/rpms/ecl/raw/79105db8cb5c6b79766dd06de9e816186b2e2099/f/ecl-16.1.3-atan.patch
- type: patch
path: ecl-16.1.3-atan.patch
strip-components: 0
# Temporary fix for missing braces in initializers, causes build failure
- type: shell
commands:
- sed -i 's/{.*,.*,.*,.*,.*}/{&}/g' "src/c/symbols_list.h";
- sed -i 's/{.*,.*,.*,.*}/{&}/g' "src/c/unicode/ucd_names_pair.c";
post-install:
- install -p -D -m 0644 "COPYING" "LICENSE" -t "${FLATPAK_DEST}/share/licenses/ecl/";
cleanup:
- /bin/ecl-config
modules:
- gc.yaml