File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 3
3
4
4
5
5
class LibffiRecipe (Recipe ):
6
- version = "3.4.4 "
6
+ version = "3.4.8 "
7
7
url = "https://github.com/libffi/libffi/releases/download/v{version}/libffi-{version}.tar.gz"
8
8
library = "build/Release-{plat.sdk}/libffi.a"
9
9
include_per_platform = True
@@ -14,10 +14,15 @@ def prebuild_platform(self, plat):
14
14
if self .has_marker ("patched" ):
15
15
return
16
16
self .apply_patch ("enable-tramp-build.patch" )
17
+ self .apply_patch ("disable-armv7-xcodeproj.patch" )
17
18
shprint (sh .sed ,
18
19
"-i.bak" ,
19
20
"s/-miphoneos-version-min=7.0/-miphoneos-version-min=9.0/g" ,
20
21
"generate-darwin-source-and-headers.py" )
22
+ shprint (sh .sed ,
23
+ "-i.bak" ,
24
+ "s/build_target(ios_device_armv7_platform, platform_headers)/print('skipping armv7')/g" ,
25
+ "generate-darwin-source-and-headers.py" )
21
26
shprint (sh .sed ,
22
27
"-i.bak" ,
23
28
"s/build_target(ios_simulator_i386_platform, platform_headers)/print('Skipping i386')/g" ,
Original file line number Diff line number Diff line change
1
+ diff -Naur libffi-3.4.8.orig/libffi.xcodeproj/project.pbxproj libffi-3.4.8/libffi.xcodeproj/project.pbxproj
2
+ --- libffi-3.4.8.orig/libffi.xcodeproj/project.pbxproj 2025-05-07 20:23:47
3
+ +++ libffi-3.4.8/libffi.xcodeproj/project.pbxproj 2025-05-07 20:24:07
4
+ @@ -87,11 +87,9 @@
5
+ files = (
6
+ FDB52FD01F614A8B00AA92E6 /* ffi.h in CopyFiles */,
7
+ FDB52FD11F614AA700AA92E6 /* ffi_arm64.h in CopyFiles */,
8
+ - FDB52FD21F614AAB00AA92E6 /* ffi_armv7.h in CopyFiles */,
9
+ FDB52FD41F614AB500AA92E6 /* ffi_x86_64.h in CopyFiles */,
10
+ FDB52FD81F614B8700AA92E6 /* ffitarget.h in CopyFiles */,
11
+ FDB52FD91F614B8E00AA92E6 /* ffitarget_arm64.h in CopyFiles */,
12
+ - FDB52FDA1F614B9300AA92E6 /* ffitarget_armv7.h in CopyFiles */,
13
+ FDB52FDD1F614BA900AA92E6 /* ffitarget_x86_64.h in CopyFiles */,
14
+ );
15
+ runOnlyForDeploymentPostprocessing = 0;
You can’t perform that action at this time.
0 commit comments