aboutsummaryrefslogtreecommitdiff
path: root/ports/libffi/export-global-data.patch
diff options
context:
space:
mode:
authordriver1998 <driver1998@foxmail.com>2020-02-08 01:36:39 +0800
committerGitHub <noreply@github.com>2020-02-07 09:36:39 -0800
commit7d4227f02e445b0a29f8c1ce3258b57d60b71cfe (patch)
tree179fcf840bb32edda864d6ec80a5866f56359d3a /ports/libffi/export-global-data.patch
parent8eaa597bba70728c70feb4674566abcbe6feeb5c (diff)
downloadvcpkg-7d4227f02e445b0a29f8c1ce3258b57d60b71cfe.tar.gz
vcpkg-7d4227f02e445b0a29f8c1ce3258b57d60b71cfe.zip
[libffi] Update to v3.3 release (#6119)
* libffi 3.3-rc0 custom port, with arm/arm64 windows support * fix linux build * enable EFI64 in linux x64, should fix build errors in some cases * libffi: move to the arm64 support pr branch * libffi: move to latest upstream master * libffi: update to upstream master * libffi: update to v3.3-rc2 * libffi: update to v3.3 release * libffi: update version in fficonfig.h * libffi: Remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS * [libffi] update portfile.cmake * [libnice] fix Windows ARM64 build * CI: set atk:arm64-windows to fail atk compilation requires running glib(arm64) tools, which is not possible on a x86 system. * CI: libffi:arm64-windows passing * [gdk-pixbuf] fix Windows ARM64 build * [pangomm] show unsupported architecture error on ARM * [pangomm] update portfile.cmake * [libffi] Avoid depending on VCPKG_TARGET_TRIPLET; use native cmake variables instead. Avoid double expansion inside if(). * [libffi] TARGET is a keyword for if() -- use quoted expansion instead. Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports/libffi/export-global-data.patch')
-rw-r--r--ports/libffi/export-global-data.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/ports/libffi/export-global-data.patch b/ports/libffi/export-global-data.patch
deleted file mode 100644
index 9d965f647..000000000
--- a/ports/libffi/export-global-data.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/src/types.c b/src/types.c
-index 0de5994..46c8d18 100644
---- a/src/types.c
-+++ b/src/types.c
-@@ -31,6 +31,12 @@
- #include <ffi.h>
- #include <ffi_common.h>
-
-+#ifdef FFI_EXPORT_DATA
-+#define FFI_EXPORT __declspec(dllexport)
-+#else
-+#define FFI_EXPORT
-+#endif
-+
- /* Type definitions */
-
- #define FFI_TYPEDEF(name, type, id) \
-@@ -38,7 +44,7 @@ struct struct_align_##name { \
- char c; \
- type x; \
- }; \
--const ffi_type ffi_type_##name = { \
-+FFI_EXPORT const ffi_type ffi_type_##name = { \
- sizeof(type), \
- offsetof(struct struct_align_##name, x), \
- id, NULL \
-@@ -56,7 +62,7 @@ ffi_type ffi_type_##name = { \
- }
-
- /* Size and alignment are fake here. They must not be 0. */
--const ffi_type ffi_type_void = {
-+FFI_EXPORT const ffi_type ffi_type_void = {
- 1, 1, FFI_TYPE_VOID, NULL
- };
-