Skip to content

Commit 7f4b45b

Browse files
committed
Tidy up the Mac Catalyst support
1 parent 821324e commit 7f4b45b

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

patch/libffi.patch

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
diff -Naur libffi-3.4.7-orig/config.sub libffi-3.4.7/config.sub
21
--- libffi-3.4.7-orig/config.sub 2024-12-13 10:38:19
3-
+++ libffi-3.4.7/config.sub 2025-02-23 09:47:29
2+
+++ libffi-3.4.7/config.sub 2025-02-26 18:50:21
43
@@ -4,6 +4,7 @@
54

65
# shellcheck disable=SC2006,SC2268 # see below for rationale
@@ -9,19 +8,16 @@ diff -Naur libffi-3.4.7-orig/config.sub libffi-3.4.7/config.sub
98
timestamp='2024-01-01'
109

1110
# This file is free software; you can redistribute it and/or modify it
12-
@@ -1127,7 +1128,10 @@
11+
@@ -1127,7 +1128,7 @@
1312
xscale-* | xscalee[bl]-*)
1413
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
1514
;;
1615
- arm64-* | arm64_32-* | aarch64le-*)
17-
+ arm64-apple)
18-
+ cpu=arm64
19-
+ ;;
2016
+ arm64-* | aarch64le-* | arm64_32-*)
2117
cpu=aarch64
2218
;;
2319

24-
@@ -1768,7 +1772,7 @@
20+
@@ -1768,7 +1769,7 @@
2521
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
2622
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
2723
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
@@ -30,20 +26,21 @@ diff -Naur libffi-3.4.7-orig/config.sub libffi-3.4.7/config.sub
3026
;;
3127
# This one is extra strict with allowed versions
3228
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
33-
@@ -1864,9 +1868,11 @@
29+
@@ -1864,10 +1865,12 @@
3430
;;
3531
os2-emx-)
3632
;;
3733
- ios*-simulator* | tvos*-simulator* | watchos*-simulator*)
3834
- ;;
3935
*-eabi*- | *-gnueabi*-)
40-
+ ;;
36+
;;
4137
+ ios*-simulator- | tvos*-simulator- | watchos*-simulator- )
4238
+ ;;
4339
+ ios*-macabi- )
44-
;;
40+
+ ;;
4541
none--*)
4642
# None (no kernel, i.e. freestanding / bare metal),
43+
# can be paired with an machine code file format
4744
diff -Naur libffi-3.4.7-orig/generate-darwin-source-and-headers.py libffi-3.4.7/generate-darwin-source-and-headers.py
4845
--- libffi-3.4.7-orig/generate-darwin-source-and-headers.py 2024-06-01 18:42:02
4946
+++ libffi-3.4.7/generate-darwin-source-and-headers.py 2025-02-23 09:40:26

0 commit comments

Comments
 (0)