# HG changeset patch
# Parent c72fa019b47fa80c4d89cbee49f40b4a2682d114
Address https://trac.macports.org/ticket/53892
diff -r c72fa019b47f -r 632ab69bb036 lang/sbcl/Portfile
a
|
b
|
|
6 | 6 | |
7 | 7 | # Please revbump ../../math/maxima when this port changes |
8 | 8 | version 1.3.16 |
9 | | revision 0 |
| 9 | revision 1 |
10 | 10 | |
11 | 11 | categories lang |
12 | 12 | license BSD |
… |
… |
|
29 | 29 | use_bzip2 yes |
30 | 30 | |
31 | 31 | patchfiles \ |
32 | | patch-contrib-sb-posix-posix-tests.lisp.diff |
| 32 | patch-contrib-sb-posix-posix-tests.lisp.diff \ |
| 33 | patch-fix-float-no-AVX.diff |
| 34 | |
33 | 35 | # Removed with sbcl-1.3.10 to work on macOS 10.12 Sierra; may be of use for older platforms |
34 | 36 | # patch-use-right-gcc.diff |
35 | 37 | |
diff -r c72fa019b47f -r 632ab69bb036 lang/sbcl/files/patch-fix-float-no-AVX.diff
-
|
+
|
|
| 1 | # HG changeset patch |
| 2 | # User Stas Boukarev <stassats@gmail.com> |
| 3 | # Date 1491011923 -10800 |
| 4 | # Sat Apr 01 04:58:43 2017 +0300 |
| 5 | # Node ID 1065bfec0105c17816ebc2715583e7707892da61 |
| 6 | # Parent 7f3149adfcff6e64ceba1f43a056ab65431fbcbd |
| 7 | Fix float state saving on x86-64 Darwin without AVX. |
| 8 | |
| 9 | Fixes lp#1678347. |
| 10 | |
| 11 | diff -r 7f3149adfcff -r 1065bfec0105 src/runtime/x86-64-darwin-os.c |
| 12 | --- src/runtime/x86-64-darwin-os.c Sat Apr 01 04:25:21 2017 +0300 |
| 13 | +++ src/runtime/x86-64-darwin-os.c Sat Apr 01 04:58:43 2017 +0300 |
| 14 | @@ -300,7 +300,7 @@ |
| 15 | x86_avx_state64_t float_state; |
| 16 | mach_msg_type_number_t float_state_count = avx_supported? x86_AVX_STATE64_COUNT : x86_FLOAT_STATE64_COUNT; |
| 17 | x86_avx_state64_t *target_float_state; |
| 18 | - int float_state_flavor = avx_supported? x86_AVX_STATE64 : x86_FLOAT_STATE64_COUNT; |
| 19 | + int float_state_flavor = avx_supported? x86_AVX_STATE64 : x86_FLOAT_STATE64; |
| 20 | #else |
| 21 | x86_float_state64_t float_state; |
| 22 | mach_msg_type_number_t float_state_count = x86_FLOAT_STATE64_COUNT; |
diff -r c72fa019b47f -r 632ab69bb036 math/maxima/Portfile
a
|
b
|
|
4 | 4 | |
5 | 5 | name maxima |
6 | 6 | version 5.39.0 |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | categories math |
9 | 9 | maintainers mareimbrium.org:kuba openmaintainer |
10 | 10 | platforms darwin |