diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libevhtp/fix-cmake4.patch | |
Diffstat (limited to 'vcpkg/ports/libevhtp/fix-cmake4.patch')
| -rw-r--r-- | vcpkg/ports/libevhtp/fix-cmake4.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/libevhtp/fix-cmake4.patch b/vcpkg/ports/libevhtp/fix-cmake4.patch new file mode 100644 index 0000000..1d3fd60 --- /dev/null +++ b/vcpkg/ports/libevhtp/fix-cmake4.patch @@ -0,0 +1,16 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 481ddd0e86..a1a806ce99 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -40,7 +40,10 @@ check_type_size("int" SIZEOF_INT) + check_type_size("long" SIZEOF_LONG) + check_type_size("short" SIZEOF_SHORT) + +-test_big_endian(HOST_BIG_ENDIAN) ++set(HOST_BIG_ENDIAN OFF) ++if(CMAKE_C_BYTE_ORDER STREQUAL "BIG_ENDIAN") ++ set(HOST_BIG_ENDIAN ON) ++endif() + + check_c_compiler_flag(-std=c99 has_c99) + |