├── .editorconfig ├── .github └── workflows │ ├── android.yml │ ├── android_windows.yml │ ├── archlinux.yml │ ├── autoupdate.yml │ ├── cross.yml │ ├── deploy.yml │ ├── fedora.yml │ ├── freebsd.yml │ ├── iphoneos.yml │ ├── issue-translator.yml │ ├── macos_arm64.yml │ ├── macos_x86_64.yml │ ├── mingw_macos.yml │ ├── mingw_msys2.yml │ ├── sync.yml │ ├── sync_packagerefs.yml │ ├── ubuntu.yml │ ├── ubuntu_arm64.yml │ ├── ubuntu_clang.yml │ ├── wasm_ubuntu.yml │ ├── windows.yml │ └── windows_arm64.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.md ├── NOTICE.md ├── README.md ├── README_zh.md ├── packages ├── 1 │ └── 11zip │ │ ├── port │ │ └── xmake.lua │ │ └── xmake.lua ├── 7 │ └── 7z │ │ ├── patches │ │ └── 21.02 │ │ │ └── backport-21.03-fix-for-GCC-10.patch │ │ └── xmake.lua ├── a │ ├── abseil │ │ └── xmake.lua │ ├── access_private │ │ └── xmake.lua │ ├── ace │ │ └── xmake.lua │ ├── acl-dev │ │ ├── patches │ │ │ └── v3.6.2 │ │ │ │ ├── build_install_only_static_or_shared.diff │ │ │ │ ├── debundle_iconv.diff │ │ │ │ ├── debundle_zlib.diff │ │ │ │ ├── export_unix.diff │ │ │ │ └── fix_android_install_path.diff │ │ └── xmake.lua │ ├── acl │ │ └── xmake.lua │ ├── actor-framework │ │ └── xmake.lua │ ├── ada │ │ └── xmake.lua │ ├── ade │ │ ├── patches │ │ │ └── 0.1.2 │ │ │ │ └── cmake-mingw.patch │ │ └── xmake.lua │ ├── agg │ │ └── xmake.lua │ ├── aitoolkit │ │ └── xmake.lua │ ├── aklomp-base64 │ │ └── xmake.lua │ ├── alcatraz │ │ └── xmake.lua │ ├── alembic │ │ └── xmake.lua │ ├── algo_plus │ │ └── xmake.lua │ ├── alpaca │ │ └── xmake.lua │ ├── alsa-lib │ │ └── xmake.lua │ ├── amgcl │ │ └── xmake.lua │ ├── amgx │ │ ├── patches │ │ │ └── 2.4.0 │ │ │ │ └── msvc.patch │ │ └── xmake.lua │ ├── amqp-cpp │ │ └── xmake.lua │ ├── amrex │ │ ├── patches │ │ │ └── 24.09 │ │ │ │ └── remove-symlink.patch │ │ └── xmake.lua │ ├── anari │ │ └── xmake.lua │ ├── angelscript │ │ ├── patches │ │ │ └── msvc-arm64.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── angle │ │ ├── port │ │ │ └── 6288 │ │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── annoy │ │ └── xmake.lua │ ├── antlr4-runtime │ │ ├── patches │ │ │ └── 4.13.2 │ │ │ │ └── add-include-chrono.patch │ │ └── xmake.lua │ ├── antlr4 │ │ ├── rules │ │ │ ├── find_antlr4.lua │ │ │ └── g4.lua │ │ └── xmake.lua │ ├── aom │ │ └── xmake.lua │ ├── apr │ │ ├── patches │ │ │ └── 1.7.0 │ │ │ │ └── common.patch │ │ └── xmake.lua │ ├── aqt │ │ └── xmake.lua │ ├── aravis │ │ └── xmake.lua │ ├── arduinojson │ │ └── xmake.lua │ ├── argh │ │ └── xmake.lua │ ├── argp-standalone │ │ └── xmake.lua │ ├── argparse │ │ └── xmake.lua │ ├── argtable3 │ │ └── xmake.lua │ ├── argz │ │ └── xmake.lua │ ├── arkari │ │ └── xmake.lua │ ├── armadillo │ │ └── xmake.lua │ ├── arrow │ │ └── xmake.lua │ ├── asap │ │ └── xmake.lua │ ├── aseprite-tga │ │ └── xmake.lua │ ├── asio │ │ └── xmake.lua │ ├── asio2 │ │ ├── patches │ │ │ └── 2.9 │ │ │ │ └── remove-const.patch │ │ └── xmake.lua │ ├── asio3 │ │ └── xmake.lua │ ├── asmjit │ │ └── xmake.lua │ ├── asmtk │ │ └── xmake.lua │ ├── asn1c │ │ └── xmake.lua │ ├── assimp │ │ ├── patches │ │ │ ├── 5.0.1 │ │ │ │ └── fix-mingw.patch │ │ │ ├── 5.2.1 │ │ │ │ └── fix_zlib_filefunc_def.patch │ │ │ ├── 5.2.3 │ │ │ │ └── cmake_static_crt.patch │ │ │ ├── 5.2.4 │ │ │ │ └── fix_x86_windows_build.patch │ │ │ └── 5.4.3 │ │ │ │ └── fix_mingw.patch │ │ └── xmake.lua │ ├── astc-encoder │ │ └── xmake.lua │ ├── async_simple │ │ └── xmake.lua │ ├── at-spi2-core │ │ └── xmake.lua │ ├── atk │ │ └── xmake.lua │ ├── atomic_queue │ │ └── xmake.lua │ ├── attr │ │ └── xmake.lua │ ├── audiofile │ │ └── xmake.lua │ ├── aurora-au │ │ └── xmake.lua │ ├── autoconf-archive │ │ └── xmake.lua │ ├── autoconf │ │ └── xmake.lua │ ├── autodiff │ │ └── xmake.lua │ ├── automake │ │ └── xmake.lua │ ├── autotools │ │ └── xmake.lua │ ├── avir │ │ └── xmake.lua │ ├── awk │ │ └── xmake.lua │ ├── aws-c-auth │ │ └── xmake.lua │ ├── aws-c-cal │ │ └── xmake.lua │ ├── aws-c-common │ │ └── xmake.lua │ ├── aws-c-compression │ │ └── xmake.lua │ ├── aws-c-event-stream │ │ └── xmake.lua │ ├── aws-c-http │ │ └── xmake.lua │ ├── aws-c-io │ │ └── xmake.lua │ ├── aws-c-mqtt │ │ └── xmake.lua │ ├── aws-c-s3 │ │ └── xmake.lua │ ├── aws-c-sdkutils │ │ └── xmake.lua │ ├── aws-checksums │ │ └── xmake.lua │ ├── aws-crt-cpp │ │ └── xmake.lua │ ├── aws-lc │ │ └── xmake.lua │ └── aws-sdk-cpp │ │ └── xmake.lua ├── b │ ├── b2 │ │ └── xmake.lua │ ├── babl │ │ └── xmake.lua │ ├── backportcpp │ │ └── xmake.lua │ ├── backward-cpp │ │ ├── patches │ │ │ └── v1.6 │ │ │ │ ├── fix_32bit_ssize_t_typedef.patch │ │ │ │ └── link_to_imagehlp.patch │ │ └── xmake.lua │ ├── barkeep │ │ └── xmake.lua │ ├── base-n │ │ └── xmake.lua │ ├── base64-terrakuh │ │ └── xmake.lua │ ├── basisu │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── bazel │ │ └── xmake.lua │ ├── bc │ │ └── xmake.lua │ ├── bcg729 │ │ └── xmake.lua │ ├── bddisasm │ │ └── xmake.lua │ ├── bdwgc │ │ └── xmake.lua │ ├── benchmark │ │ └── xmake.lua │ ├── bento4 │ │ └── xmake.lua │ ├── better-enums │ │ └── xmake.lua │ ├── bgfx │ │ ├── rules │ │ │ └── shaders.lua │ │ └── xmake.lua │ ├── bght │ │ └── xmake.lua │ ├── bin2c │ │ ├── patches │ │ │ └── 0.0.1 │ │ │ │ └── bin2c-test.patch │ │ └── xmake.lua │ ├── binutils │ │ └── xmake.lua │ ├── bison │ │ └── xmake.lua │ ├── bitsery │ │ ├── patches │ │ │ └── 5.2.3 │ │ │ │ └── cstdint-include.patch │ │ └── xmake.lua │ ├── blah │ │ └── xmake.lua │ ├── blake2 │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── blake3 │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── blaze │ │ ├── patches │ │ │ └── 3.8 │ │ │ │ └── fix-vm-build.patch │ │ └── xmake.lua │ ├── blend2d │ │ └── xmake.lua │ ├── blitz │ │ └── xmake.lua │ ├── blosc │ │ └── xmake.lua │ ├── bluez │ │ └── xmake.lua │ ├── boost │ │ ├── b2 │ │ │ ├── install.lua │ │ │ └── load.lua │ │ ├── cmake │ │ │ ├── install.lua │ │ │ └── load.lua │ │ ├── fetch.lua │ │ ├── libs.lua │ │ ├── patches │ │ │ ├── 1.75.0 │ │ │ │ └── warning.patch │ │ │ ├── 1.85.0 │ │ │ │ └── fix-v144.patch │ │ │ └── 1.86.0 │ │ │ │ └── find-zstd.patch │ │ ├── test.lua │ │ └── xmake.lua │ ├── boost_di │ │ └── xmake.lua │ ├── boost_pfr │ │ └── xmake.lua │ ├── boost_reflect │ │ └── xmake.lua │ ├── boost_sml │ │ └── xmake.lua │ ├── boost_ut │ │ └── xmake.lua │ ├── boostdep │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── boringssl │ │ ├── patches │ │ │ ├── 2021.12.29 │ │ │ │ └── cmake.patch │ │ │ └── 2022.06.13 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── botan │ │ ├── patches │ │ │ └── 3.6.0 │ │ │ │ ├── ar-response-files.patch │ │ │ │ └── msvc-compiler-flags.patch │ │ └── xmake.lua │ ├── box2d │ │ ├── patches │ │ │ └── 3.1.0 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── boxfort │ │ └── xmake.lua │ ├── bqlog │ │ └── xmake.lua │ ├── branchless-utf8 │ │ └── xmake.lua │ ├── breakpad │ │ ├── patches │ │ │ └── v2023.06.01 │ │ │ │ └── linux_syscall_support.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── bredis │ │ └── xmake.lua │ ├── brotli │ │ ├── patches │ │ │ └── 1.0.9 │ │ │ │ ├── common_platform.patch │ │ │ │ └── tool_brotli.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── brpc │ │ ├── patches │ │ │ ├── 1.3.0 │ │ │ │ └── cmake.patch │ │ │ ├── 1.4.0 │ │ │ │ └── cmake.patch │ │ │ ├── 1.5.0 │ │ │ │ └── cmake.patch │ │ │ ├── 1.6.1 │ │ │ │ └── cmake.patch │ │ │ ├── 1.7.0 │ │ │ │ └── cmake.patch │ │ │ └── 1.8.0 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── brynet │ │ └── xmake.lua │ ├── bsdiff │ │ ├── port │ │ │ ├── Compat.h │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── buddy │ │ └── xmake.lua │ ├── bullet3 │ │ └── xmake.lua │ ├── bvh │ │ └── xmake.lua │ ├── bytepack │ │ └── xmake.lua │ ├── bzip2 │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ └── bzip3 │ │ └── xmake.lua ├── c │ ├── c-ares │ │ ├── patches │ │ │ ├── 1.18.1 │ │ │ │ ├── guard-imported-lib.patch │ │ │ │ └── skip-docs.patch │ │ │ └── 1.29.0 │ │ │ │ └── macosx-header.patch │ │ └── xmake.lua │ ├── c-blosc2 │ │ └── xmake.lua │ ├── c-vector │ │ └── xmake.lua │ ├── c4core │ │ ├── patches │ │ │ └── 0.2.1 │ │ │ │ └── cmake-deps.patch │ │ └── xmake.lua │ ├── ca-certificates │ │ └── xmake.lua │ ├── cairo │ │ ├── patches │ │ │ └── 1.18.0 │ │ │ │ └── alloca.patch │ │ └── xmake.lua │ ├── capnproto │ │ └── xmake.lua │ ├── capstone │ │ └── xmake.lua │ ├── cargs │ │ └── xmake.lua │ ├── cartographer │ │ ├── patches │ │ │ ├── 1.0.0 │ │ │ │ ├── fix-build-error.patch │ │ │ │ └── remove-boost.patch │ │ │ └── 2.0.0 │ │ │ │ ├── fix-build-error.patch │ │ │ │ └── remove-boost.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── catch2 │ │ ├── patches │ │ │ └── 3.5.4 │ │ │ │ └── windows_arm64.patch │ │ └── xmake.lua │ ├── caudio │ │ ├── patches │ │ │ └── 2.3.1 │ │ │ │ └── win32_fix.patch │ │ └── xmake.lua │ ├── cdt │ │ └── xmake.lua │ ├── cef │ │ ├── patches │ │ │ └── 97.1.9 │ │ │ │ └── msvc_cpp20.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── celero │ │ ├── patches │ │ │ └── 2.8.2 │ │ │ │ └── gcc11.patch │ │ └── xmake.lua │ ├── cello │ │ └── xmake.lua │ ├── centurion │ │ ├── patches │ │ │ └── 7.3.0 │ │ │ │ └── fix_method_name.patch │ │ └── xmake.lua │ ├── cereal │ │ └── xmake.lua │ ├── ceres-solver │ │ ├── patches │ │ │ └── 2.1.0 │ │ │ │ └── int64.patch │ │ └── xmake.lua │ ├── ceval │ │ └── xmake.lua │ ├── cfitsio │ │ └── xmake.lua │ ├── cgal │ │ └── xmake.lua │ ├── cgetopt │ │ └── xmake.lua │ ├── cgif │ │ └── xmake.lua │ ├── cglm │ │ └── xmake.lua │ ├── cgltf │ │ └── xmake.lua │ ├── cgns │ │ └── xmake.lua │ ├── cgraph │ │ └── xmake.lua │ ├── chaiscript │ │ └── xmake.lua │ ├── charls │ │ └── xmake.lua │ ├── chipmunk2d │ │ ├── patches │ │ │ └── 7.0.3 │ │ │ │ └── android.patch │ │ └── xmake.lua │ ├── choc │ │ └── xmake.lua │ ├── chromium_zlib │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── cimg │ │ └── xmake.lua │ ├── cimgui │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── cinatra │ │ ├── patches │ │ │ └── 0.8.9 │ │ │ │ └── windows-move.patch │ │ └── xmake.lua │ ├── cista │ │ └── xmake.lua │ ├── civetweb │ │ ├── patches │ │ │ └── v1.15 │ │ │ │ └── find-winsock.patch │ │ └── xmake.lua │ ├── cjson │ │ └── xmake.lua │ ├── ck │ │ └── xmake.lua │ ├── clara │ │ └── xmake.lua │ ├── clay │ │ └── xmake.lua │ ├── clblast │ │ └── xmake.lua │ ├── clean-test │ │ └── xmake.lua │ ├── clhep │ │ ├── patches │ │ │ └── 2.4.5.1 │ │ │ │ └── kind.patch │ │ └── xmake.lua │ ├── cli │ │ └── xmake.lua │ ├── cli11 │ │ └── xmake.lua │ ├── clib │ │ └── xmake.lua │ ├── clip │ │ └── xmake.lua │ ├── clipboard_lite │ │ └── xmake.lua │ ├── clipper2 │ │ └── xmake.lua │ ├── clove-unit │ │ └── xmake.lua │ ├── cmake │ │ └── xmake.lua │ ├── cmark │ │ └── xmake.lua │ ├── cmdline │ │ └── xmake.lua │ ├── cmdparser │ │ └── xmake.lua │ ├── cmidi2 │ │ └── xmake.lua │ ├── cminpack │ │ └── xmake.lua │ ├── cmocka │ │ └── xmake.lua │ ├── cnats │ │ ├── patches │ │ │ └── 3.9.1 │ │ │ │ └── fix-cmake-mingw.patch │ │ └── xmake.lua │ ├── cnl │ │ └── xmake.lua │ ├── cnpy │ │ └── xmake.lua │ ├── coin-or-asl │ │ └── xmake.lua │ ├── coin-or-ipopt │ │ └── xmake.lua │ ├── collada-dom │ │ ├── patches │ │ │ └── v2.5.0 │ │ │ │ └── uriparser.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── commata │ │ └── xmake.lua │ ├── commonlibsse-ng │ │ ├── port │ │ │ └── xmake.lua │ │ ├── rules │ │ │ └── plugin.lua │ │ └── xmake.lua │ ├── concurrencpp │ │ └── xmake.lua │ ├── concurrentqueue │ │ └── xmake.lua │ ├── console-bridge │ │ └── xmake.lua │ ├── continuable │ │ └── xmake.lua │ ├── convertutf │ │ └── xmake.lua │ ├── coost │ │ └── xmake.lua │ ├── corrade │ │ ├── patches │ │ │ └── 2020.06 │ │ │ │ └── msvc.patch │ │ ├── rules │ │ │ └── resource.lua │ │ └── xmake.lua │ ├── cosmocc │ │ └── xmake.lua │ ├── cpp-async │ │ └── xmake.lua │ ├── cpp-channel │ │ └── xmake.lua │ ├── cpp-dump │ │ └── xmake.lua │ ├── cpp-httplib │ │ └── xmake.lua │ ├── cpp-ipc │ │ └── xmake.lua │ ├── cpp-jwt │ │ └── xmake.lua │ ├── cpp-lazy │ │ └── xmake.lua │ ├── cpp-linenoise │ │ └── xmake.lua │ ├── cpp-peglib │ │ └── xmake.lua │ ├── cpp-rotor │ │ └── xmake.lua │ ├── cpp-semver │ │ └── xmake.lua │ ├── cpp-sort │ │ └── xmake.lua │ ├── cpp-tbox │ │ └── xmake.lua │ ├── cpp20-http-client │ │ └── xmake.lua │ ├── cppast │ │ └── xmake.lua │ ├── cppcheck │ │ └── xmake.lua │ ├── cppcodec │ │ └── xmake.lua │ ├── cppcoro │ │ └── xmake.lua │ ├── cppfront │ │ └── xmake.lua │ ├── cppgpio │ │ └── xmake.lua │ ├── cppitertools │ │ └── xmake.lua │ ├── cppjieba │ │ └── xmake.lua │ ├── cppp-reiconv │ │ ├── patches │ │ │ └── 2.1.0 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── cpptrace │ │ └── xmake.lua │ ├── cppunit │ │ ├── port │ │ │ ├── config-auto.h │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── cppzmq │ │ └── xmake.lua │ ├── cpr │ │ └── xmake.lua │ ├── cpu-features │ │ └── xmake.lua │ ├── cpuinfo │ │ ├── clog.lua │ │ └── xmake.lua │ ├── cr │ │ └── xmake.lua │ ├── crashpad │ │ └── xmake.lua │ ├── crc32c │ │ └── xmake.lua │ ├── criterion │ │ ├── patch.lua │ │ └── xmake.lua │ ├── croaring │ │ └── xmake.lua │ ├── croncpp │ │ └── xmake.lua │ ├── crossguid │ │ ├── patches │ │ │ └── warnings.patch │ │ └── xmake.lua │ ├── crow │ │ └── xmake.lua │ ├── crstl │ │ └── xmake.lua │ ├── crypto-algorithms │ │ └── xmake.lua │ ├── cryptopp │ │ └── xmake.lua │ ├── cs_libguarded │ │ └── xmake.lua │ ├── csa │ │ └── xmake.lua │ ├── cserialport │ │ └── xmake.lua │ ├── csfml │ │ └── xmake.lua │ ├── cspice │ │ └── xmake.lua │ ├── csv2 │ │ └── xmake.lua │ ├── csvparser │ │ └── xmake.lua │ ├── cthash │ │ └── xmake.lua │ ├── ctpg │ │ └── xmake.lua │ ├── ctrack │ │ └── xmake.lua │ ├── ctre │ │ └── xmake.lua │ ├── ctrl-c │ │ └── xmake.lua │ ├── cubeb │ │ └── xmake.lua │ ├── cuda-samples │ │ └── xmake.lua │ ├── cuda │ │ └── xmake.lua │ ├── cumem │ │ └── xmake.lua │ ├── cunit │ │ └── xmake.lua │ ├── curl │ │ └── xmake.lua │ ├── curlcpp │ │ └── xmake.lua │ ├── curlpp │ │ └── xmake.lua │ ├── cute_headers │ │ └── xmake.lua │ ├── cutlass │ │ └── xmake.lua │ ├── cwt-cucumber │ │ └── xmake.lua │ ├── cxxgraph │ │ └── xmake.lua │ ├── cxxopts │ │ ├── patches │ │ │ └── missing-gcc15-header.patch │ │ └── xmake.lua │ └── cyrus-sasl │ │ └── xmake.lua ├── d │ ├── d3d12-memory-allocator │ │ └── xmake.lua │ ├── daemonpp │ │ └── xmake.lua │ ├── dartsim │ │ ├── patches │ │ │ └── 6.14.5 │ │ │ │ └── dartpy.patch │ │ └── xmake.lua │ ├── dataframe │ │ └── xmake.lua │ ├── datatype99 │ │ └── xmake.lua │ ├── date │ │ └── xmake.lua │ ├── dav1d │ │ └── xmake.lua │ ├── davix │ │ └── xmake.lua │ ├── daw_header_libraries │ │ └── xmake.lua │ ├── daw_json_link │ │ └── xmake.lua │ ├── dbg-macro │ │ └── xmake.lua │ ├── dbus │ │ └── xmake.lua │ ├── dcmtk │ │ └── xmake.lua │ ├── debug-hpp │ │ └── xmake.lua │ ├── debug_assert │ │ └── xmake.lua │ ├── debugbreak │ │ └── xmake.lua │ ├── decimal_for_cpp │ │ └── xmake.lua │ ├── demumble │ │ └── xmake.lua │ ├── depot_tools │ │ └── xmake.lua │ ├── devil │ │ ├── patches │ │ │ └── 1.8.0 │ │ │ │ ├── jp2.patch │ │ │ │ └── static.patch │ │ └── xmake.lua │ ├── dfdutils │ │ └── xmake.lua │ ├── diasdk │ │ └── xmake.lua │ ├── digestpp │ │ └── xmake.lua │ ├── diligentcore │ │ ├── patches │ │ │ └── v2.5.6 │ │ │ │ ├── debundle-thirdparty.diff │ │ │ │ ├── enforce-static-lib-type-for-platform-libraries.diff │ │ │ │ ├── fix-build-deps-pkgconf.diff │ │ │ │ ├── fix-install-path.diff │ │ │ │ └── fix-spirv-cross-namespace.diff │ │ └── xmake.lua │ ├── diligentfx │ │ ├── patches │ │ │ └── v2.5.6 │ │ │ │ ├── components-include-diligentcore.diff │ │ │ │ ├── debundle-thirdparty-cmakelist.diff │ │ │ │ ├── fix-top-cmakelist.diff │ │ │ │ ├── hydrogent-include-diligentcore.diff │ │ │ │ ├── hydrogent-interface-include-diligentcore.diff │ │ │ │ ├── hydrogent-interface-tasks-include-diligentcore.diff │ │ │ │ ├── hydrogent-src-include-diligentcore.diff │ │ │ │ ├── pbr-include-diligentcore.diff │ │ │ │ ├── postprocess-common-include-diligentcore.diff │ │ │ │ ├── postprocess-include-diligentcore.diff │ │ │ │ ├── postprocess-src-include-diligentcore.diff │ │ │ │ └── utilities-include-diligentcore.diff │ │ └── xmake.lua │ ├── diligenttools │ │ ├── patches │ │ │ └── v2.5.6 │ │ │ │ ├── assetloader-include-diligentcore.diff │ │ │ │ ├── debundle-cmakelists.diff │ │ │ │ ├── debundle-thirdparty-cmakelist.diff │ │ │ │ ├── fix-top-cmakelist.diff │ │ │ │ ├── imgui-include-diligentcore.diff │ │ │ │ ├── imguizmo-modified-include-diligentcore.diff │ │ │ │ ├── nativeapp-include-diligentcore.diff │ │ │ │ ├── renderstatenotation-include-diligentcore.diff │ │ │ │ ├── renderstatepackager-include-diligentcore.diff │ │ │ │ └── textureloader-include-diligentcore.diff │ │ └── xmake.lua │ ├── dipp │ │ └── xmake.lua │ ├── directx-headers │ │ ├── patches │ │ │ └── 1.610.0 │ │ │ │ └── mingw.patch │ │ └── xmake.lua │ ├── directxmath │ │ └── xmake.lua │ ├── directxshadercompiler │ │ ├── patches │ │ │ └── disable_go_bindings.patch │ │ └── xmake.lua │ ├── directxtex │ │ └── xmake.lua │ ├── directxtk │ │ └── xmake.lua │ ├── directxtk12 │ │ └── xmake.lua │ ├── dirent │ │ └── xmake.lua │ ├── dirent_h │ │ └── xmake.lua │ ├── discord │ │ ├── patches │ │ │ ├── 2.5.6 │ │ │ │ └── add_include_cstdint_to_typeh.patch │ │ │ └── 3.2.1 │ │ │ │ └── add_include_cstdint_to_typeh.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── dispenso │ │ ├── patches │ │ │ └── 1.2.0 │ │ │ │ └── namespace.patch │ │ └── xmake.lua │ ├── distorm │ │ └── xmake.lua │ ├── dlfcn-win32 │ │ └── xmake.lua │ ├── dlib │ │ └── xmake.lua │ ├── dlpack │ │ └── xmake.lua │ ├── dlss │ │ └── xmake.lua │ ├── dobby │ │ ├── patches │ │ │ └── fix-compile-on-lower-version-of-gcc.patch │ │ └── xmake.lua │ ├── docopt │ │ └── xmake.lua │ ├── doctest │ │ └── xmake.lua │ ├── dotnet │ │ └── xmake.lua │ ├── double-conversion │ │ └── xmake.lua │ ├── doxygen │ │ └── xmake.lua │ ├── dpp │ │ ├── patches │ │ │ ├── v10.0.10 │ │ │ │ └── permission_include.patch │ │ │ ├── v10.0.12 │ │ │ │ └── mutex_include.patch │ │ │ ├── v10.0.13 │ │ │ │ └── cstring_include.patch │ │ │ ├── v10.0.14 │ │ │ │ └── static_export.patch │ │ │ └── v10.0.8 │ │ │ │ └── static_export.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── dr_flac │ │ └── xmake.lua │ ├── dr_mp3 │ │ └── xmake.lua │ ├── dr_wav │ │ └── xmake.lua │ ├── draco │ │ └── xmake.lua │ ├── dragonbox │ │ └── xmake.lua │ ├── drogon │ │ ├── patches │ │ │ ├── 1.4.1 │ │ │ │ ├── resolv.patch │ │ │ │ └── trantor.patch │ │ │ ├── 1.6.0 │ │ │ │ ├── resolv.patch │ │ │ │ └── trantor.patch │ │ │ ├── 1.7.1 │ │ │ │ ├── resolv.patch │ │ │ │ └── trantor.patch │ │ │ ├── 1.7.3 │ │ │ │ ├── resolv.patch │ │ │ │ └── trantor.patch │ │ │ ├── 1.8.0 │ │ │ │ ├── check.patch │ │ │ │ ├── config.patch │ │ │ │ ├── redis.patch │ │ │ │ └── resolv.patch │ │ │ ├── 1.8.2 │ │ │ │ └── gcc13.patch │ │ │ ├── 1.9.1 │ │ │ │ └── resolv.patch │ │ │ └── 1.9.6 │ │ │ │ └── windows-build.patch │ │ └── xmake.lua │ ├── duckdb │ │ └── xmake.lua │ ├── duckx │ │ └── xmake.lua │ ├── duilib_ultimate │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── duktape │ │ └── xmake.lua │ ├── dune-common │ │ └── xmake.lua │ ├── dxsdk │ │ └── xmake.lua │ ├── dylib │ │ └── xmake.lua │ ├── dynareadout │ │ └── xmake.lua │ └── dyncall │ │ └── xmake.lua ├── e │ ├── e2fsprogs │ │ └── xmake.lua │ ├── eabase │ │ └── xmake.lua │ ├── eastl │ │ └── xmake.lua │ ├── easy_profiler │ │ └── xmake.lua │ ├── easyhook │ │ ├── patches │ │ │ └── v2.7.7097+0 │ │ │ │ └── fix-build.patch │ │ └── xmake.lua │ ├── easyloggingpp │ │ └── xmake.lua │ ├── easywsclient │ │ ├── patches │ │ │ └── 2021.01.12 │ │ │ │ ├── add_cstdint.patch │ │ │ │ └── move_import.patch │ │ └── xmake.lua │ ├── ed │ │ └── xmake.lua │ ├── edlib │ │ └── xmake.lua │ ├── effcee │ │ └── xmake.lua │ ├── effolkronium-random │ │ └── xmake.lua │ ├── efsw │ │ └── xmake.lua │ ├── egl-headers │ │ └── xmake.lua │ ├── eigen │ │ └── xmake.lua │ ├── elfio │ │ └── xmake.lua │ ├── elfutils │ │ ├── patches │ │ │ ├── 0.183 │ │ │ │ └── configure.patch │ │ │ ├── 0.189 │ │ │ │ └── configure.patch │ │ │ └── 0.190 │ │ │ │ └── configure.patch │ │ └── xmake.lua │ ├── embree │ │ └── xmake.lua │ ├── emhash │ │ └── xmake.lua │ ├── emio │ │ └── xmake.lua │ ├── emmylua_debugger │ │ └── xmake.lua │ ├── emscripten-glfw │ │ └── xmake.lua │ ├── emscripten │ │ └── xmake.lua │ ├── enet │ │ ├── patches │ │ │ ├── v1.3.17 │ │ │ │ └── cmake.patch │ │ │ └── v1.3.18 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── enet6 │ │ └── xmake.lua │ ├── enkits │ │ └── xmake.lua │ ├── enoki │ │ └── xmake.lua │ ├── ensmallen │ │ └── xmake.lua │ ├── entt │ │ └── xmake.lua │ ├── epoll-shim │ │ └── xmake.lua │ ├── etl │ │ └── xmake.lua │ ├── eudev │ │ └── xmake.lua │ ├── eve │ │ └── xmake.lua │ ├── eventpp │ │ └── xmake.lua │ ├── exosip │ │ ├── port │ │ │ └── exosip2.def │ │ └── xmake.lua │ ├── expat │ │ └── xmake.lua │ ├── expected-lite │ │ └── xmake.lua │ ├── expresscpp │ │ ├── patches │ │ │ └── v0.20.0 │ │ │ │ └── fix-build.diff │ │ └── xmake.lua │ ├── exprtk │ │ └── xmake.lua │ ├── extra-cmake-modules │ │ └── xmake.lua │ └── ezc3d │ │ └── xmake.lua ├── f │ ├── faac │ │ └── xmake.lua │ ├── faad2 │ │ └── xmake.lua │ ├── faiss │ │ └── xmake.lua │ ├── fakeit │ │ └── xmake.lua │ ├── faker-cxx │ │ └── xmake.lua │ ├── fann │ │ └── xmake.lua │ ├── farmhash │ │ └── xmake.lua │ ├── fast-cdr │ │ └── xmake.lua │ ├── fast-lzma2 │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── fast_double_parser │ │ └── xmake.lua │ ├── fast_float │ │ ├── patches │ │ │ └── emscripten_fix.patch │ │ └── xmake.lua │ ├── fast_io │ │ └── xmake.lua │ ├── fast_obj │ │ └── xmake.lua │ ├── fastcppcsvparser │ │ └── xmake.lua │ ├── fastgltf │ │ ├── patches │ │ │ └── 0.7.1 │ │ │ │ └── cmake-simdjson.patch │ │ └── xmake.lua │ ├── fastmod │ │ └── xmake.lua │ ├── fastor │ │ └── xmake.lua │ ├── fatal │ │ └── xmake.lua │ ├── fbgemm │ │ ├── patches │ │ │ ├── 0.7.0 │ │ │ │ └── dep-unbundle.patch │ │ │ ├── 0.8.0 │ │ │ │ ├── dep-unbundle.patch │ │ │ │ └── msvc-omp.patch │ │ │ └── 1.1.0 │ │ │ │ └── dep-unbundle.patch │ │ └── xmake.lua │ ├── fbthrift │ │ └── xmake.lua │ ├── fcl │ │ └── xmake.lua │ ├── fcpw │ │ └── xmake.lua │ ├── fdk-aac │ │ └── xmake.lua │ ├── ffmpeg │ │ └── xmake.lua │ ├── ffts │ │ └── xmake.lua │ ├── fftw │ │ └── xmake.lua │ ├── fgt │ │ └── xmake.lua │ ├── field3d │ │ ├── patches │ │ │ └── 1.7.3 │ │ │ │ └── msvc.patch │ │ └── xmake.lua │ ├── filament │ │ └── xmake.lua │ ├── fixed-containers │ │ └── xmake.lua │ ├── fizz │ │ └── xmake.lua │ ├── flann │ │ ├── patches │ │ │ └── 1.9.1 │ │ │ │ └── cuda10.patch │ │ └── xmake.lua │ ├── flatbuffers │ │ └── xmake.lua │ ├── flatcc │ │ └── xmake.lua │ ├── flecs │ │ ├── patches │ │ │ └── v3.2.4 │ │ │ │ └── freebsd_http_include.patch │ │ └── xmake.lua │ ├── flex │ │ └── xmake.lua │ ├── fltk │ │ ├── patches │ │ │ └── 1.3.9 │ │ │ │ └── cmake-fluid.patch │ │ └── xmake.lua │ ├── fluidsynth │ │ ├── patches │ │ │ ├── 2.3.3 │ │ │ │ └── find-intl.patch │ │ │ └── 2.3.5 │ │ │ │ └── find-intl.patch │ │ └── xmake.lua │ ├── flux │ │ └── xmake.lua │ ├── fluxsort │ │ └── xmake.lua │ ├── fmi │ │ └── xmake.lua │ ├── fmi4cpp │ │ ├── patches │ │ │ └── 0.8.0 │ │ │ │ ├── clang_fix.patch │ │ │ │ └── win32_zlib.patch │ │ └── xmake.lua │ ├── fmt │ │ ├── patches │ │ │ └── 10.1.0 │ │ │ │ └── utf8.patch │ │ └── xmake.lua │ ├── fmtlog │ │ └── xmake.lua │ ├── folly │ │ ├── patches │ │ │ ├── 2021.06.28 │ │ │ │ ├── regex.patch │ │ │ │ └── reorder.patch │ │ │ └── 2023.11.20 │ │ │ │ ├── msvc.patch │ │ │ │ └── pkgconfig.patch │ │ └── xmake.lua │ ├── fontconfig │ │ └── xmake.lua │ ├── fpm │ │ └── xmake.lua │ ├── fpng │ │ └── xmake.lua │ ├── freeglut │ │ ├── patches │ │ │ └── 3.4.0 │ │ │ │ └── arm64.patch │ │ └── xmake.lua │ ├── freeimage │ │ ├── patches │ │ │ └── 3.18.0 │ │ │ │ ├── libjxr.patch │ │ │ │ ├── openexr.patch │ │ │ │ └── pluginbmp.patch │ │ └── xmake.lua │ ├── freetype │ │ ├── patches │ │ │ └── 2.11.0 │ │ │ │ └── writing_system.patch │ │ └── xmake.lua │ ├── fribidi │ │ └── xmake.lua │ ├── frozen │ │ └── xmake.lua │ ├── frozenca-btree │ │ └── xmake.lua │ ├── frugally-deep │ │ └── xmake.lua │ ├── fruit │ │ └── xmake.lua │ ├── ftgl │ │ ├── patches │ │ │ └── 2.4.0 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── ftxui │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── funchook │ │ ├── patches │ │ │ ├── fix-build-system-deps.patch │ │ │ └── fix-function-visibility.patch │ │ └── xmake.lua │ ├── function2 │ │ └── xmake.lua │ ├── functionalplus │ │ └── xmake.lua │ ├── fx-gltf │ │ └── xmake.lua │ └── fxdiv │ │ └── xmake.lua ├── g │ ├── g2o │ │ └── xmake.lua │ ├── g3log │ │ └── xmake.lua │ ├── gamenetworkingsockets │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── gcem │ │ └── xmake.lua │ ├── gdal │ │ └── xmake.lua │ ├── gdk-pixbuf │ │ ├── patches │ │ │ └── 2.42.6 │ │ │ │ └── macosx.patch │ │ └── xmake.lua │ ├── geant4 │ │ └── xmake.lua │ ├── gelldur-eventbus │ │ └── xmake.lua │ ├── genie │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── geographiclib │ │ └── xmake.lua │ ├── geos │ │ └── xmake.lua │ ├── gettext │ │ └── xmake.lua │ ├── gflags │ │ ├── patches │ │ │ └── v2.2.2 │ │ │ │ └── fix-cmake.patch │ │ └── xmake.lua │ ├── gfortran │ │ └── xmake.lua │ ├── gfx-timsort │ │ └── xmake.lua │ ├── ggml │ │ └── xmake.lua │ ├── ghc_filesystem │ │ └── xmake.lua │ ├── ghostscript │ │ └── xmake.lua │ ├── gifdec │ │ └── xmake.lua │ ├── giflib │ │ ├── patches │ │ │ └── 5.2.1 │ │ │ │ └── unistd.h.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── ginkgo │ │ └── xmake.lua │ ├── git-crypt │ │ └── xmake.lua │ ├── gklib │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── gl2ps │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── glad │ │ ├── patches │ │ │ └── 0.1.36 │ │ │ │ └── utf8.patch │ │ └── xmake.lua │ ├── glaze │ │ └── xmake.lua │ ├── glbinding │ │ └── xmake.lua │ ├── glew │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── glfw │ │ └── xmake.lua │ ├── glfw3webgpu │ │ └── xmake.lua │ ├── gli │ │ └── xmake.lua │ ├── glib │ │ ├── patches │ │ │ └── 2.71.0 │ │ │ │ └── macosx.patch │ │ └── xmake.lua │ ├── glm │ │ └── xmake.lua │ ├── glob │ │ └── xmake.lua │ ├── glog │ │ └── xmake.lua │ ├── glosshook │ │ └── xmake.lua │ ├── glpk │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── glshaderpp │ │ └── xmake.lua │ ├── glslang │ │ └── xmake.lua │ ├── glu │ │ └── xmake.lua │ ├── glut │ │ └── xmake.lua │ ├── glx │ │ └── xmake.lua │ ├── gmm │ │ └── xmake.lua │ ├── gmp │ │ ├── patches │ │ │ └── 6.3.0 │ │ │ │ └── gmp-gcc-15.patch │ │ └── xmake.lua │ ├── gmsh │ │ └── xmake.lua │ ├── gmssl │ │ └── xmake.lua │ ├── gn │ │ └── xmake.lua │ ├── gnu-gsl │ │ ├── cmake │ │ │ └── cmakelists.txt │ │ ├── patches │ │ │ ├── add_fp_control.patch │ │ │ └── configure.patch │ │ └── xmake.lua │ ├── gnu-rm │ │ └── xmake.lua │ ├── gnu-sed │ │ └── xmake.lua │ ├── go │ │ └── xmake.lua │ ├── gobject-introspection │ │ └── xmake.lua │ ├── godotcpp │ │ └── xmake.lua │ ├── godotcpp4 │ │ ├── test │ │ │ ├── 4.0.cpp │ │ │ └── 4.x.cpp │ │ └── xmake.lua │ ├── google-cloud-cpp │ │ └── xmake.lua │ ├── gperf │ │ └── xmake.lua │ ├── gperftools │ │ └── xmake.lua │ ├── gpujpeg │ │ └── xmake.lua │ ├── gr │ │ └── xmake.lua │ ├── graaf │ │ └── xmake.lua │ ├── graphene │ │ └── xmake.lua │ ├── grpc │ │ ├── patches │ │ │ ├── 1.51.3 │ │ │ │ ├── disable-download-archive.patch │ │ │ │ └── static-linking-in-linux.patch │ │ │ └── 1.68.2 │ │ │ │ └── fix-nan-on-win11.patch │ │ └── xmake.lua │ ├── gsl-lite │ │ └── xmake.lua │ ├── gsl │ │ └── xmake.lua │ ├── gsound │ │ └── xmake.lua │ ├── gspell │ │ └── xmake.lua │ ├── gstreamer │ │ └── xmake.lua │ ├── gtest │ │ └── xmake.lua │ ├── gtk+4 │ │ └── xmake.lua │ ├── gtk3 │ │ └── xmake.lua │ ├── gtk4 │ │ └── xmake.lua │ ├── guetzli │ │ └── xmake.lua │ ├── guilite │ │ └── xmake.lua │ ├── gumbo-parser │ │ └── xmake.lua │ ├── gyp-next │ │ └── xmake.lua │ └── gzip-hpp │ │ └── xmake.lua ├── h │ ├── h5cpp │ │ ├── patches │ │ │ └── fix-find-hdf5.patch │ │ └── xmake.lua │ ├── haclog │ │ └── xmake.lua │ ├── half │ │ └── xmake.lua │ ├── handy │ │ └── xmake.lua │ ├── happly │ │ └── xmake.lua │ ├── harfbuzz │ │ └── xmake.lua │ ├── hash-library │ │ └── xmake.lua │ ├── hdf5 │ │ └── xmake.lua │ ├── hdrhistogram_c │ │ └── xmake.lua │ ├── hedley │ │ └── xmake.lua │ ├── hexl │ │ ├── patches │ │ │ └── 1.2.5 │ │ │ │ └── cmake-find-easyloggingpp.patch │ │ └── xmake.lua │ ├── hffix │ │ └── xmake.lua │ ├── hidapi │ │ └── xmake.lua │ ├── highfive │ │ ├── patches │ │ │ └── fix-find-hdf5.patch │ │ └── xmake.lua │ ├── highs │ │ └── xmake.lua │ ├── highway │ │ └── xmake.lua │ ├── hiredis │ │ └── xmake.lua │ ├── hlslpp │ │ └── xmake.lua │ ├── hookmanager │ │ └── xmake.lua │ ├── hopscotch-map │ │ └── xmake.lua │ ├── houdini │ │ └── xmake.lua │ ├── hpsocket │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── hpx │ │ └── xmake.lua │ ├── http_parser │ │ └── xmake.lua │ ├── hwloc │ │ └── xmake.lua │ ├── hyperscan │ │ └── xmake.lua │ ├── hypre │ │ └── xmake.lua │ └── hyprwayland-scanner │ │ └── xmake.lua ├── i │ ├── icbc │ │ ├── patches │ │ │ └── 1.05 │ │ │ │ └── cleanup.patch │ │ └── xmake.lua │ ├── icu4c │ │ ├── patches │ │ │ ├── 69.1 │ │ │ │ └── replace-py-3.patch │ │ │ ├── 70.1 │ │ │ │ └── replace-py-3.patch │ │ │ └── 72.1 │ │ │ │ └── mingw.patch │ │ └── xmake.lua │ ├── idna │ │ └── xmake.lua │ ├── ifort │ │ └── xmake.lua │ ├── igraph │ │ ├── arith_osx.h │ │ ├── arith_win32.h │ │ ├── arith_win64.h │ │ └── xmake.lua │ ├── iguana │ │ └── xmake.lua │ ├── il2cpp_resolver │ │ └── xmake.lua │ ├── im3d │ │ └── xmake.lua │ ├── imagemagick │ │ └── xmake.lua │ ├── imath │ │ └── xmake.lua │ ├── imcoolbar │ │ └── xmake.lua │ ├── imgui-color-text-edit │ │ └── xmake.lua │ ├── imgui-file-dialog │ │ └── xmake.lua │ ├── imgui-filebrowser │ │ └── xmake.lua │ ├── imgui-sfml │ │ └── xmake.lua │ ├── imgui │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── imguitextselect │ │ └── xmake.lua │ ├── imguizmo │ │ └── xmake.lua │ ├── immer │ │ └── xmake.lua │ ├── imnodes │ │ └── xmake.lua │ ├── implot │ │ └── xmake.lua │ ├── implot3d │ │ └── xmake.lua │ ├── indicators │ │ └── xmake.lua │ ├── infoware │ │ └── xmake.lua │ ├── inifile-cpp │ │ └── xmake.lua │ ├── inih │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── iniparser │ │ └── xmake.lua │ ├── inipp │ │ └── xmake.lua │ ├── inja │ │ └── xmake.lua │ ├── injector │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── interface99 │ │ └── xmake.lua │ ├── intx │ │ └── xmake.lua │ ├── iowow │ │ └── xmake.lua │ ├── ip2region │ │ └── xmake.lua │ ├── irrlicht │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── irrxml │ │ └── xmake.lua │ ├── iso-codes │ │ └── xmake.lua │ ├── isocline │ │ └── xmake.lua │ ├── ispc │ │ └── xmake.lua │ ├── itk │ │ └── xmake.lua │ ├── itlib │ │ └── xmake.lua │ ├── itstool │ │ └── xmake.lua │ ├── ittapi │ │ └── xmake.lua │ ├── iverilog │ │ └── xmake.lua │ └── ixwebsocket │ │ └── xmake.lua ├── j │ ├── jansson │ │ └── xmake.lua │ ├── jasper │ │ └── xmake.lua │ ├── jemalloc │ │ ├── patches │ │ │ └── 5.2.1 │ │ │ │ └── fix_nothrow_type.patch │ │ └── xmake.lua │ ├── jerryscript │ │ ├── patches │ │ │ └── 2024.12.03 │ │ │ │ └── enum.patch │ │ └── xmake.lua │ ├── jnipp │ │ └── xmake.lua │ ├── johnnyengine │ │ ├── patches │ │ │ └── 1.0.1 │ │ │ │ └── win32_shared_fix.patch │ │ └── xmake.lua │ ├── joltphysics │ │ ├── patches │ │ │ ├── v2.0.1 │ │ │ │ ├── android_fixes.patch │ │ │ │ ├── armv7.patch │ │ │ │ └── msvc_arm.patch │ │ │ └── v3.0.1 │ │ │ │ └── fix_fedora.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── jom │ │ └── xmake.lua │ ├── jpcre2 │ │ └── xmake.lua │ ├── jrtplib │ │ └── xmake.lua │ ├── jsbsim │ │ └── xmake.lua │ ├── jsmn │ │ └── xmake.lua │ ├── json-c │ │ └── xmake.lua │ ├── json-glib │ │ ├── patches │ │ │ └── 1.9.2 │ │ │ │ └── add_brace_to_json_scanner.patch │ │ └── xmake.lua │ ├── json-schema-validator │ │ └── xmake.lua │ ├── json.h │ │ └── xmake.lua │ ├── jsoncons │ │ └── xmake.lua │ ├── jsoncpp │ │ └── xmake.lua │ ├── jthread │ │ ├── patches │ │ │ └── 2023.08.18 │ │ │ │ └── cmakelist.patch │ │ └── xmake.lua │ ├── jwt-cpp │ │ └── xmake.lua │ └── jxrlib │ │ ├── patches │ │ ├── mingw.patch │ │ └── missing-declarations.patch │ │ ├── port │ │ └── xmake.lua │ │ └── xmake.lua ├── k │ ├── kahip │ │ └── xmake.lua │ ├── kangaru │ │ └── xmake.lua │ ├── kcp │ │ └── xmake.lua │ ├── kdbindings │ │ └── xmake.lua │ ├── keystone │ │ └── xmake.lua │ ├── khaledhosny-ots │ │ └── xmake.lua │ ├── khrplatform │ │ └── xmake.lua │ ├── kiwisolver │ │ └── xmake.lua │ ├── klib │ │ ├── port │ │ │ ├── rand48.c │ │ │ ├── unistd.h │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── kokkos-kernels │ │ └── xmake.lua │ ├── kokkos │ │ └── xmake.lua │ ├── kokyu │ │ └── xmake.lua │ ├── kompute │ │ └── xmake.lua │ ├── kotlin-native │ │ └── xmake.lua │ ├── krb5 │ │ └── xmake.lua │ ├── kuba-zip │ │ └── xmake.lua │ └── kvazaar │ │ └── xmake.lua ├── l │ ├── lame │ │ └── xmake.lua │ ├── lapack │ │ └── xmake.lua │ ├── lastools │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── lazy_importer │ │ └── xmake.lua │ ├── lbuild │ │ └── xmake.lua │ ├── lcms │ │ └── xmake.lua │ ├── leancrypto │ │ └── xmake.lua │ ├── lemon │ │ └── xmake.lua │ ├── leptonica │ │ └── xmake.lua │ ├── lerc │ │ └── xmake.lua │ ├── leveldb │ │ ├── patches │ │ │ ├── disable-crt-secure-warnings.patch │ │ │ └── fix-build-under-clang-msabi.patch │ │ └── xmake.lua │ ├── lexbor │ │ └── xmake.lua │ ├── lexy │ │ └── xmake.lua │ ├── liba52 │ │ ├── port │ │ │ ├── config.h.in │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libaco │ │ └── xmake.lua │ ├── libaesgm │ │ └── xmake.lua │ ├── libaio │ │ └── xmake.lua │ ├── libarchive │ │ └── xmake.lua │ ├── libargon2 │ │ └── xmake.lua │ ├── libass │ │ ├── port │ │ │ ├── config.h.in │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libassert │ │ ├── port │ │ │ └── v1 │ │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libatomic_ops │ │ └── xmake.lua │ ├── libavif │ │ └── xmake.lua │ ├── libb2 │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libbacktrace │ │ └── xmake.lua │ ├── libbigwig │ │ └── xmake.lua │ ├── libbpf │ │ └── xmake.lua │ ├── libbpg │ │ └── xmake.lua │ ├── libbsd │ │ └── xmake.lua │ ├── libc++ │ │ └── xmake.lua │ ├── libcanberra │ │ └── xmake.lua │ ├── libcap │ │ └── xmake.lua │ ├── libcbor │ │ └── xmake.lua │ ├── libccd │ │ └── xmake.lua │ ├── libco │ │ └── xmake.lua │ ├── libcpuid │ │ └── xmake.lua │ ├── libcroco │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libcron │ │ └── xmake.lua │ ├── libcurl │ │ ├── patches │ │ │ ├── 7.84.0 │ │ │ │ └── sched.patch │ │ │ ├── 8.7.1 │ │ │ │ └── android_armv7.patch │ │ │ └── 8.9.0 │ │ │ │ └── fix-apple-sdk-bug.patch │ │ ├── versions.lua │ │ ├── versions.txt │ │ └── xmake.lua │ ├── libdatrie │ │ └── xmake.lua │ ├── libdc1394 │ │ └── xmake.lua │ ├── libde265 │ │ └── xmake.lua │ ├── libdeflate │ │ └── xmake.lua │ ├── libdicom │ │ └── xmake.lua │ ├── libdill │ │ └── xmake.lua │ ├── libdisasm │ │ └── xmake.lua │ ├── libdivide │ │ └── xmake.lua │ ├── libdivsufsort │ │ └── xmake.lua │ ├── libdom │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libdrm │ │ └── xmake.lua │ ├── libdwarf │ │ └── xmake.lua │ ├── libebur128 │ │ └── xmake.lua │ ├── libedit │ │ └── xmake.lua │ ├── libelf │ │ └── xmake.lua │ ├── libelfin │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libenvpp │ │ └── xmake.lua │ ├── libepoxy │ │ └── xmake.lua │ ├── libev │ │ └── xmake.lua │ ├── libevdev │ │ └── xmake.lua │ ├── libevent │ │ └── xmake.lua │ ├── libfabric │ │ └── xmake.lua │ ├── libfacedetection │ │ └── xmake.lua │ ├── libffi │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libfiber │ │ └── xmake.lua │ ├── libfido2 │ │ ├── patches │ │ │ └── 1.15.0 │ │ │ │ ├── add-syslinks.patch │ │ │ │ └── cmake-pkgconfig-find-deps.patch │ │ └── xmake.lua │ ├── libfive │ │ └── xmake.lua │ ├── libfixmath │ │ └── xmake.lua │ ├── libfixmatrix │ │ └── xmake.lua │ ├── libflac │ │ ├── patches │ │ │ ├── 1.3.3 │ │ │ │ └── cmake.patch │ │ │ ├── 1.4.2 │ │ │ │ └── cmake.patch │ │ │ └── 1.5.0 │ │ │ │ ├── android_fseek.diff │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── libfork │ │ └── xmake.lua │ ├── libfreenect2 │ │ ├── patches │ │ │ └── 0.2.0 │ │ │ │ └── frame_listener_impl.cpp.patch │ │ └── xmake.lua │ ├── libfswatch │ │ └── xmake.lua │ ├── libfuse │ │ └── xmake.lua │ ├── libfyaml │ │ └── xmake.lua │ ├── libgcrypt │ │ └── xmake.lua │ ├── libgd │ │ ├── patches │ │ │ └── 2.3.2 │ │ │ │ └── build.patch │ │ └── xmake.lua │ ├── libgda │ │ └── xmake.lua │ ├── libgeotiff │ │ └── xmake.lua │ ├── libgit2 │ │ └── xmake.lua │ ├── libgit2cpp │ │ └── xmake.lua │ ├── libglvnd │ │ └── xmake.lua │ ├── libgpg-error │ │ └── xmake.lua │ ├── libgpiod │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libharu │ │ └── xmake.lua │ ├── libhat │ │ └── xmake.lua │ ├── libheif │ │ └── xmake.lua │ ├── libhubbub │ │ ├── patches │ │ │ └── 0.3.8 │ │ │ │ └── treebuilder.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libhv │ │ └── xmake.lua │ ├── libice │ │ └── xmake.lua │ ├── libiconv │ │ ├── patches │ │ │ ├── 1.15 │ │ │ │ └── patch-utf8mac.diff │ │ │ └── 1.16 │ │ │ │ └── makefile.in.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libidn2 │ │ └── xmake.lua │ ├── libigl │ │ └── xmake.lua │ ├── libimagequant │ │ └── xmake.lua │ ├── libimobiledevice-glue │ │ └── xmake.lua │ ├── libimobiledevice │ │ └── xmake.lua │ ├── libinterpolate │ │ └── xmake.lua │ ├── libintl │ │ ├── patches │ │ │ └── 0.22.3 │ │ │ │ └── fix-mingw-build-wgetcwd.diff │ │ ├── port │ │ │ ├── 0.21 │ │ │ │ └── xmake.lua │ │ │ └── 0.22.3 │ │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libisl │ │ └── xmake.lua │ ├── libjpeg-turbo │ │ └── xmake.lua │ ├── libjpeg │ │ └── xmake.lua │ ├── libjq │ │ └── xmake.lua │ ├── libjxl │ │ └── xmake.lua │ ├── libkdtree │ │ └── xmake.lua │ ├── libkeyfinder │ │ └── xmake.lua │ ├── libkmod │ │ ├── patches │ │ │ └── 31 │ │ │ │ └── basename.patch │ │ ├── port │ │ │ ├── config.h │ │ │ ├── endian-darwin.h │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── liblas │ │ ├── patches │ │ │ └── 1.8.1 │ │ │ │ └── header.patch │ │ └── xmake.lua │ ├── liblifthttp │ │ └── xmake.lua │ ├── libllvm │ │ ├── constants.lua │ │ └── xmake.lua │ ├── libmagic │ │ └── xmake.lua │ ├── libmaxminddb │ │ └── xmake.lua │ ├── libmd │ │ └── xmake.lua │ ├── libmem │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libmetalink │ │ ├── port │ │ │ ├── config.h.in │ │ │ ├── unistd.h │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libmill │ │ └── xmake.lua │ ├── libmng │ │ └── xmake.lua │ ├── libmobi │ │ └── xmake.lua │ ├── libmodbus │ │ └── xmake.lua │ ├── libmodplug │ │ └── xmake.lua │ ├── libmorton │ │ └── xmake.lua │ ├── libmpdclient │ │ └── xmake.lua │ ├── libmspack │ │ └── xmake.lua │ ├── libmysofa │ │ ├── patches │ │ │ └── v1.3.2 │ │ │ │ └── fix-build.patch │ │ └── xmake.lua │ ├── libnest2d │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libnet │ │ └── xmake.lua │ ├── libnpy │ │ └── xmake.lua │ ├── libntl │ │ └── xmake.lua │ ├── libnyquist │ │ └── xmake.lua │ ├── liboai │ │ └── xmake.lua │ ├── libogg │ │ ├── patches │ │ │ └── 1.3.4 │ │ │ │ └── macos_fix.patch │ │ └── xmake.lua │ ├── libomp │ │ ├── patches │ │ │ ├── 001-cast-to-make-gcc-happy.patch │ │ │ └── 002-hacks-for-static-linking.patch │ │ └── xmake.lua │ ├── libopus │ │ ├── patches │ │ │ └── 1.3.1 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── liboqs │ │ └── xmake.lua │ ├── libp11 │ │ ├── port │ │ │ ├── config.h.in │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libpaper │ │ └── xmake.lua │ ├── libparserutils │ │ ├── patches │ │ │ └── 0.2.5 │ │ │ │ └── uninitialised-variable.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libpcap │ │ ├── patches │ │ │ └── 1.10.5 │ │ │ │ ├── cmake-mingw.patch │ │ │ │ └── cmake-msvc.patch │ │ └── xmake.lua │ ├── libpeconv │ │ └── xmake.lua │ ├── libpfm │ │ └── xmake.lua │ ├── libplist │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libpng │ │ └── xmake.lua │ ├── libpopcnt │ │ └── xmake.lua │ ├── libpq │ │ └── xmake.lua │ ├── libpqxx │ │ └── xmake.lua │ ├── libpsl │ │ └── xmake.lua │ ├── libpthread-stubs │ │ └── xmake.lua │ ├── libqrencode │ │ └── xmake.lua │ ├── libraqm │ │ └── xmake.lua │ ├── libraw │ │ └── xmake.lua │ ├── librdkafka │ │ └── xmake.lua │ ├── libredwg │ │ └── xmake.lua │ ├── libremidi │ │ └── xmake.lua │ ├── libressl │ │ └── xmake.lua │ ├── libsais │ │ └── xmake.lua │ ├── libsamplerate │ │ └── xmake.lua │ ├── libsdl │ │ └── xmake.lua │ ├── libsdl2 │ │ ├── patches │ │ │ └── 2.30.0 │ │ │ │ └── fix_mingw.patch │ │ └── xmake.lua │ ├── libsdl2_gfx │ │ ├── patches │ │ │ └── 1.0.4 │ │ │ │ └── lrint_fix.patch │ │ └── xmake.lua │ ├── libsdl2_image │ │ └── xmake.lua │ ├── libsdl2_mixer │ │ └── xmake.lua │ ├── libsdl2_net │ │ └── xmake.lua │ ├── libsdl2_ttf │ │ ├── patches │ │ │ └── 2.20.1 │ │ │ │ └── cmakelists.patch │ │ └── xmake.lua │ ├── libsdl3 │ │ └── xmake.lua │ ├── libsdl3_image │ │ └── xmake.lua │ ├── libsdl3_ttf │ │ └── xmake.lua │ ├── libsdl_gfx │ │ └── xmake.lua │ ├── libsdl_image │ │ └── xmake.lua │ ├── libsdl_mixer │ │ └── xmake.lua │ ├── libsdl_net │ │ └── xmake.lua │ ├── libsdl_ttf │ │ └── xmake.lua │ ├── libsigc++ │ │ └── xmake.lua │ ├── libsigcplusplus │ │ └── xmake.lua │ ├── libsimdpp │ │ └── xmake.lua │ ├── libsm │ │ └── xmake.lua │ ├── libsmb2 │ │ └── xmake.lua │ ├── libsndfile │ │ └── xmake.lua │ ├── libsndio │ │ └── xmake.lua │ ├── libsodium │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libsoundio │ │ └── xmake.lua │ ├── libspectre │ │ └── xmake.lua │ ├── libspng │ │ └── xmake.lua │ ├── libsquish │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libssh │ │ └── xmake.lua │ ├── libssh2 │ │ └── xmake.lua │ ├── libstatgrab │ │ └── xmake.lua │ ├── libsv │ │ └── xmake.lua │ ├── libsvgtiny │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libsvm │ │ └── xmake.lua │ ├── libtask │ │ └── xmake.lua │ ├── libtasn1 │ │ └── xmake.lua │ ├── libthai │ │ └── xmake.lua │ ├── libtiff │ │ ├── patches │ │ │ └── 4.7.0 │ │ │ │ └── cmath.patch │ │ └── xmake.lua │ ├── libtins │ │ └── xmake.lua │ ├── libtomcrypt │ │ └── xmake.lua │ ├── libtommath │ │ └── xmake.lua │ ├── libtool │ │ └── xmake.lua │ ├── libtorch │ │ ├── patches │ │ │ ├── 1.11.0 │ │ │ │ └── gcc11.patch │ │ │ ├── 1.12.1 │ │ │ │ ├── clang.patch │ │ │ │ └── vs2022.patch │ │ │ ├── 1.9.0 │ │ │ │ └── gcc11.patch │ │ │ └── 2.2.2 │ │ │ │ └── pocketfft.patch │ │ └── xmake.lua │ ├── libudev │ │ └── xmake.lua │ ├── libudis86 │ │ └── xmake.lua │ ├── libui │ │ └── xmake.lua │ ├── libunifex │ │ ├── patches │ │ │ └── v0.4.0 │ │ │ │ └── std-memset.patch │ │ └── xmake.lua │ ├── libunistring │ │ └── xmake.lua │ ├── libunwind │ │ ├── patches │ │ │ └── 1.8.0 │ │ │ │ └── fix-arm64.patch │ │ └── xmake.lua │ ├── liburing │ │ └── xmake.lua │ ├── libusb │ │ └── xmake.lua │ ├── libusbmuxd │ │ └── xmake.lua │ ├── libuuid │ │ └── xmake.lua │ ├── libuv │ │ └── xmake.lua │ ├── libuvc │ │ ├── patches │ │ │ └── 2024.03.05 │ │ │ │ └── windows.patch │ │ └── xmake.lua │ ├── libva │ │ └── xmake.lua │ ├── libverto │ │ └── xmake.lua │ ├── libvips │ │ ├── patches │ │ │ └── 8.15.3 │ │ │ │ └── msvc-ssize_t.patch │ │ └── xmake.lua │ ├── libvorbis │ │ └── xmake.lua │ ├── libvpx │ │ └── xmake.lua │ ├── libwapcaplet │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── libwebm │ │ └── xmake.lua │ ├── libwebp │ │ ├── patches │ │ │ └── 0001-fix-dll-export.patch │ │ └── xmake.lua │ ├── libwebsockets │ │ └── xmake.lua │ ├── libwfkafka │ │ └── xmake.lua │ ├── libx11 │ │ └── xmake.lua │ ├── libxau │ │ └── xmake.lua │ ├── libxaw │ │ └── xmake.lua │ ├── libxcb │ │ └── xmake.lua │ ├── libxcomposite │ │ └── xmake.lua │ ├── libxcursor │ │ └── xmake.lua │ ├── libxdamage │ │ └── xmake.lua │ ├── libxdmcp │ │ └── xmake.lua │ ├── libxext │ │ └── xmake.lua │ ├── libxfixes │ │ └── xmake.lua │ ├── libxft │ │ └── xmake.lua │ ├── libxi │ │ └── xmake.lua │ ├── libxinerama │ │ └── xmake.lua │ ├── libxkbcommon │ │ └── xmake.lua │ ├── libxlsxwriter │ │ └── xmake.lua │ ├── libxmake │ │ ├── patches │ │ │ └── 2.9.8 │ │ │ │ └── xmake-cli.patch │ │ └── xmake.lua │ ├── libxml2 │ │ ├── configs.lua │ │ ├── patches │ │ │ └── patch-libxml.py │ │ └── xmake.lua │ ├── libxmu │ │ └── xmake.lua │ ├── libxnvctrl │ │ └── xmake.lua │ ├── libxpm │ │ └── xmake.lua │ ├── libxrandr │ │ └── xmake.lua │ ├── libxrender │ │ └── xmake.lua │ ├── libxshmfence │ │ └── xmake.lua │ ├── libxslt │ │ └── xmake.lua │ ├── libxt │ │ └── xmake.lua │ ├── libxtst │ │ └── xmake.lua │ ├── libxv │ │ └── xmake.lua │ ├── libxvmc │ │ └── xmake.lua │ ├── libxxf86vm │ │ └── xmake.lua │ ├── libyaml │ │ └── xmake.lua │ ├── libyuv │ │ ├── patches │ │ │ └── 1891 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── libzen │ │ └── xmake.lua │ ├── libzip │ │ ├── patches │ │ │ ├── 1.10.1 │ │ │ │ └── mingw.patch │ │ │ └── 1.11.1 │ │ │ │ └── mingw-shared.patch │ │ └── xmake.lua │ ├── libzippp │ │ └── xmake.lua │ ├── lief │ │ ├── patches │ │ │ ├── 0.15.1 │ │ │ │ └── algorithm.patch │ │ │ └── 0.16.5 │ │ │ │ └── cstdint.patch │ │ └── xmake.lua │ ├── lightgbm │ │ └── xmake.lua │ ├── lighthook │ │ └── xmake.lua │ ├── lightmapper │ │ └── xmake.lua │ ├── lightningscanner │ │ └── xmake.lua │ ├── limonp │ │ └── xmake.lua │ ├── linalg │ │ └── xmake.lua │ ├── linenoise │ │ └── xmake.lua │ ├── linmath.h │ │ └── xmake.lua │ ├── linux-headers │ │ └── xmake.lua │ ├── linux-syscall-support │ │ └── xmake.lua │ ├── linux-tools │ │ ├── modules │ │ │ └── bpftool.lua │ │ └── xmake.lua │ ├── liquid-dsp │ │ └── xmake.lua │ ├── litehtml │ │ └── xmake.lua │ ├── littlefs │ │ └── xmake.lua │ ├── llama.cpp │ │ └── xmake.lua │ ├── llfio │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── llhttp │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── llvm-arm │ │ └── xmake.lua │ ├── llvm-mingw │ │ └── xmake.lua │ ├── llvm │ │ ├── components │ │ │ ├── base.lua │ │ │ ├── clang.lua │ │ │ ├── libunwind.lua │ │ │ └── mlir.lua │ │ ├── fetch.lua │ │ └── xmake.lua │ ├── lmdb │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── lockfree │ │ └── xmake.lua │ ├── lodepng │ │ └── xmake.lua │ ├── log4cplus │ │ └── xmake.lua │ ├── loguru │ │ └── xmake.lua │ ├── lolly │ │ └── xmake.lua │ ├── ls-hpack │ │ └── xmake.lua │ ├── ls-qpack │ │ ├── patches │ │ │ ├── 2.5.3 │ │ │ │ └── fix-cmake-install.patch │ │ │ └── 2.5.5 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── lsp-framework │ │ ├── patches │ │ │ └── 1.0.1 │ │ │ │ ├── fix-install.diff │ │ │ │ └── fix-missing-ios.diff │ │ └── xmake.lua │ ├── lsquic │ │ ├── patches │ │ │ └── 4.0.8 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── lua-format │ │ └── xmake.lua │ ├── lua │ │ └── xmake.lua │ ├── luabridge3 │ │ └── xmake.lua │ ├── luajit │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── luasocket │ │ └── xmake.lua │ ├── luau │ │ └── xmake.lua │ ├── lunasvg │ │ └── xmake.lua │ ├── lvgl │ │ └── xmake.lua │ ├── lwlog │ │ └── xmake.lua │ ├── lyra │ │ └── xmake.lua │ ├── lz4 │ │ └── xmake.lua │ ├── lzav │ │ └── xmake.lua │ ├── lzham_codec │ │ ├── patches │ │ │ └── 2023.01.03 │ │ │ │ ├── add_mimalloc.patch │ │ │ │ ├── fix_arm64.patch │ │ │ │ ├── fix_linux.patch │ │ │ │ ├── fix_macosx.patch │ │ │ │ ├── fix_mingw.patch │ │ │ │ └── use_lzham_prefixed_max_int_values.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── lzma │ │ └── xmake.lua │ └── lzo │ │ └── xmake.lua ├── m │ ├── m4 │ │ ├── patches │ │ │ └── 1.4.18 │ │ │ │ └── secure_snprintf.patch │ │ └── xmake.lua │ ├── macdylibbundler │ │ └── xmake.lua │ ├── maddy │ │ └── xmake.lua │ ├── magic_enum │ │ └── xmake.lua │ ├── magma │ │ ├── patches │ │ │ └── 2.7.1 │ │ │ │ └── disable_test.patch │ │ └── xmake.lua │ ├── magnum-extras │ │ └── xmake.lua │ ├── magnum-integration │ │ └── xmake.lua │ ├── magnum-plugins │ │ └── xmake.lua │ ├── magnum │ │ ├── patches │ │ │ └── 2020.06 │ │ │ │ └── msvc.patch │ │ └── xmake.lua │ ├── mailio │ │ └── xmake.lua │ ├── make │ │ └── xmake.lua │ ├── makeself │ │ └── xmake.lua │ ├── managedc │ │ └── xmake.lua │ ├── manif │ │ └── xmake.lua │ ├── mapbox_earcut │ │ ├── patches │ │ │ └── 2.2.3 │ │ │ │ └── mingw.patch │ │ └── xmake.lua │ ├── mapbox_eternal │ │ ├── patches │ │ │ └── add_cstdint.patch │ │ └── xmake.lua │ ├── mapbox_geometry │ │ ├── patches │ │ │ ├── 1.1.0 │ │ │ │ └── pragma.patch │ │ │ └── 2.0.3 │ │ │ │ └── pragma.patch │ │ └── xmake.lua │ ├── mapbox_polylabel │ │ └── xmake.lua │ ├── mapbox_variant │ │ └── xmake.lua │ ├── mariadb-connector-c │ │ └── xmake.lua │ ├── marisa │ │ ├── port │ │ │ └── CMakeLists.txt │ │ └── xmake.lua │ ├── marl │ │ └── xmake.lua │ ├── matchit │ │ └── xmake.lua │ ├── mathfu │ │ └── xmake.lua │ ├── mathter │ │ └── xmake.lua │ ├── matio │ │ └── xmake.lua │ ├── matlab │ │ └── xmake.lua │ ├── matplotplusplus │ │ └── xmake.lua │ ├── mbedtls │ │ ├── patches │ │ │ └── 3.5.1 │ │ │ │ └── aesni-mingw-i386.patch │ │ └── xmake.lua │ ├── mcfgthread │ │ ├── patches │ │ │ └── 1.8.4 │ │ │ │ └── meson.patch │ │ └── xmake.lua │ ├── mcut │ │ ├── patches │ │ │ ├── 1.1.0 │ │ │ │ └── install.patch │ │ │ └── 1.2.0 │ │ │ │ └── install.patch │ │ └── xmake.lua │ ├── md4c │ │ └── xmake.lua │ ├── md4qt │ │ └── xmake.lua │ ├── mdns │ │ └── xmake.lua │ ├── mecab │ │ └── xmake.lua │ ├── meet │ │ └── xmake.lua │ ├── melon │ │ └── xmake.lua │ ├── mem │ │ └── xmake.lua │ ├── memorymapping │ │ └── xmake.lua │ ├── memorymodulepp │ │ └── xmake.lua │ ├── memplumber │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── meowhash │ │ └── xmake.lua │ ├── meshoptimizer │ │ └── xmake.lua │ ├── meson │ │ └── xmake.lua │ ├── metalang99 │ │ └── xmake.lua │ ├── metall │ │ └── xmake.lua │ ├── metis │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── mfast │ │ ├── patches │ │ │ └── v1.2.2 │ │ │ │ ├── boost_multiprecision.patch │ │ │ │ └── tinyxml2.patch │ │ └── xmake.lua │ ├── mhook │ │ └── xmake.lua │ ├── micro-gl │ │ └── xmake.lua │ ├── microprofile │ │ └── xmake.lua │ ├── microsoft-apsi │ │ └── xmake.lua │ ├── microsoft-detours │ │ └── xmake.lua │ ├── microsoft-gsl │ │ └── xmake.lua │ ├── microsoft-kuku │ │ └── xmake.lua │ ├── microsoft-proxy │ │ └── xmake.lua │ ├── microsoft-seal │ │ └── xmake.lua │ ├── microsoft-wtl │ │ └── xmake.lua │ ├── mikktspace │ │ └── xmake.lua │ ├── mimalloc │ │ └── xmake.lua │ ├── mingw-w64 │ │ └── xmake.lua │ ├── minhook │ │ └── xmake.lua │ ├── mini │ │ └── xmake.lua │ ├── miniaudio │ │ ├── build_defines.lua │ │ └── xmake.lua │ ├── miniball │ │ └── xmake.lua │ ├── minifb │ │ └── xmake.lua │ ├── minilzo │ │ └── xmake.lua │ ├── minimp3 │ │ └── xmake.lua │ ├── minio-cpp │ │ ├── patches │ │ │ └── 0.3.0 │ │ │ │ ├── cmake-pkgconfig-find-deps.patch │ │ │ │ └── macos-unistd.patch │ │ └── xmake.lua │ ├── minitrace │ │ └── xmake.lua │ ├── miniz │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── minizip-ng │ │ └── xmake.lua │ ├── minizip │ │ └── xmake.lua │ ├── minja │ │ └── xmake.lua │ ├── mint │ │ └── xmake.lua │ ├── mio │ │ └── xmake.lua │ ├── mjson │ │ └── xmake.lua │ ├── mkl │ │ ├── fetch.lua │ │ └── xmake.lua │ ├── mlpack │ │ └── xmake.lua │ ├── mma │ │ └── xmake.lua │ ├── mman_win32 │ │ └── xmake.lua │ ├── mmeter │ │ └── xmake.lua │ ├── mmloader │ │ └── xmake.lua │ ├── mnn │ │ └── xmake.lua │ ├── mold │ │ └── xmake.lua │ ├── moltenvk │ │ └── xmake.lua │ ├── mongo-c-driver │ │ └── xmake.lua │ ├── mongo-cxx-driver │ │ └── xmake.lua │ ├── mongoose │ │ └── xmake.lua │ ├── mono │ │ └── xmake.lua │ ├── moonjit │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── morton-nd │ │ └── xmake.lua │ ├── mosquitto │ │ ├── patches │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── mpc │ │ └── xmake.lua │ ├── mpdecimal │ │ └── xmake.lua │ ├── mpfr │ │ └── xmake.lua │ ├── mpg123 │ │ └── xmake.lua │ ├── mpich │ │ └── xmake.lua │ ├── mpmcqueue │ │ └── xmake.lua │ ├── mscharconv │ │ └── xmake.lua │ ├── msdf-atlas-gen │ │ └── xmake.lua │ ├── msdfgen │ │ └── xmake.lua │ ├── msgpack-c │ │ └── xmake.lua │ ├── msgpack-cxx │ │ └── xmake.lua │ ├── msgpack23 │ │ └── xmake.lua │ ├── msmpi │ │ └── xmake.lua │ ├── msquic │ │ └── xmake.lua │ ├── msvc-wine │ │ └── xmake.lua │ ├── msvc │ │ └── xmake.lua │ ├── msys2-base │ │ └── xmake.lua │ ├── msys2 │ │ └── xmake.lua │ ├── muduo │ │ └── xmake.lua │ ├── mujs │ │ └── xmake.lua │ ├── mumps │ │ └── xmake.lua │ ├── munkres-algorithm │ │ ├── patches │ │ │ └── 2021.04.05 │ │ │ │ └── cstdint.patch │ │ └── xmake.lua │ ├── muparserx │ │ └── xmake.lua │ ├── muslcc │ │ └── xmake.lua │ ├── mustache │ │ └── xmake.lua │ ├── mvfst │ │ ├── patches │ │ │ └── shared.patch │ │ └── xmake.lua │ ├── mxml │ │ └── xmake.lua │ ├── mysql-build-tools │ │ └── xmake.lua │ ├── mysql │ │ ├── configs.lua │ │ ├── patch.lua │ │ ├── patches │ │ │ └── 8.0.39 │ │ │ │ └── cmake-cross-compilation.patch │ │ └── xmake.lua │ └── mysqlpp │ │ ├── port │ │ └── xmake.lua │ │ └── xmake.lua ├── n │ ├── named_type │ │ └── xmake.lua │ ├── nameof │ │ └── xmake.lua │ ├── nana │ │ ├── patches │ │ │ └── 1.7.4 │ │ │ │ ├── cmake_policy_fix.patch │ │ │ │ └── u8string_fix.patch │ │ └── xmake.lua │ ├── nanoarrow │ │ └── xmake.lua │ ├── nanobench │ │ └── xmake.lua │ ├── nanobind │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── nanoflann │ │ └── xmake.lua │ ├── nanogui │ │ └── xmake.lua │ ├── nanomsg │ │ └── xmake.lua │ ├── nanopb │ │ ├── patches │ │ │ └── 0.4.9 │ │ │ │ └── nanopb_generator.patch │ │ └── xmake.lua │ ├── nanosvg │ │ └── xmake.lua │ ├── nanovdb │ │ └── xmake.lua │ ├── nanovg │ │ └── xmake.lua │ ├── nasm │ │ └── xmake.lua │ ├── nativefiledialog-extended │ │ └── xmake.lua │ ├── nativefiledialog │ │ └── xmake.lua │ ├── nazarautils │ │ ├── rules │ │ │ └── compiler_setup.lua │ │ └── xmake.lua │ ├── ncnn │ │ └── xmake.lua │ ├── ncurses │ │ └── xmake.lua │ ├── ndarray │ │ └── xmake.lua │ ├── ndk │ │ └── xmake.lua │ ├── neargye-scope_guard │ │ └── xmake.lua │ ├── neco │ │ └── xmake.lua │ ├── nettle │ │ └── xmake.lua │ ├── newtondynamics │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── newtondynamics3 │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── newtondynamics4 │ │ ├── patches │ │ │ └── v4.01 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── nghttp2 │ │ └── xmake.lua │ ├── nghttp3 │ │ ├── patches │ │ │ ├── 1.3.0 │ │ │ │ └── vendor.patch │ │ │ └── 1.4.0 │ │ │ │ └── vendor.patch │ │ └── xmake.lua │ ├── ngtcp2 │ │ └── xmake.lua │ ├── nifly │ │ └── xmake.lua │ ├── nifti │ │ └── xmake.lua │ ├── niftiheader │ │ └── xmake.lua │ ├── nim │ │ └── xmake.lua │ ├── ninja │ │ └── xmake.lua │ ├── nlohmann_json │ │ └── xmake.lua │ ├── nlopt │ │ └── xmake.lua │ ├── nmd │ │ └── xmake.lua │ ├── nng │ │ └── xmake.lua │ ├── nngpp │ │ └── xmake.lua │ ├── nod │ │ └── xmake.lua │ ├── node-addon-api │ │ └── xmake.lua │ ├── node-api-headers │ │ └── xmake.lua │ ├── node-api-stub │ │ └── xmake.lua │ ├── nodeeditor │ │ ├── patches │ │ │ ├── 2.1.3 │ │ │ │ └── fix_qt.patch │ │ │ └── 2.2.2 │ │ │ │ └── fix_qt.patch │ │ └── xmake.lua │ ├── nodesoup │ │ └── xmake.lua │ ├── noise-c │ │ └── xmake.lua │ ├── noisy │ │ └── xmake.lua │ ├── nowide_standalone │ │ └── xmake.lua │ ├── npcap_sdk │ │ └── xmake.lua │ ├── nsis │ │ └── xmake.lua │ ├── nsync │ │ ├── patches │ │ │ └── 1.28.1 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── ntkernel-error-category │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── nuklear │ │ └── xmake.lua │ ├── numactl │ │ └── xmake.lua │ ├── numcpp │ │ └── xmake.lua │ ├── nvtt │ │ ├── patches │ │ │ └── 2.1.2 │ │ │ │ └── build.patch │ │ └── xmake.lua │ ├── nvtx │ │ ├── fetch.lua │ │ └── xmake.lua │ └── nzsl │ │ ├── rules │ │ ├── archive_shaders.lua │ │ ├── compile_shaders.lua │ │ └── find_nzsl.lua │ │ └── xmake.lua ├── o │ ├── oatpp-openssl │ │ └── xmake.lua │ ├── oatpp-websocket │ │ └── xmake.lua │ ├── oatpp │ │ └── xmake.lua │ ├── obfuscate │ │ └── xmake.lua │ ├── obfusheader.h │ │ └── xmake.lua │ ├── objfw │ │ └── xmake.lua │ ├── ocilib │ │ ├── patches │ │ │ └── 4.7.7 │ │ │ │ └── fix-gcc14.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── octomap │ │ ├── patches │ │ │ ├── 1.10.0 │ │ │ │ └── cmake.patch │ │ │ └── 1.9.7 │ │ │ │ └── build.patch │ │ └── xmake.lua │ ├── octree │ │ └── xmake.lua │ ├── ode │ │ └── xmake.lua │ ├── offsetallocator │ │ └── xmake.lua │ ├── ogre-next │ │ ├── patches │ │ │ └── 2.2.5 │ │ │ │ └── macosx.patch │ │ └── xmake.lua │ ├── ois │ │ └── xmake.lua │ ├── olive.c │ │ └── xmake.lua │ ├── onednn │ │ └── xmake.lua │ ├── onedpl │ │ ├── fetch.lua │ │ └── xmake.lua │ ├── oniguruma │ │ └── xmake.lua │ ├── onnx │ │ ├── patches │ │ │ ├── 1.16.0 │ │ │ │ └── cmake-abseil.patch │ │ │ └── 1.18.0 │ │ │ │ └── cmake-abseil.patch │ │ └── xmake.lua │ ├── onnxruntime │ │ └── xmake.lua │ ├── open3d │ │ └── xmake.lua │ ├── openal-soft │ │ └── xmake.lua │ ├── openblas │ │ └── xmake.lua │ ├── opencc │ │ ├── patches │ │ │ └── 1.1.2 │ │ │ │ └── fix-static.patch │ │ └── xmake.lua │ ├── opencl-clhpp │ │ └── xmake.lua │ ├── opencl-headers │ │ └── xmake.lua │ ├── opencl │ │ └── xmake.lua │ ├── opencolorio │ │ └── xmake.lua │ ├── opencore-amr │ │ └── xmake.lua │ ├── opencv-mobile │ │ ├── patches │ │ │ └── msvc.patch │ │ └── xmake.lua │ ├── opencv │ │ └── xmake.lua │ ├── openexr │ │ ├── patches │ │ │ └── 3.3.3 │ │ │ │ └── mingw32.patch │ │ └── xmake.lua │ ├── openfbx │ │ └── xmake.lua │ ├── opengl-headers │ │ └── xmake.lua │ ├── opengl │ │ └── xmake.lua │ ├── openh264 │ │ └── xmake.lua │ ├── openimageio │ │ └── xmake.lua │ ├── openjdk │ │ ├── fetch.lua │ │ └── xmake.lua │ ├── openjpeg │ │ ├── patches │ │ │ └── 2.5.0 │ │ │ │ └── build.patch │ │ └── xmake.lua │ ├── openldap │ │ └── xmake.lua │ ├── openmesh │ │ └── xmake.lua │ ├── openmp │ │ └── xmake.lua │ ├── openmvs │ │ └── xmake.lua │ ├── openpgl │ │ └── xmake.lua │ ├── openrestry-luajit │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── openscenegraph │ │ ├── patches │ │ │ └── 3.6.5 │ │ │ │ └── msvc.patch │ │ └── xmake.lua │ ├── openssl │ │ ├── configure │ │ │ └── patch.lua │ │ ├── fetch.lua │ │ ├── makefile │ │ │ └── patch.lua │ │ ├── patches │ │ │ ├── 1.1.1p.diff │ │ │ ├── 1.1.1q.diff │ │ │ └── 1.1.1t.diff │ │ └── xmake.lua │ ├── openssl3 │ │ ├── fetch.lua │ │ ├── patches │ │ │ └── 3.3.2 │ │ │ │ └── command-line-length.patch │ │ └── xmake.lua │ ├── opensubdiv │ │ └── xmake.lua │ ├── opentelemetry-cpp │ │ └── xmake.lua │ ├── openvdb │ │ ├── patches │ │ │ └── 10.1.0 │ │ │ │ └── blosc-dep.patch │ │ └── xmake.lua │ ├── openvr │ │ └── xmake.lua │ ├── openxlsx │ │ └── xmake.lua │ ├── optick │ │ └── xmake.lua │ ├── optional-lite │ │ └── xmake.lua │ ├── optix │ │ └── xmake.lua │ ├── orangeduck_mpc │ │ └── xmake.lua │ ├── orc │ │ └── xmake.lua │ ├── ordered_map │ │ └── xmake.lua │ ├── ormpp │ │ └── xmake.lua │ ├── osip │ │ └── xmake.lua │ ├── osmanip │ │ └── xmake.lua │ ├── osqp │ │ ├── patches │ │ │ └── 0.6.3 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── out_ptr │ │ └── xmake.lua │ ├── outcome │ │ └── xmake.lua │ └── ozz-animation │ │ └── xmake.lua ├── p │ ├── p11-kit │ │ └── xmake.lua │ ├── pagmo │ │ └── xmake.lua │ ├── pahomqttc │ │ └── xmake.lua │ ├── pahomqttcpp │ │ └── xmake.lua │ ├── pango │ │ └── xmake.lua │ ├── papi │ │ └── xmake.lua │ ├── parallel-hashmap │ │ └── xmake.lua │ ├── partio │ │ └── xmake.lua │ ├── patch │ │ └── xmake.lua │ ├── patchelf │ │ └── xmake.lua │ ├── paul_thread_pool │ │ └── xmake.lua │ ├── pca9685 │ │ └── xmake.lua │ ├── pcapplusplus │ │ ├── patches │ │ │ └── v24.09 │ │ │ │ ├── explicit-override.patch │ │ │ │ └── vla.patch │ │ └── xmake.lua │ ├── pcg-cpp │ │ └── xmake.lua │ ├── pcg32 │ │ └── xmake.lua │ ├── pciutils │ │ └── xmake.lua │ ├── pcl │ │ ├── patches │ │ │ └── 1.14.1 │ │ │ │ ├── clang.patch │ │ │ │ └── msbuild.patch │ │ └── xmake.lua │ ├── pcre │ │ └── xmake.lua │ ├── pcre2 │ │ └── xmake.lua │ ├── pdcurses │ │ └── xmake.lua │ ├── pdcursesmod │ │ └── xmake.lua │ ├── pdfhummus │ │ └── xmake.lua │ ├── pdfio │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── pe-parse │ │ └── xmake.lua │ ├── pedeps │ │ ├── patches │ │ │ └── 0.1.15 │ │ │ │ └── tool.patch │ │ └── xmake.lua │ ├── pegtl │ │ └── xmake.lua │ ├── peloader │ │ └── xmake.lua │ ├── perlinnoise │ │ └── xmake.lua │ ├── pffft │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── phnt │ │ └── xmake.lua │ ├── physfs │ │ └── xmake.lua │ ├── picobench │ │ └── xmake.lua │ ├── picojson │ │ └── xmake.lua │ ├── picosha2 │ │ └── xmake.lua │ ├── piex │ │ └── xmake.lua │ ├── pigpio │ │ └── xmake.lua │ ├── pigz │ │ └── xmake.lua │ ├── pixman │ │ └── xmake.lua │ ├── pkg-config │ │ └── xmake.lua │ ├── pkgconf │ │ └── xmake.lua │ ├── pl_mpeg │ │ └── xmake.lua │ ├── platformfolders │ │ ├── patches │ │ │ └── 4.2.0 │ │ │ │ └── cmake-install.patch │ │ └── xmake.lua │ ├── plf_colony │ │ └── xmake.lua │ ├── plf_hive │ │ └── xmake.lua │ ├── plf_indiesort │ │ └── xmake.lua │ ├── plf_list │ │ └── xmake.lua │ ├── plf_nanotimer │ │ └── xmake.lua │ ├── plf_queue │ │ └── xmake.lua │ ├── plf_rand │ │ └── xmake.lua │ ├── plf_reorderase │ │ └── xmake.lua │ ├── plf_stack │ │ └── xmake.lua │ ├── plfit │ │ └── xmake.lua │ ├── plog │ │ └── xmake.lua │ ├── plusaes │ │ └── xmake.lua │ ├── plutosvg │ │ └── xmake.lua │ ├── plutovg │ │ └── xmake.lua │ ├── pmp │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── pocketfft │ │ └── xmake.lua │ ├── pocketpy │ │ └── xmake.lua │ ├── poco │ │ └── xmake.lua │ ├── poly2tri │ │ └── xmake.lua │ ├── polyclipping │ │ └── xmake.lua │ ├── polyhook2 │ │ └── xmake.lua │ ├── polyscope │ │ ├── patches │ │ │ ├── v1.3.0 │ │ │ │ ├── deps.patch │ │ │ │ └── imgui.patch │ │ │ ├── v2.1.0 │ │ │ │ └── deps.patch │ │ │ └── v2.2.1 │ │ │ │ └── deps.patch │ │ └── xmake.lua │ ├── poppler │ │ └── xmake.lua │ ├── popt │ │ └── xmake.lua │ ├── portable_build_tools │ │ └── xmake.lua │ ├── portaudio │ │ └── xmake.lua │ ├── portmidi │ │ └── xmake.lua │ ├── poselib │ │ └── xmake.lua │ ├── postgresql │ │ └── xmake.lua │ ├── pprint │ │ └── xmake.lua │ ├── pqp │ │ ├── patches │ │ │ └── 1.3 │ │ │ │ └── fix.patch │ │ └── xmake.lua │ ├── premake5 │ │ └── xmake.lua │ ├── process-dump │ │ └── xmake.lua │ ├── proj │ │ ├── patches │ │ │ └── 6.3.1 │ │ │ │ └── fixes.patch │ │ └── xmake.lua │ ├── prometheus-cpp │ │ └── xmake.lua │ ├── promise-cpp │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── protobuf-c │ │ ├── patches │ │ │ └── 1.3.1 │ │ │ │ └── 342.patch │ │ └── xmake.lua │ ├── protobuf-cpp │ │ ├── patches │ │ │ ├── 3.11.2 │ │ │ │ └── ndk-link-log.diff │ │ │ ├── 3.17.3 │ │ │ │ └── field_access_listener.patch │ │ │ ├── 3.19.4 │ │ │ │ └── vs_runtime.patch │ │ │ └── 31.0 │ │ │ │ ├── gcc15.patch │ │ │ │ └── msvc2019-arm64.patch │ │ └── xmake.lua │ ├── protoc │ │ └── xmake.lua │ ├── proxygen │ │ └── xmake.lua │ ├── prvhash │ │ └── xmake.lua │ ├── pseudo-double-c │ │ └── xmake.lua │ ├── pseudo-double-cpp │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── psimd │ │ └── xmake.lua │ ├── ptex │ │ └── xmake.lua │ ├── pthreadpool │ │ └── xmake.lua │ ├── pthreads4w │ │ └── xmake.lua │ ├── ptl │ │ └── xmake.lua │ ├── pugixml │ │ ├── port │ │ │ └── sharedwasm.cmake │ │ └── xmake.lua │ ├── pulsar │ │ └── xmake.lua │ ├── pupnp │ │ └── xmake.lua │ ├── pybind11 │ │ └── xmake.lua │ ├── pycdc │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── pyincpp │ │ └── xmake.lua │ ├── pystring │ │ └── xmake.lua │ ├── python-launcher │ │ └── xmake.lua │ ├── python │ │ ├── fetch.lua │ │ └── xmake.lua │ └── python2 │ │ └── xmake.lua ├── q │ ├── qcbor │ │ └── xmake.lua │ ├── qdcae │ │ ├── patches │ │ │ └── fix.patch │ │ └── xmake.lua │ ├── qdldl │ │ └── xmake.lua │ ├── qengine │ │ └── xmake.lua │ ├── qhull │ │ └── xmake.lua │ ├── qjson │ │ └── xmake.lua │ ├── qmsetup │ │ └── xmake.lua │ ├── qoa │ │ └── xmake.lua │ ├── qoi │ │ └── xmake.lua │ ├── qr-code-generator-c │ │ └── xmake.lua │ ├── qr-code-generator-cpp │ │ └── xmake.lua │ ├── qt-tools │ │ └── xmake.lua │ ├── qt5base │ │ └── xmake.lua │ ├── qt5core │ │ └── xmake.lua │ ├── qt5gui │ │ └── xmake.lua │ ├── qt5lib │ │ └── xmake.lua │ ├── qt5network │ │ └── xmake.lua │ ├── qt5webview │ │ └── xmake.lua │ ├── qt5widgets │ │ └── xmake.lua │ ├── qt6base │ │ └── xmake.lua │ ├── qt6core │ │ └── xmake.lua │ ├── qt6gui │ │ └── xmake.lua │ ├── qt6lib │ │ └── xmake.lua │ ├── qt6network │ │ └── xmake.lua │ ├── qt6qml │ │ └── xmake.lua │ ├── qt6quick │ │ └── xmake.lua │ ├── qt6widgets │ │ └── xmake.lua │ ├── qtawesome │ │ └── xmake.lua │ ├── qtbase │ │ └── xmake.lua │ ├── qtifw │ │ └── xmake.lua │ ├── qtpromise │ │ └── xmake.lua │ ├── quadsort │ │ └── xmake.lua │ ├── quake_triangle │ │ └── xmake.lua │ ├── quantlib │ │ └── xmake.lua │ ├── quickcpplib │ │ └── xmake.lua │ ├── quickjs-ng │ │ └── xmake.lua │ ├── quickjs │ │ ├── patches │ │ │ └── 2024.01.13 │ │ │ │ └── msvc.patch │ │ └── xmake.lua │ ├── quickjspp │ │ └── xmake.lua │ ├── quill │ │ ├── patches │ │ │ └── 4.5.0 │ │ │ │ └── windows-arm.patch │ │ └── xmake.lua │ ├── quirc │ │ └── xmake.lua │ └── qwindowkit │ │ └── xmake.lua ├── r │ ├── radeonrays │ │ └── xmake.lua │ ├── ragel │ │ └── xmake.lua │ ├── rang │ │ └── xmake.lua │ ├── range-v3 │ │ └── xmake.lua │ ├── rapidcsv │ │ └── xmake.lua │ ├── rapidfuzz │ │ └── xmake.lua │ ├── rapidhash │ │ └── xmake.lua │ ├── rapidjson │ │ └── xmake.lua │ ├── rapidobj │ │ └── xmake.lua │ ├── rapidxml │ │ └── xmake.lua │ ├── raw_pdb │ │ └── xmake.lua │ ├── raygui │ │ └── xmake.lua │ ├── raylib-cpp │ │ └── xmake.lua │ ├── raylib │ │ └── xmake.lua │ ├── rcmp │ │ └── xmake.lua │ ├── re-flex │ │ └── xmake.lua │ ├── re-spirv │ │ └── xmake.lua │ ├── re2 │ │ └── xmake.lua │ ├── reaction │ │ └── xmake.lua │ ├── reactiveplusplus │ │ └── xmake.lua │ ├── readerwriterqueue │ │ └── xmake.lua │ ├── readline │ │ ├── patches │ │ │ └── 8.2.13 │ │ │ │ └── mingw_fd_set.patch │ │ └── xmake.lua │ ├── recastnavigation │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── reckless │ │ └── xmake.lua │ ├── redex │ │ └── xmake.lua │ ├── redis-plus-plus │ │ └── xmake.lua │ ├── reflect-cpp │ │ ├── patches │ │ │ ├── 0.10.0 │ │ │ │ └── cmake.patch │ │ │ ├── 0.11.1 │ │ │ │ └── cmake.patch │ │ │ ├── 0.16.0 │ │ │ │ └── cmake.patch │ │ │ └── 0.17.0 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── remotery │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── rendergraph │ │ └── xmake.lua │ ├── replxx │ │ └── xmake.lua │ ├── reproc │ │ ├── patches │ │ │ └── 0001-to-head.diff │ │ └── xmake.lua │ ├── resiprocate │ │ └── xmake.lua │ ├── rest_rpc │ │ └── xmake.lua │ ├── restinio │ │ └── xmake.lua │ ├── rhash │ │ └── xmake.lua │ ├── ricab-scope_guard │ │ └── xmake.lua │ ├── ring-span-lite │ │ └── xmake.lua │ ├── rlottie │ │ ├── patches │ │ │ └── 0.2 │ │ │ │ └── limit.diff │ │ └── xmake.lua │ ├── rmlui │ │ └── xmake.lua │ ├── robin-hood-hashing │ │ └── xmake.lua │ ├── robin-map │ │ └── xmake.lua │ ├── robotstxt │ │ └── xmake.lua │ ├── rocket │ │ └── xmake.lua │ ├── rocksdb │ │ └── xmake.lua │ ├── rpclib │ │ └── xmake.lua │ ├── rply │ │ └── xmake.lua │ ├── rpm │ │ └── xmake.lua │ ├── rpmalloc │ │ └── xmake.lua │ ├── rsm-autotoml │ │ └── xmake.lua │ ├── rsm-binary-io │ │ └── xmake.lua │ ├── rsm-bsa │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── rsm-mmio │ │ └── xmake.lua │ ├── rsync │ │ └── xmake.lua │ ├── rtaudio │ │ └── xmake.lua │ ├── rtm │ │ └── xmake.lua │ ├── rtmidi │ │ └── xmake.lua │ ├── rttr │ │ └── xmake.lua │ ├── ruapu │ │ └── xmake.lua │ ├── rust │ │ └── xmake.lua │ ├── rustlib │ │ └── xmake.lua │ ├── rustup │ │ └── xmake.lua │ ├── ruy │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ └── rxcpp │ │ └── xmake.lua ├── s │ ├── s2n-tls │ │ └── xmake.lua │ ├── s7 │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── safetyhook │ │ └── xmake.lua │ ├── sailormoon_flags │ │ └── xmake.lua │ ├── samurai │ │ └── xmake.lua │ ├── scnlib │ │ └── xmake.lua │ ├── scons │ │ └── xmake.lua │ ├── scotch │ │ ├── patches │ │ │ └── 7.0.5 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── screen_capture_lite │ │ └── xmake.lua │ ├── sdsl-lite │ │ └── xmake.lua │ ├── seasocks │ │ └── xmake.lua │ ├── semi-static-conditions │ │ └── xmake.lua │ ├── semver │ │ └── xmake.lua │ ├── sentencepiece │ │ └── xmake.lua │ ├── sentry-native │ │ ├── patches │ │ │ └── 0.4.4 │ │ │ │ └── zlib_fix.patch │ │ └── xmake.lua │ ├── seqan3 │ │ └── xmake.lua │ ├── serial │ │ └── xmake.lua │ ├── sfgui │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── sfl-library │ │ └── xmake.lua │ ├── sfml │ │ └── xmake.lua │ ├── sfntly │ │ └── xmake.lua │ ├── sfparse │ │ └── xmake.lua │ ├── shaderc │ │ └── xmake.lua │ ├── shaderwriter │ │ └── xmake.lua │ ├── shadowhook │ │ └── xmake.lua │ ├── shared-mime-info │ │ └── xmake.lua │ ├── sheenbidi │ │ └── xmake.lua │ ├── simage │ │ └── xmake.lua │ ├── simbody │ │ ├── patches │ │ │ └── 3.7 │ │ │ │ └── msvc.patch │ │ └── xmake.lua │ ├── simdcomp │ │ └── xmake.lua │ ├── simde │ │ └── xmake.lua │ ├── simdjson │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── simdutf │ │ └── xmake.lua │ ├── simple_http │ │ └── xmake.lua │ ├── simpleini │ │ └── xmake.lua │ ├── simplethreadpool │ │ └── xmake.lua │ ├── simplewindow │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── simsimd │ │ └── xmake.lua │ ├── skia │ │ └── xmake.lua │ ├── slang │ │ └── xmake.lua │ ├── smoothcpp │ │ └── xmake.lua │ ├── snappy │ │ ├── patches │ │ │ ├── 1.1.10 │ │ │ │ └── cmake.patch │ │ │ ├── 1.1.9 │ │ │ │ └── inline.patch │ │ │ └── 1.2.1 │ │ │ │ └── update-neon-flag-aarch64.patch │ │ └── xmake.lua │ ├── snitch │ │ └── xmake.lua │ ├── snmalloc │ │ └── xmake.lua │ ├── sobjectizer │ │ └── xmake.lua │ ├── soci │ │ ├── patches │ │ │ └── v4.0.3 │ │ │ │ └── cmake_policy_fix.patch │ │ └── xmake.lua │ ├── socket-io-client │ │ └── xmake.lua │ ├── sockpp │ │ ├── patches │ │ │ └── 0.8.1 │ │ │ │ └── strerror.patch │ │ └── xmake.lua │ ├── soil2 │ │ └── xmake.lua │ ├── sokol-tools │ │ └── xmake.lua │ ├── sokol │ │ └── xmake.lua │ ├── sol2 │ │ ├── patches │ │ │ └── 3.3.0 │ │ │ │ └── optional.patch │ │ └── xmake.lua │ ├── soloud │ │ ├── patches │ │ │ └── miniaudio_v11.patch │ │ └── xmake.lua │ ├── sonic-cpp │ │ └── xmake.lua │ ├── sophus │ │ └── xmake.lua │ ├── soplex │ │ └── xmake.lua │ ├── soundtouch │ │ └── xmake.lua │ ├── span-lite │ │ └── xmake.lua │ ├── sparse-map │ │ └── xmake.lua │ ├── sparsepp │ │ └── xmake.lua │ ├── spdlog │ │ ├── patches │ │ │ ├── 1.8.5 │ │ │ │ └── spdlog-1.8.5-fmt8.patch │ │ │ └── v1.11.0 │ │ │ │ └── fmt10.patch │ │ └── xmake.lua │ ├── spectra │ │ └── xmake.lua │ ├── spine-runtimes │ │ ├── patches │ │ │ └── 3.8 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── spirv-cross │ │ └── xmake.lua │ ├── spirv-headers │ │ └── xmake.lua │ ├── spirv-reflect │ │ └── xmake.lua │ ├── spirv-tools │ │ └── xmake.lua │ ├── spot │ │ └── xmake.lua │ ├── sqlcipher │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── sqlite-vec │ │ └── xmake.lua │ ├── sqlite3-lemon │ │ └── xmake.lua │ ├── sqlite3 │ │ └── xmake.lua │ ├── sqlite_orm │ │ └── xmake.lua │ ├── sqlitecpp │ │ └── xmake.lua │ ├── sqlpp11 │ │ └── xmake.lua │ ├── sqrat │ │ └── xmake.lua │ ├── squirrel │ │ └── xmake.lua │ ├── srell │ │ └── xmake.lua │ ├── srpc │ │ └── xmake.lua │ ├── srt │ │ └── xmake.lua │ ├── srtp │ │ └── xmake.lua │ ├── sse2neon │ │ └── xmake.lua │ ├── sse2rvv │ │ └── xmake.lua │ ├── ssp │ │ └── xmake.lua │ ├── stackwalker │ │ ├── patches │ │ │ └── 1.20 │ │ │ │ └── debug_build.patch │ │ └── xmake.lua │ ├── standardlib │ │ └── xmake.lua │ ├── starpu │ │ └── xmake.lua │ ├── stb │ │ └── xmake.lua │ ├── stc │ │ └── xmake.lua │ ├── stdexec │ │ └── xmake.lua │ ├── stduuid │ │ └── xmake.lua │ ├── steam-audio │ │ ├── patch.lua │ │ └── xmake.lua │ ├── stlab │ │ └── xmake.lua │ ├── strawberry-perl │ │ └── xmake.lua │ ├── streamvbyte │ │ └── xmake.lua │ ├── string-view-lite │ │ └── xmake.lua │ ├── stringbuilder │ │ └── xmake.lua │ ├── strings_h │ │ └── xmake.lua │ ├── stringzilla │ │ └── xmake.lua │ ├── strong_type │ │ └── xmake.lua │ ├── strtk │ │ └── xmake.lua │ ├── stx │ │ └── xmake.lua │ ├── subhook │ │ └── xmake.lua │ ├── subprocess.h │ │ └── xmake.lua │ ├── suitesparse │ │ ├── patches │ │ │ └── 5.10.1 │ │ │ │ └── msvc.patch │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── superlu │ │ └── xmake.lua │ ├── svector │ │ └── xmake.lua │ ├── svt-av1 │ │ └── xmake.lua │ ├── swig │ │ └── xmake.lua │ ├── swisseph │ │ └── xmake.lua │ ├── swxjson │ │ ├── patches │ │ │ └── fix.diff │ │ └── xmake.lua │ ├── symengine │ │ └── xmake.lua │ ├── sys_time_h │ │ └── xmake.lua │ ├── sys_wait_h │ │ └── xmake.lua │ ├── syscmdline │ │ └── xmake.lua │ └── szip │ │ └── xmake.lua ├── t │ ├── ta-lib │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── tabulate │ │ └── xmake.lua │ ├── taglib │ │ └── xmake.lua │ ├── talloc │ │ └── xmake.lua │ ├── tao_idl │ │ └── xmake.lua │ ├── taskflow │ │ └── xmake.lua │ ├── taywee_args │ │ └── xmake.lua │ ├── tbb │ │ ├── fetch.lua │ │ ├── patches │ │ │ ├── 2020.3 │ │ │ │ └── gcc13.patch │ │ │ ├── 2021.2.0 │ │ │ │ └── gcc11.patch │ │ │ ├── 2021.5.0 │ │ │ │ └── i386.patch │ │ │ └── 2022.0.0 │ │ │ │ └── fix-mingw-compilation.patch │ │ └── xmake.lua │ ├── tbox │ │ └── xmake.lua │ ├── tcb-span │ │ └── xmake.lua │ ├── tclap │ │ └── xmake.lua │ ├── tclsh │ │ └── xmake.lua │ ├── teascript │ │ ├── patches │ │ │ └── 0.14.0 │ │ │ │ └── macosx.patch │ │ └── xmake.lua │ ├── telebot │ │ └── xmake.lua │ ├── termcap │ │ ├── patches │ │ │ └── 1.3.1 │ │ │ │ └── unistd_h.patch │ │ └── xmake.lua │ ├── termcolor │ │ └── xmake.lua │ ├── tesseract │ │ └── xmake.lua │ ├── tetgen │ │ └── xmake.lua │ ├── texinfo │ │ └── xmake.lua │ ├── tf_workstealingqueue │ │ └── xmake.lua │ ├── tgbot-cpp │ │ └── xmake.lua │ ├── theora │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── think-cell-library │ │ └── xmake.lua │ ├── thorvg │ │ └── xmake.lua │ ├── thread-pool │ │ └── xmake.lua │ ├── thrift │ │ ├── patches │ │ │ ├── 0.16.0 │ │ │ │ └── cmake.patch │ │ │ └── 0.21.0 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ ├── thrust │ │ └── xmake.lua │ ├── ti-cgt │ │ └── xmake.lua │ ├── tidy-html5 │ │ └── xmake.lua │ ├── tiltedcore │ │ └── xmake.lua │ ├── tiny-aes-c │ │ └── xmake.lua │ ├── tiny-optional │ │ └── xmake.lua │ ├── tiny-process-library │ │ └── xmake.lua │ ├── tinyalloc │ │ └── xmake.lua │ ├── tinycbor │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── tinycc │ │ └── xmake.lua │ ├── tinycolormap │ │ └── xmake.lua │ ├── tinycrypt │ │ └── xmake.lua │ ├── tinycthread │ │ └── xmake.lua │ ├── tinydir │ │ └── xmake.lua │ ├── tinyexpr │ │ └── xmake.lua │ ├── tinyexr │ │ └── xmake.lua │ ├── tinyfiledialogs │ │ └── xmake.lua │ ├── tinyformat │ │ └── xmake.lua │ ├── tinygltf │ │ └── xmake.lua │ ├── tinyjpeg │ │ └── xmake.lua │ ├── tinymcp │ │ └── xmake.lua │ ├── tinyobjloader │ │ └── xmake.lua │ ├── tinyply │ │ └── xmake.lua │ ├── tinyspline │ │ └── xmake.lua │ ├── tinyxml │ │ └── xmake.lua │ ├── tinyxml2 │ │ └── xmake.lua │ ├── tl_expected │ │ └── xmake.lua │ ├── tl_function_ref │ │ └── xmake.lua │ ├── tl_optional │ │ └── xmake.lua │ ├── tlsf │ │ └── xmake.lua │ ├── tmx │ │ └── xmake.lua │ ├── tmxlite │ │ └── xmake.lua │ ├── tmxparser │ │ └── xmake.lua │ ├── tobiaslocker_base64 │ │ └── xmake.lua │ ├── toml++ │ │ └── xmake.lua │ ├── toml11 │ │ └── xmake.lua │ ├── tomlc99 │ │ └── xmake.lua │ ├── tomlcpp │ │ └── xmake.lua │ ├── toojpeg │ │ └── xmake.lua │ ├── tracy │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── transwarp │ │ └── xmake.lua │ ├── trantor │ │ ├── patches │ │ │ └── 1.5.8 │ │ │ │ ├── fix-win-off_t.patch │ │ │ │ └── skip_doc.patch │ │ └── xmake.lua │ ├── tree-sitter │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── trompeloeil │ │ └── xmake.lua │ ├── tuplet │ │ └── xmake.lua │ ├── turbobase64 │ │ ├── patches │ │ │ └── 2022.02.21 │ │ │ │ └── header.patch │ │ ├── port │ │ │ ├── CMakeLists.txt │ │ │ └── cmake │ │ │ │ └── turbobase64-config.cmake.in │ │ └── xmake.lua │ ├── tweeny │ │ └── xmake.lua │ └── type_safe │ │ └── xmake.lua ├── u │ ├── uasm │ │ ├── patches │ │ │ ├── fix-bool.diff │ │ │ ├── fix-build.diff │ │ │ ├── fix-esc-seq.diff │ │ │ └── uint64-fix.diff │ │ ├── ports │ │ │ └── osx64.mak │ │ └── xmake.lua │ ├── uchardet │ │ └── xmake.lua │ ├── ucx │ │ ├── patches │ │ │ └── 1.16.0 │ │ │ │ └── unused_variable.patch │ │ └── xmake.lua │ ├── udt │ │ └── xmake.lua │ ├── ufbx │ │ └── xmake.lua │ ├── ultralight │ │ └── xmake.lua │ ├── uni_algo │ │ └── xmake.lua │ ├── unicorn │ │ └── xmake.lua │ ├── unistd_h │ │ └── xmake.lua │ ├── units │ │ └── xmake.lua │ ├── unity_test │ │ └── xmake.lua │ ├── universal_stacktrace │ │ └── xmake.lua │ ├── unordered_dense │ │ └── xmake.lua │ ├── unqlite │ │ └── xmake.lua │ ├── unzip │ │ └── xmake.lua │ ├── upa-url │ │ └── xmake.lua │ ├── urdfdom-headers │ │ ├── patches │ │ │ └── 1.0.5 │ │ │ │ └── export.patch │ │ └── xmake.lua │ ├── urdfdom │ │ ├── patches │ │ │ └── 1.0.4 │ │ │ │ └── build.patch │ │ └── xmake.lua │ ├── uriparser │ │ └── xmake.lua │ ├── usd │ │ └── xmake.lua │ ├── usockets │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── usrsctp │ │ └── xmake.lua │ ├── utest.h │ │ └── xmake.lua │ ├── utf8.h │ │ └── xmake.lua │ ├── utf8_range │ │ └── xmake.lua │ ├── utf8proc │ │ └── xmake.lua │ ├── utfcpp │ │ └── xmake.lua │ ├── uthash │ │ └── xmake.lua │ ├── util-linux │ │ ├── patches │ │ │ └── 2.36.2 │ │ │ │ └── includes.patch │ │ └── xmake.lua │ ├── util-macros │ │ └── xmake.lua │ ├── uuid_v4 │ │ └── xmake.lua │ ├── uvatlas │ │ └── xmake.lua │ ├── uvw │ │ └── xmake.lua │ ├── uvwasi │ │ ├── patches │ │ │ └── 0.0.20 │ │ │ │ └── cmake.patch │ │ └── xmake.lua │ └── uwebsockets │ │ └── xmake.lua ├── v │ ├── v8 │ │ └── xmake.lua │ ├── variant-lite │ │ └── xmake.lua │ ├── vc-ltl5 │ │ └── xmake.lua │ ├── vc │ │ └── xmake.lua │ ├── vcglib │ │ └── xmake.lua │ ├── vcpkg │ │ └── xmake.lua │ ├── vectorial │ │ └── xmake.lua │ ├── veil │ │ └── xmake.lua │ ├── verdict │ │ └── xmake.lua │ ├── verilator │ │ └── xmake.lua │ ├── vexcl │ │ └── xmake.lua │ ├── viennacl │ │ └── xmake.lua │ ├── visit_struct │ │ └── xmake.lua │ ├── vk-bootstrap │ │ └── xmake.lua │ ├── vladimirshaleev-ipaddress │ │ └── xmake.lua │ ├── vld │ │ └── xmake.lua │ ├── vmaf │ │ └── xmake.lua │ ├── volk │ │ └── xmake.lua │ ├── vtk │ │ ├── patches │ │ │ ├── 9.0.3 │ │ │ │ └── limits.patch │ │ │ ├── 9.2.6 │ │ │ │ └── gcc13.patch │ │ │ └── 9.3.1 │ │ │ │ └── msvc.patch │ │ ├── rules │ │ │ └── autoinit.lua │ │ └── xmake.lua │ ├── vulkan-headers │ │ └── xmake.lua │ ├── vulkan-hpp │ │ └── xmake.lua │ ├── vulkan-loader │ │ └── xmake.lua │ ├── vulkan-memory-allocator-hpp │ │ └── xmake.lua │ ├── vulkan-memory-allocator │ │ └── xmake.lua │ ├── vulkan-tools │ │ └── xmake.lua │ ├── vulkan-utility-libraries │ │ └── xmake.lua │ ├── vulkan-validationlayers │ │ └── xmake.lua │ ├── vulkanscenegraph │ │ └── xmake.lua │ ├── vulkansdk │ │ └── xmake.lua │ └── vvenc │ │ └── xmake.lua ├── w │ ├── w64devkit │ │ └── xmake.lua │ ├── wangle │ │ └── xmake.lua │ ├── wasm-micro-runtime │ │ ├── patches │ │ │ ├── 1.2.3 │ │ │ │ └── cmake.patch │ │ │ ├── 1.3.2 │ │ │ │ └── cmake.patch │ │ │ ├── 2.2.0 │ │ │ │ ├── fix-windows.patch │ │ │ │ └── log-link-android.patch │ │ │ ├── libc_uvwasi.patch │ │ │ └── ntapi.patch │ │ └── xmake.lua │ ├── watcher │ │ └── xmake.lua │ ├── wavpack │ │ └── xmake.lua │ ├── wayland-protocols │ │ ├── rules │ │ │ └── wayland_protocols.lua │ │ └── xmake.lua │ ├── wayland │ │ └── xmake.lua │ ├── webdriverxx │ │ ├── patches │ │ │ └── 2023.04.22 │ │ │ │ ├── fix_cxx23.patch │ │ │ │ └── picojson.patch │ │ └── xmake.lua │ ├── websocketpp │ │ └── xmake.lua │ ├── webthing-cpp │ │ └── xmake.lua │ ├── webui │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── wfrest │ │ └── xmake.lua │ ├── wgpu-native │ │ └── xmake.lua │ ├── wgsl-validator │ │ └── xmake.lua │ ├── whereami │ │ └── xmake.lua │ ├── which │ │ └── xmake.lua │ ├── whisper.cpp │ │ ├── patches │ │ │ └── 1.4.2 │ │ │ │ └── fix.patch │ │ └── xmake.lua │ ├── wigxjpf │ │ └── xmake.lua │ ├── wil │ │ └── xmake.lua │ ├── wineditline │ │ ├── patches │ │ │ └── 2.208 │ │ │ │ └── build.diff │ │ └── xmake.lua │ ├── winflexbison │ │ └── xmake.lua │ ├── wingetopt │ │ └── xmake.lua │ ├── winlamb │ │ └── xmake.lua │ ├── winpcap │ │ └── xmake.lua │ ├── winpixevent │ │ └── xmake.lua │ ├── winreg │ │ └── xmake.lua │ ├── wintoast │ │ └── xmake.lua │ ├── wirehair │ │ └── xmake.lua │ ├── wixtoolset │ │ └── xmake.lua │ ├── wjakob_filesystem │ │ └── xmake.lua │ ├── woff2 │ │ ├── patches │ │ │ └── missing-gcc15-header.diff │ │ └── xmake.lua │ ├── wolfssl │ │ └── xmake.lua │ ├── workflow │ │ └── xmake.lua │ ├── workspace_hanya │ │ └── xmake.lua │ ├── wren │ │ └── xmake.lua │ ├── wxwidgets │ │ ├── patches │ │ │ └── 3.2.5 │ │ │ │ └── add_libdir.patch │ │ └── xmake.lua │ └── wyhash │ │ └── xmake.lua ├── x │ ├── x264 │ │ └── xmake.lua │ ├── x265 │ │ └── xmake.lua │ ├── xapian-core │ │ └── xmake.lua │ ├── xaudio2redist │ │ └── xmake.lua │ ├── xbyak │ │ └── xmake.lua │ ├── xcb-proto │ │ └── xmake.lua │ ├── xcb-util-cursor │ │ └── xmake.lua │ ├── xcb-util-errors │ │ └── xmake.lua │ ├── xcb-util-image │ │ └── xmake.lua │ ├── xcb-util-keysyms │ │ └── xmake.lua │ ├── xcb-util-renderutil │ │ └── xmake.lua │ ├── xcb-util-wm │ │ └── xmake.lua │ ├── xcb-util │ │ └── xmake.lua │ ├── xdl │ │ └── xmake.lua │ ├── xege │ │ └── xmake.lua │ ├── xerces-c │ │ ├── patches │ │ │ └── patch-android.diff │ │ └── xmake.lua │ ├── xframe │ │ └── xmake.lua │ ├── xgrammar │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── xhook │ │ └── xmake.lua │ ├── xlnt │ │ └── xmake.lua │ ├── xlsxio │ │ ├── port │ │ │ └── xmake.lua │ │ └── xmake.lua │ ├── xmlto │ │ └── xmake.lua │ ├── xorgproto │ │ └── xmake.lua │ ├── xorstr │ │ └── xmake.lua │ ├── xpack │ │ └── xmake.lua │ ├── xproperty │ │ └── xmake.lua │ ├── xquic │ │ └── xmake.lua │ ├── xsimd │ │ └── xmake.lua │ ├── xtd │ │ ├── patches │ │ │ └── v0.1.2 │ │ │ │ └── add_wxwidgets_to_tools.patch │ │ └── xmake.lua │ ├── xtensor-blas │ │ └── xmake.lua │ ├── xtensor-io │ │ └── xmake.lua │ ├── xtensor │ │ └── xmake.lua │ ├── xtl │ │ └── xmake.lua │ ├── xtrans │ │ └── xmake.lua │ ├── xxhash │ │ └── xmake.lua │ └── xz │ │ ├── patches │ │ ├── 5.2.13 │ │ │ └── fix-unknown-cmake-command.patch │ │ └── xz-cve-2025-31115.patch │ │ └── xmake.lua ├── y │ ├── yalantinglibs │ │ └── xmake.lua │ ├── yaml-cpp │ │ ├── patches │ │ │ └── missing-gcc15-header.diff │ │ └── xmake.lua │ ├── yaml_cpp_struct │ │ └── xmake.lua │ ├── yas │ │ └── xmake.lua │ ├── yasm │ │ ├── patches │ │ │ ├── fix-bool-gcc15.diff │ │ │ └── upd-min-cmake.diff │ │ └── xmake.lua │ ├── yoga │ │ └── xmake.lua │ ├── yomm2 │ │ └── xmake.lua │ ├── yxml │ │ └── xmake.lua │ ├── yy-thunks │ │ ├── rules │ │ │ └── link.lua │ │ └── xmake.lua │ └── yyjson │ │ └── xmake.lua └── z │ ├── z3 │ └── xmake.lua │ ├── zasm │ └── xmake.lua │ ├── zbar │ ├── port │ │ ├── config.h.in │ │ └── xmake.lua │ └── xmake.lua │ ├── zeromq │ ├── patches │ │ └── 4.3.5 │ │ │ └── mingw.patch │ └── xmake.lua │ ├── zeus_expected │ ├── patches │ │ └── v1.0.0 │ │ │ └── fix_typename.patch │ └── xmake.lua │ ├── zfp │ ├── patches │ │ └── 0.5.5 │ │ │ └── msvc.patch │ └── xmake.lua │ ├── zig │ └── xmake.lua │ ├── zimg │ └── xmake.lua │ ├── zint │ └── xmake.lua │ ├── zip │ └── xmake.lua │ ├── zlib-ng │ └── xmake.lua │ ├── zlib │ └── xmake.lua │ ├── zlibcomplete │ └── xmake.lua │ ├── zlmediakit │ └── xmake.lua │ ├── zlog │ ├── patches │ │ └── 1.2.17 │ │ │ └── cmake.patch │ └── xmake.lua │ ├── zltoolkit │ └── xmake.lua │ ├── zmqpb │ └── xmake.lua │ ├── zoe │ └── xmake.lua │ ├── zopfli │ └── xmake.lua │ ├── zpp_bits │ └── xmake.lua │ ├── zpp_throwing │ └── xmake.lua │ ├── zstd │ ├── patches │ │ └── 1.5.6 │ │ │ └── fix-rc-build.patch │ ├── port │ │ └── xmake.lua │ └── xmake.lua │ ├── zstr │ ├── patches │ │ └── fix-build-on-android-ndksdk-21.patch │ └── xmake.lua │ ├── zxing-cpp │ └── xmake.lua │ ├── zycore-c │ └── xmake.lua │ ├── zydis │ ├── patches │ │ ├── v3.2.1 │ │ │ └── cmake.patch │ │ ├── v4.0.0 │ │ │ └── cmake.patch │ │ └── v4.1.0 │ │ │ └── cmake.patch │ └── xmake.lua │ └── zziplib │ └── xmake.lua └── scripts ├── automerge.lua ├── autoupdate.lua ├── build_artifacts.lua ├── checkupdate.lua ├── list.lua ├── new.lua ├── packages.lua ├── sync.lua └── test.lua /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | root = true 4 | 5 | [*.lua] 6 | indent_style = space 7 | indent_size = 4 8 | end_of_line = lf 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /.github/workflows/iphoneos.yml: -------------------------------------------------------------------------------- 1 | name: iPhoneOS 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - dev 7 | 8 | jobs: 9 | build: 10 | strategy: 11 | matrix: 12 | os: [macOS-latest] 13 | 14 | runs-on: ${{ matrix.os }} 15 | 16 | concurrency: 17 | group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-iPhoneOS 18 | cancel-in-progress: true 19 | steps: 20 | - uses: actions/checkout@v1 21 | - uses: xmake-io/github-action-setup-xmake@v1 22 | with: 23 | xmake-version: branch@master 24 | actions-cache-folder: '.xmake-cache' 25 | 26 | - name: Tests 27 | run: | 28 | xmake l ./scripts/test.lua -D -p iphoneos 29 | -------------------------------------------------------------------------------- /.github/workflows/issue-translator.yml: -------------------------------------------------------------------------------- 1 | name: 'issue-translator' 2 | on: 3 | issue_comment: 4 | types: [created] 5 | issues: 6 | types: [opened] 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: usthe/issues-translate-action@v2.7 13 | with: 14 | IS_MODIFY_TITLE: false 15 | CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.a 2 | *.b 3 | *.o 4 | *.exe 5 | *.obj 6 | *.dll 7 | *.lib 8 | *.out 9 | *.suo 10 | *~ 11 | *.swp 12 | *.swo 13 | *.bak 14 | *.orig 15 | *.pdb 16 | *.idb 17 | *.ilk 18 | *.stackdump 19 | *.manifest 20 | .ccache 21 | .demo 22 | .svn 23 | .vscode 24 | .DS_Store 25 | .xmake 26 | cscope.* 27 | gmon.out 28 | other 29 | tags 30 | doc 31 | -------------------------------------------------------------------------------- /NOTICE.md: -------------------------------------------------------------------------------- 1 | A package repository based on xmake 2 | Copyright 2017-2018 The TBOOX Open Source Group 3 | 4 | This product includes software developed by The TBOOX Open Source Group (http://www.tboox.org/). 5 | 6 | ------------------------------------------------------------------------------- 7 | 8 | This product depends on 'xmake', A make-like build utility based on Lua, 9 | which can be obtained at: 10 | 11 | * LICENSE: 12 | * https://github.com/xmake-io/xmake/blob/master/LICENSE.md (Apache License 2.0) 13 | * HOMEPAGE: 14 | * http://www.tboox.org/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /packages/1/11zip/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | add_requires("minizip-ng") 4 | add_packages("minizip-ng") 5 | 6 | target("11zip") 7 | set_kind("$(kind)") 8 | set_languages("c++17") 9 | add_files("src/*.cpp") 10 | remove_files("src/elzip_fs_fallback.cpp") 11 | add_includedirs("include", "include/elzip") 12 | 13 | add_headerfiles("include/(**.hpp)") 14 | 15 | if is_plat("windows") and is_kind("shared") then 16 | add_rules("utils.symbols.export_all", {export_classes = true}) 17 | end 18 | -------------------------------------------------------------------------------- /packages/7/7z/patches/21.02/backport-21.03-fix-for-GCC-10.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CPP/7zip/Common/OffsetStream.cpp b/CPP/7zip/Common/OffsetStream.cpp 2 | index b3e710f..b16124c 100644 3 | --- a/CPP/7zip/Common/OffsetStream.cpp 4 | +++ b/CPP/7zip/Common/OffsetStream.cpp 5 | @@ -20,13 +20,13 @@ STDMETHODIMP COffsetOutStream::Write(const void *data, UInt32 size, UInt32 *proc 6 | 7 | STDMETHODIMP COffsetOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) 8 | { 9 | - UInt64 absoluteNewPosition; 10 | if (seekOrigin == STREAM_SEEK_SET) 11 | { 12 | if (offset < 0) 13 | return HRESULT_WIN32_ERROR_NEGATIVE_SEEK; 14 | offset += _offset; 15 | } 16 | + UInt64 absoluteNewPosition = 0; // =0 for gcc-10 17 | HRESULT result = _stream->Seek(offset, seekOrigin, &absoluteNewPosition); 18 | if (newPosition) 19 | *newPosition = absoluteNewPosition - _offset; 20 | -------------------------------------------------------------------------------- /packages/a/acl-dev/patches/v3.6.2/export_unix.diff: -------------------------------------------------------------------------------- 1 | diff --git a/lib_acl/include/stdlib/acl_define_unix.h b/lib_acl/include/stdlib/acl_define_unix.h 2 | index b74c872..52cdef7 100644 3 | --- a/lib_acl/include/stdlib/acl_define_unix.h 4 | +++ b/lib_acl/include/stdlib/acl_define_unix.h 5 | @@ -55,7 +55,11 @@ 6 | # define acl_assert assert 7 | # endif 8 | 9 | +#if defined(__GNUC__) 10 | +# define ACL_API __attribute__((visibility("default"))) 11 | +#else 12 | # define ACL_API 13 | +#endif 14 | 15 | #if 1 16 | # define ACL_ETIMEDOUT ETIMEDOUT 17 | -------------------------------------------------------------------------------- /packages/a/antlr4-runtime/patches/4.13.2/add-include-chrono.patch: -------------------------------------------------------------------------------- 1 | diff --git a/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp b/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp 2 | index 9fd86d6..5220492 100644 3 | --- a/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp 4 | +++ b/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp 5 | @@ -10,6 +10,7 @@ 6 | #include "support/CPPUtils.h" 7 | 8 | #include "atn/ProfilingATNSimulator.h" 9 | +#include 10 | 11 | using namespace antlr4; 12 | using namespace antlr4::atn; 13 | -------------------------------------------------------------------------------- /packages/a/antlr4/rules/find_antlr4.lua: -------------------------------------------------------------------------------- 1 | -- https://github.com/antlr/antlr4/blob/master/runtime/Cpp/cmake/antlr4-generator.cmake.in 2 | rule("find_antlr4") 3 | on_config(function(target) 4 | import("lib.detect.find_tool") 5 | 6 | assert(target:pkg("antlr4"), "Please configure add_packages(\"antlr4\") for target(" .. target:name() .. ")") 7 | 8 | local envs = target:pkgenvs() 9 | local java = assert(find_tool("java", {envs = envs}), "java not found!") 10 | local argv = { 11 | "-classpath", 12 | envs.CLASSPATH, 13 | "org.antlr.v4.Tool", 14 | "-Dlanguage=Cpp", 15 | } 16 | 17 | target:data_set("antlr4.tool", java) 18 | target:data_set("antlr4.tool.argv", argv) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/a/apr/patches/1.7.0/common.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/apr_common.m4 b/build/apr_common.m4 2 | index f4e2dfd..6f5782e 100644 3 | --- a/build/apr_common.m4 4 | +++ b/build/apr_common.m4 5 | @@ -504,13 +504,9 @@ AC_DEFUN([APR_TRY_COMPILE_NO_WARNING], 6 | CFLAGS="$CFLAGS -Werror" 7 | fi 8 | AC_COMPILE_IFELSE( 9 | - [AC_LANG_SOURCE( 10 | - [#include "confdefs.h" 11 | - ] 12 | - [[$1]] 13 | - [int main(int argc, const char *const *argv) {] 14 | + [AC_LANG_PROGRAM( 15 | + [[$1]], 16 | [[$2]] 17 | - [ return 0; }] 18 | )], [CFLAGS=$apr_save_CFLAGS 19 | $3], [CFLAGS=$apr_save_CFLAGS 20 | $4]) 21 | -------------------------------------------------------------------------------- /packages/a/asap/xmake.lua: -------------------------------------------------------------------------------- 1 | package("asap") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/mobius3/asap") 4 | set_description("A C++ header-only library for creating, displaying, iterating and manipulating dates") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/mobius3/asap.git") 8 | add_versions("2023.04.21", "e39f2fe178de2ccba816d45811bf23ae0147fcb1") 9 | 10 | on_install(function (package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | void test() { 18 | asap::datetime d1; 19 | } 20 | ]]}, {configs = {languages = "c++11"}})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/a/assimp/patches/5.2.1/fix_zlib_filefunc_def.patch: -------------------------------------------------------------------------------- 1 | diff --git a/code/Common/ZipArchiveIOSystem.cpp b/code/Common/ZipArchiveIOSystem.cpp 2 | index e0c9883d2..c748b3255 100644 3 | --- a/code/Common/ZipArchiveIOSystem.cpp 4 | +++ b/code/Common/ZipArchiveIOSystem.cpp 5 | @@ -196,7 +196,9 @@ zlib_filefunc_def IOSystem2Unzip::get(IOSystem *pIOHandler) { 6 | zlib_filefunc_def mapping; 7 | 8 | mapping.zopen_file = (open_file_func)open; 9 | +#ifdef ZOPENDISK64 10 | mapping.zopendisk_file = (opendisk_file_func)opendisk; 11 | +#endif 12 | mapping.zread_file = (read_file_func)read; 13 | mapping.zwrite_file = (write_file_func)write; 14 | mapping.ztell_file = (tell_file_func)tell; 15 | -------------------------------------------------------------------------------- /packages/a/assimp/patches/5.4.3/fix_mingw.patch: -------------------------------------------------------------------------------- 1 | diff --git a/code/Common/DefaultIOStream.cpp b/code/Common/DefaultIOStream.cpp 2 | index e423eae4f8..35bbb67a5a 100644 3 | --- a/code/Common/DefaultIOStream.cpp 4 | +++ b/code/Common/DefaultIOStream.cpp 5 | @@ -157,9 +157,9 @@ size_t DefaultIOStream::FileSize() const { 6 | return 0; 7 | mCachedSize = (size_t)(fileStat.st_size); 8 | #elif defined _WIN32 9 | - struct _stat32 fileStat; 10 | + struct _stat fileStat; 11 | //using fileno + fstat avoids having to handle the filename 12 | - int err = _fstat32(_fileno(mFile), &fileStat); 13 | + int err = _fstat(_fileno(mFile), &fileStat); 14 | if (0 != err) 15 | return 0; 16 | mCachedSize = (size_t)(fileStat.st_size); 17 | -------------------------------------------------------------------------------- /packages/a/autotools/xmake.lua: -------------------------------------------------------------------------------- 1 | package("autotools") 2 | set_kind("binary") 3 | 4 | if is_subhost("msys") then 5 | add_deps("pacman::autotools") 6 | else 7 | add_deps("autoconf", "automake", "libtool") 8 | end 9 | 10 | on_install("@linux", "@macosx", "@bsd", "@msys", function (package) 11 | end) 12 | -------------------------------------------------------------------------------- /packages/a/avir/xmake.lua: -------------------------------------------------------------------------------- 1 | package("avir") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/avaneev/avir") 5 | set_description("High-quality pro image resizing / scaling C++ library, including a very fast Lanczos resizer") 6 | set_license("MIT") 7 | 8 | add_urls("https://github.com/avaneev/avir/archive/refs/tags/$(version).tar.gz", 9 | "https://github.com/avaneev/avir.git") 10 | 11 | add_versions("3.1", "8235740e578f86d08d03d3f7ae2a6893554c1ae17a061117475219fe3538a7d2") 12 | add_versions("3.0", "011909d31cf782152a69f570563eb70700504f168174a6049b6acbb9b9f511ea") 13 | 14 | on_install(function (package) 15 | os.cp("*.h", package:installdir("include")) 16 | end) 17 | 18 | on_test(function (package) 19 | assert(package:has_cxxincludes("avir.h")) 20 | end) 21 | -------------------------------------------------------------------------------- /packages/a/awk/xmake.lua: -------------------------------------------------------------------------------- 1 | package("awk") 2 | set_kind("binary") 3 | set_homepage("https://github.com/onetrueawk/awk") 4 | set_description("One true awk") 5 | 6 | add_urls("https://github.com/onetrueawk/awk.git") 7 | add_versions("2021.12.26", "b9c01f51224fd302519e8a35bd06effc06f6d3d1") 8 | 9 | add_deps("bison") 10 | 11 | on_install("macosx", "linux", function (package) 12 | local configs = {} 13 | import("package.tools.make").make(package, configs) 14 | os.cp("a.out", path.join(package:installdir("bin"), "awk")) 15 | end) 16 | 17 | on_test(function (package) 18 | os.vrun("awk --version") 19 | end) 20 | -------------------------------------------------------------------------------- /packages/b/backward-cpp/patches/v1.6/fix_32bit_ssize_t_typedef.patch: -------------------------------------------------------------------------------- 1 | diff -Naurw backward.hpp backward.hpp 2 | --- backward.hpp 3 | +++ backward.hpp 4 | @@ -344,7 +344,12 @@ 5 | #include 6 | 7 | #include 8 | + 9 | +#ifdef _WIN64 10 | typedef SSIZE_T ssize_t; 11 | +#else 12 | +typedef int ssize_t; 13 | +#endif 14 | 15 | #ifndef NOMINMAX 16 | #define NOMINMAX 17 | -------------------------------------------------------------------------------- /packages/b/backward-cpp/patches/v1.6/link_to_imagehlp.patch: -------------------------------------------------------------------------------- 1 | diff -Naurw CMakeLists.txt CMakeLists.txt 2 | --- CMakeLists.txt 3 | +++ CMakeLists.txt 4 | @@ -86,6 +86,7 @@ 5 | add_library(backward ${libtype} backward.cpp) 6 | target_compile_definitions(backward PUBLIC ${BACKWARD_DEFINITIONS}) 7 | target_include_directories(backward PUBLIC ${BACKWARD_INCLUDE_DIRS}) 8 | +target_link_libraries(backward PUBLIC -limagehlp -lmsvcr110 -ldbghelp) 9 | 10 | ############################################################################### 11 | # TESTS 12 | -------------------------------------------------------------------------------- /packages/b/bght/xmake.lua: -------------------------------------------------------------------------------- 1 | package("bght") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://owensgroup.github.io/BGHT/") 5 | set_description("BGHT: Better GPU Hash Tables") 6 | set_license("Apache-2.0") 7 | 8 | add_urls("https://github.com/owensgroup/BGHT.git") 9 | add_versions("2024.03.06", "fd58966b20f76c7cd1aa1bdae58e28f6e3a7d242") 10 | 11 | on_install(function (package) 12 | os.cp("include/bght", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(os.isfile(path.join(package:installdir("include"), "bght", "bcht.hpp"))) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/b/bin2c/patches/0.0.1/bin2c-test.patch: -------------------------------------------------------------------------------- 1 | diff --git a/bin2c.c b/bin2c.c 2 | index 1004dd6..ae3c9b3 100644 3 | --- a/bin2c.c 4 | +++ b/bin2c.c 5 | @@ -32,6 +32,11 @@ main(int argc, char *argv[]) 6 | unsigned int uncompressed_size, bz2_size; 7 | #endif 8 | 9 | + if (argc == 2 && strcmp(argv[1], "test") == 0) { 10 | + fprintf(stdout, "bin2c installation succeeded!\n"); 11 | + return 0; 12 | + } 13 | + 14 | if (argc < 4) { 15 | fprintf(stderr, "Usage: %s binary_file output_file array_name\n", 16 | argv[0]); 17 | -------------------------------------------------------------------------------- /packages/b/bitsery/patches/5.2.3/cstdint-include.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/bitsery/details/adapter_common.h b/include/bitsery/details/adapter_common.h 2 | index 7f665d4..166d188 100644 3 | --- a/include/bitsery/details/adapter_common.h 4 | +++ b/include/bitsery/details/adapter_common.h 5 | @@ -28,6 +28,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | 11 | namespace bitsery { 12 | 13 | -------------------------------------------------------------------------------- /packages/b/boost/patches/1.75.0/warning.patch: -------------------------------------------------------------------------------- 1 | diff --git a/boost/concept_check.hpp b/boost/concept_check.hpp 2 | index abbadb7..cab58e5 100644 3 | --- a/boost/concept_check.hpp 4 | +++ b/boost/concept_check.hpp 5 | @@ -352,7 +352,7 @@ 6 | private: 7 | void test(boost::false_type) 8 | { 9 | - f(first,second); 10 | + (void) f(first,second); 11 | Return r = f(first, second); // require operator() 12 | (void)r; 13 | } 14 | -------------------------------------------------------------------------------- /packages/b/boost/patches/1.86.0/find-zstd.patch: -------------------------------------------------------------------------------- 1 | diff --git a/libs/iostreams/CMakeLists.txt b/libs/iostreams/CMakeLists.txt 2 | index 1d8352f..01b612c 100644 3 | --- a/libs/iostreams/CMakeLists.txt 4 | +++ b/libs/iostreams/CMakeLists.txt 5 | @@ -27,7 +27,13 @@ function(boost_iostreams_option name description package version found target) # 6 | 7 | if(${name}) 8 | 9 | - find_package(${package} ${version} REQUIRED) 10 | + if("${package}" STREQUAL "zstd") 11 | + include(FindPkgConfig) 12 | + pkg_search_module("libzstd" REQUIRED IMPORTED_TARGET "libzstd") 13 | + set(target "PkgConfig::libzstd") 14 | + else() 15 | + find_package(${package} ${version} REQUIRED) 16 | + endif() 17 | target_sources(boost_iostreams PRIVATE ${ARGN}) 18 | target_link_libraries(boost_iostreams PRIVATE ${target}) 19 | 20 | -------------------------------------------------------------------------------- /packages/b/branchless-utf8/xmake.lua: -------------------------------------------------------------------------------- 1 | package("branchless-utf8") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/skeeto/branchless-utf8") 4 | set_description("Branchless UTF-8 decoder") 5 | 6 | add_urls("https://github.com/skeeto/branchless-utf8.git") 7 | add_versions("2022.08.30", "e4d82fd5ddae98658f8c129006e3bc5acd0ae9f1") 8 | 9 | on_install(function (package) 10 | os.cp("*.h", package:installdir("include")) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:has_cfuncs("utf8_decode", {includes = "utf8.h"})) 15 | end) 16 | -------------------------------------------------------------------------------- /packages/b/brpc/patches/1.3.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 9edc0a68..8b2ad743 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -210,14 +210,13 @@ set(DYNAMIC_LIB 6 | ${CMAKE_THREAD_LIBS_INIT} 7 | ${THRIFT_LIB} 8 | ${THRIFTNB_LIB} 9 | - ${OPENSSL_CRYPTO_LIBRARY} 10 | dl 11 | z) 12 | 13 | if(WITH_MESALINK) 14 | list(APPEND DYNAMIC_LIB ${MESALINK_LIB}) 15 | else() 16 | - list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY}) 17 | + list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) 18 | endif() 19 | 20 | set(BRPC_PRIVATE_LIBS "-lgflags -lprotobuf -lleveldb -lprotoc -lssl -lcrypto -ldl -lz") 21 | -------------------------------------------------------------------------------- /packages/b/brpc/patches/1.4.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 35365b27..c393ec8f 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -225,14 +225,13 @@ set(DYNAMIC_LIB 6 | ${CMAKE_THREAD_LIBS_INIT} 7 | ${THRIFT_LIB} 8 | ${THRIFTNB_LIB} 9 | - ${OPENSSL_CRYPTO_LIBRARY} 10 | dl 11 | z) 12 | 13 | if(WITH_MESALINK) 14 | list(APPEND DYNAMIC_LIB ${MESALINK_LIB}) 15 | else() 16 | - list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY}) 17 | + list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) 18 | endif() 19 | 20 | if(WITH_RDMA) 21 | -------------------------------------------------------------------------------- /packages/b/brpc/patches/1.5.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 4ac815d6..1ea822c0 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -225,14 +225,13 @@ set(DYNAMIC_LIB 6 | ${CMAKE_THREAD_LIBS_INIT} 7 | ${THRIFT_LIB} 8 | ${THRIFTNB_LIB} 9 | - ${OPENSSL_CRYPTO_LIBRARY} 10 | dl 11 | z) 12 | 13 | if(WITH_MESALINK) 14 | list(APPEND DYNAMIC_LIB ${MESALINK_LIB}) 15 | else() 16 | - list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY}) 17 | + list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) 18 | endif() 19 | 20 | if(WITH_RDMA) 21 | -------------------------------------------------------------------------------- /packages/b/brpc/patches/1.6.1/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index f364cd13..b5017cdd 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -225,14 +225,13 @@ set(DYNAMIC_LIB 6 | ${CMAKE_THREAD_LIBS_INIT} 7 | ${THRIFT_LIB} 8 | ${THRIFTNB_LIB} 9 | - ${OPENSSL_CRYPTO_LIBRARY} 10 | dl 11 | z) 12 | 13 | if(WITH_MESALINK) 14 | list(APPEND DYNAMIC_LIB ${MESALINK_LIB}) 15 | else() 16 | - list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY}) 17 | + list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) 18 | endif() 19 | 20 | if(WITH_RDMA) 21 | -------------------------------------------------------------------------------- /packages/b/brpc/patches/1.7.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 71838043..88448d2e 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -227,14 +227,13 @@ set(DYNAMIC_LIB 6 | ${PROTOC_LIB} 7 | ${CMAKE_THREAD_LIBS_INIT} 8 | ${THRIFT_LIB} 9 | - ${OPENSSL_CRYPTO_LIBRARY} 10 | dl 11 | z) 12 | 13 | if(WITH_MESALINK) 14 | list(APPEND DYNAMIC_LIB ${MESALINK_LIB}) 15 | else() 16 | - list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY}) 17 | + list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) 18 | endif() 19 | 20 | if(WITH_RDMA) 21 | -------------------------------------------------------------------------------- /packages/b/brpc/patches/1.8.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 0a70bb1..7dd74f5 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -283,11 +283,10 @@ if(WITH_BORINGSSL) 6 | list(APPEND DYNAMIC_LIB ${BORINGSSL_SSL_LIBRARY}) 7 | list(APPEND DYNAMIC_LIB ${BORINGSSL_CRYPTO_LIBRARY}) 8 | else() 9 | - list(APPEND DYNAMIC_LIB ${OPENSSL_CRYPTO_LIBRARY}) 10 | if(WITH_MESALINK) 11 | list(APPEND DYNAMIC_LIB ${MESALINK_LIB}) 12 | else() 13 | - list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY}) 14 | + list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) 15 | endif() 16 | endif() 17 | 18 | -------------------------------------------------------------------------------- /packages/c/c-ares/patches/1.18.1/skip-docs.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | --- a/CMakeLists.txt 3 | +++ b/CMakeLists.txt 4 | @@ -618,7 +618,7 @@ ADD_SUBDIRECTORY (include) 5 | ADD_SUBDIRECTORY (src) 6 | 7 | # Docs 8 | -ADD_SUBDIRECTORY (docs) 9 | +#ADD_SUBDIRECTORY (docs) 10 | 11 | # Tests 12 | IF (CARES_BUILD_TESTS OR CARES_BUILD_CONTAINER_TESTS) 13 | -------------------------------------------------------------------------------- /packages/c/cairo/patches/1.18.0/alloca.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/cairo-colr-glyph-render.c b/src/cairo-colr-glyph-render.c 2 | --- a/src/cairo-colr-glyph-render.c 3 | +++ b/src/cairo-colr-glyph-render.c 4 | @@ -43,6 +43,10 @@ 5 | #include 6 | #include 7 | 8 | +#ifdef _MSC_VER 9 | +#include 10 | +#endif 11 | + 12 | #if HAVE_FT_COLR_V1 13 | 14 | #include 15 | -------------------------------------------------------------------------------- /packages/c/cef/patches/97.1.9/msvc_cpp20.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/base/cef_template_util.h b/include/base/cef_template_util.h 2 | index 02e2ead06..a77cf643a 100644 3 | --- a/include/base/cef_template_util.h 4 | +++ b/include/base/cef_template_util.h 5 | @@ -276,8 +276,13 @@ struct negation : bool_constant(B::value)> {}; 6 | // References: 7 | // [1] https://en.cppreference.com/w/cpp/types/result_of 8 | // [2] https://wg21.link/meta.trans.other#lib:invoke_result 9 | +#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L) 10 | +template 11 | +using invoke_result = std::invoke_result; 12 | +#else 13 | template 14 | using invoke_result = std::result_of; 15 | +#endif 16 | 17 | // Implementation of C++17's std::invoke_result_t. 18 | // 19 | -------------------------------------------------------------------------------- /packages/c/cef/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.release", "mode.debug") 2 | target("cef_dll_wrapper") 3 | set_kind("static") 4 | add_files("libcef_dll/**.cc|ctocpp/test/**.cc|cpptoc/test/**.cc") 5 | add_includedirs(".") 6 | add_headerfiles("include/(**.h)") 7 | add_defines("WRAPPING_CEF_SHARED") 8 | set_languages("c++14") 9 | if is_plat("windows") then 10 | -- fix std::max conflict with windows.h 11 | add_defines("NOMINMAX") 12 | end 13 | -------------------------------------------------------------------------------- /packages/c/celero/patches/2.8.2/gcc11.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/celero/TestFixture.h b/include/celero/TestFixture.h 2 | --- a/include/celero/TestFixture.h 3 | +++ b/include/celero/TestFixture.h 4 | @@ -25,6 +25,7 @@ 5 | #include 6 | #include 7 | #include 8 | +#include 9 | #include 10 | #include 11 | 12 | -------------------------------------------------------------------------------- /packages/c/centurion/patches/7.3.0/fix_method_name.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/centurion/video/renderer.hpp b/src/centurion/video/renderer.hpp 2 | index 5b253902..e097be79 100644 3 | --- a/src/centurion/video/renderer.hpp 4 | +++ b/src/centurion/video/renderer.hpp 5 | @@ -182,7 +182,7 @@ class basic_renderer final { 6 | 7 | [[nodiscard]] auto make_texture(file& file) const -> texture 8 | { 9 | - if (auto* ptr = IMG_LoadTextureRW(get(), file.data(), SDL_FALSE)) { 10 | + if (auto* ptr = IMG_LoadTexture_RW(get(), file.data(), SDL_FALSE)) { 11 | return texture {ptr}; 12 | } 13 | else { 14 | -------------------------------------------------------------------------------- /packages/c/cgetopt/xmake.lua: -------------------------------------------------------------------------------- 1 | package("cgetopt") 2 | 3 | set_homepage("https://github.com/xq114/cgetopt/") 4 | set_description("A GNU getopt() implementation written in pure C.") 5 | set_license("zlib") 6 | 7 | add_urls("https://github.com/xq114/cgetopt/archive/v$(version).tar.gz") 8 | add_versions("1.0", "c93fe91041752f4231e07894d24354ee079317e40c30897bd664766ef4872279") 9 | 10 | on_install(function (package) 11 | import("package.tools.xmake").install(package) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("getopt", {includes = "getopt.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/c/choc/xmake.lua: -------------------------------------------------------------------------------- 1 | package("choc") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/Tracktion/choc") 4 | set_description("A collection of header only classes, permissively licensed, to provide basic useful tasks with the bare-minimum of dependencies.") 5 | set_license("ISC") 6 | 7 | add_urls("https://github.com/Tracktion/choc.git") 8 | add_versions("2025.01.27", "6dfac9fec70eae9159e64dc55538d40a2171175e") 9 | 10 | on_install(function (package) 11 | os.cp("*", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | 18 | void test() { 19 | choc::text::isDigit('1'); 20 | } 21 | ]]}, {configs = {languages = "cxx17"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/c/clara/xmake.lua: -------------------------------------------------------------------------------- 1 | package("clara") 2 | 3 | set_homepage("https://github.com/catchorg/Clara") 4 | set_description("A simple to use, composable, command line parser for C++ 11 and beyond.") 5 | set_license("BSL-1.0") 6 | 7 | add_urls("https://github.com/catchorg/Clara/archive/v$(version).tar.gz") 8 | add_versions("1.1.5", "767dc1718e53678cbea00977adcd0a8a195802a505aec3c537664cf25a173142") 9 | 10 | on_install(function (package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | void test() { 17 | bool flag = false; 18 | auto p = clara::Opt(flag, "true|false")["-f"]("A flag"); 19 | } 20 | ]]}, {configs = {languages = "c++11"}, includes = "clara.hpp"})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/c/clib/xmake.lua: -------------------------------------------------------------------------------- 1 | package("clib") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/aheck/clib") 4 | set_description("Header-only library for C99 that implements the most important classes from GLib: GList, GHashTable and GString.") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/aheck/clib.git") 8 | add_versions("2022.12.25", "fea69de62f0c2e01a46d02208073e2e976a5a237") 9 | 10 | on_install(function (package) 11 | os.cp("src/*.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("g_string_insert", {includes = "gstring.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/c/cmdparser/xmake.lua: -------------------------------------------------------------------------------- 1 | package("cmdparser") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/FlorianRappl/CmdParser") 4 | set_description("A simple and lightweight command line parser using C++11.") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/FlorianRappl/CmdParser.git") 8 | 9 | add_versions("2024.02.13", "0c28173f7914c0e47ff12b48f556baa8a5dd0721") 10 | 11 | on_install(function (package) 12 | os.cp("cmdparser.hpp", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:check_cxxsnippets({test = [[ 17 | void test(int argc, char** argv) { 18 | cli::Parser parser(argc, argv); 19 | } 20 | ]]}, {configs = {languages = "c++11"}, includes = {"cmdparser.hpp"}})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/c/cmidi2/xmake.lua: -------------------------------------------------------------------------------- 1 | package("cmidi2") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/atsushieno/cmidi2") 4 | set_description("header-only MIDI 2.0 UMP and MIDI-CI binary processor library") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/atsushieno/cmidi2.git") 8 | add_versions("2023.08.07", "8c7e2c218bb522bba6eabc6f55a6676e4a77138c") 9 | 10 | on_install(function (package) 11 | os.cp("cmidi2.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("cmidi2_ump_get_num_bytes", {includes = "cmidi2.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/c/collada-dom/patches/v2.5.0/uriparser.patch: -------------------------------------------------------------------------------- 1 | diff --git a/dom/src/dae/daeURI.cpp b/dom/src/dae/daeURI.cpp 2 | index 3a8f815..1623753 100644 3 | --- a/dom/src/dae/daeURI.cpp 4 | +++ b/dom/src/dae/daeURI.cpp 5 | @@ -790,7 +790,7 @@ 6 | scheme = fromRange(uri.scheme); 7 | authority = fromRange(uri.hostText); 8 | path = fromList(uri.pathHead, "/"); 9 | - if (uri.absolutePath != URI_TRUE and uri.hostText.first == NULL) 10 | + if (uri.absolutePath != URI_TRUE && uri.hostText.first == NULL) 11 | path = path.erase(0, 1); 12 | query = fromRange(uri.query); 13 | fragment = fromRange(uri.fragment); 14 | -------------------------------------------------------------------------------- /packages/c/cpp-linenoise/xmake.lua: -------------------------------------------------------------------------------- 1 | package("cpp-linenoise") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/yhirose/cpp-linenoise") 4 | set_description("A single file multi-platform (Unix, Windows) C++ header-only linenoise-based readline library.") 5 | set_license("BSD-2-Clause") 6 | 7 | add_urls("https://github.com/yhirose/cpp-linenoise.git") 8 | add_versions("2021.11.05", "4cd89adfbc07cedada1aa32be12991828919d91b") 9 | 10 | on_install(function (package) 11 | os.cp("linenoise.hpp", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | void test() { 17 | linenoise::SetMultiLine(true); 18 | } 19 | ]]}, {includes = {"linenoise.hpp"}})) 20 | end) 21 | -------------------------------------------------------------------------------- /packages/c/cppunit/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | set_languages("c++11") 4 | 5 | target("cppunit") 6 | set_kind("$(kind)") 7 | add_files("src/cppunit/*.cpp|DllMain.cpp") 8 | add_includedirs("include", {public = true}) 9 | add_headerfiles("include/(cppunit/**.h)") 10 | 11 | if is_kind("shared") then 12 | add_defines("CPPUNIT_BUILD_DLL") 13 | add_defines("CPPUNIT_DLL", {interface = true}) 14 | end 15 | 16 | if is_plat("windows", "mingw", "msys", "cygwin") then 17 | add_files("src/cppunit/DllMain.cpp") 18 | end 19 | 20 | target("DllPlugInTester") 21 | set_kind("binary") 22 | add_files( 23 | "src/DllPlugInTester/CommandLineParser.cpp", 24 | "src/DllPlugInTester/DllPlugInTester.cpp" 25 | ) 26 | 27 | add_deps("cppunit") 28 | -------------------------------------------------------------------------------- /packages/c/cpuinfo/clog.lua: -------------------------------------------------------------------------------- 1 | function main(package) 2 | os.cd("deps/clog") 3 | local configs = {"-DCLOG_BUILD_TESTS=OFF"} 4 | table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release")) 5 | table.insert(configs, "-DCLOG_RUNTIME_TYPE=" .. (package:config("shared") and "shared" or "static")) 6 | if package:config("shared") and package:is_plat("windows") then 7 | table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON") 8 | end 9 | import("package.tools.cmake").install(package, configs) 10 | end 11 | -------------------------------------------------------------------------------- /packages/c/crossguid/patches/warnings.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 76b5a62..174d981 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -40,15 +40,6 @@ else() 6 | target_compile_definitions(crossguid PRIVATE GUID_LIBUUID) 7 | endif() 8 | 9 | -if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") 10 | - set(WARNINGS "-Werror" "-Wall") 11 | -elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") 12 | - set(WARNINGS "-Werror" "-Wall") 13 | -elseif(MSVC) 14 | - set(WARNINGS "/WX" "/W4") 15 | -endif() 16 | -target_compile_options(crossguid PRIVATE ${WARNINGS}) 17 | - 18 | set_target_properties(crossguid 19 | PROPERTIES 20 | VERSION ${PROJECT_VERSION} 21 | -------------------------------------------------------------------------------- /packages/c/crstl/xmake.lua: -------------------------------------------------------------------------------- 1 | package("crstl") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/redorav/crstl") 4 | set_description("STL whose aim is to compile fast, run fast, and be clear to read") 5 | 6 | add_urls("https://github.com/redorav/crstl.git") 7 | add_versions("2024.06.04", "0c31b6c76ff74521b2f50b1643f8f3d207184c6c") 8 | 9 | on_install(function (package) 10 | os.cp("include", package:installdir()) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:check_cxxsnippets({test = [[ 15 | void test() { 16 | crstl::fixed_vector v; 17 | } 18 | ]]}, {configs = {languages = "c++11"}, includes = {"crstl/fixed_vector.h"}})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/c/csv2/xmake.lua: -------------------------------------------------------------------------------- 1 | package("csv2") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/p-ranav/csv2") 4 | set_description("A CSV parser library") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/p-ranav/csv2/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/p-ranav/csv2.git") 9 | add_versions("v0.1", "e185d0378a95edb2ad0f2473970d8fe8579c87326640340d42bdf6327fd96791") 10 | 11 | on_install(function (package) 12 | os.cp("include/csv2", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cxxtypes("csv2::Reader, csv2::quote_character<'\"'>, csv2::first_row_is_header>", 17 | {configs = {languages = "c++11"}, includes = "csv2/reader.hpp"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/c/curl/xmake.lua: -------------------------------------------------------------------------------- 1 | package("curl") 2 | set_kind("binary") 3 | set_base("libcurl") 4 | 5 | on_load(function (package) 6 | package:base():plat_set(package:plat()) 7 | package:base():arch_set(package:arch()) 8 | package:base():script("load")(package) 9 | end) 10 | 11 | on_install("@windows", "@macosx", "@linux", function (package) 12 | package:base():script("install")(package) 13 | end) 14 | 15 | on_test(function (package) 16 | os.vrun("curl --version") 17 | end) 18 | -------------------------------------------------------------------------------- /packages/c/cute_headers/xmake.lua: -------------------------------------------------------------------------------- 1 | package("cute_headers") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/RandyGaul/cute_headers") 5 | set_description("Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games") 6 | set_license("Public Domain") 7 | 8 | add_urls("https://github.com/RandyGaul/cute_headers.git") 9 | add_versions("2024.07.22", "cab36d7c6690e334720e705bd6cd3ce29b0b0844") 10 | 11 | on_install(function (package) 12 | os.cp("*.h", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cfuncs("cute_aseprite_load_from_file", {includes = "cute_aseprite.h", defines = "CUTE_ASEPRITE_IMPLEMENTATION"})) 17 | end) -------------------------------------------------------------------------------- /packages/c/cxxopts/patches/missing-gcc15-header.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp 2 | index 991ba3fc..a2e71faf 100644 3 | --- a/include/cxxopts.hpp 4 | +++ b/include/cxxopts.hpp 5 | @@ -27,6 +27,7 @@ THE SOFTWARE. 6 | #ifndef CXXOPTS_HPP_INCLUDED 7 | #define CXXOPTS_HPP_INCLUDED 8 | 9 | +#include 10 | #include 11 | #include 12 | #include 13 | -------------------------------------------------------------------------------- /packages/d/debug-hpp/xmake.lua: -------------------------------------------------------------------------------- 1 | package("debug-hpp") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/archibate/debug-hpp") 4 | set_description("printing everything including STL containers without pain") 5 | set_license("Unlicense") 6 | 7 | add_urls("https://github.com/archibate/debug-hpp.git") 8 | add_versions("2024.09.06", "ec10419581bc49e7368a853d7c0b607ac663f05c") 9 | 10 | on_install(function (package) 11 | os.cp("debug.hpp", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | 18 | void test() { 19 | debug(), "hello world"; 20 | } 21 | ]]}, {configs = {languages = "cxx11"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/d/debugbreak/xmake.lua: -------------------------------------------------------------------------------- 1 | package("debugbreak") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/scottt/debugbreak") 4 | set_description("break into the debugger programmatically") 5 | set_license("BSD-2-Clause") 6 | 7 | add_urls("https://github.com/scottt/debugbreak/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/scottt/debugbreak.git") 9 | add_versions("v1.0", "62089680cc1cd0857519e2865b274ed7534bfa7ddfce19d72ffee41d4921ae2f") 10 | 11 | on_install(function (package) 12 | os.cp("debugbreak.h", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cfuncs("debug_break()", {includes = "debugbreak.h"})) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/d/diligenttools/patches/v2.5.6/imguizmo-modified-include-diligentcore.diff: -------------------------------------------------------------------------------- 1 | diff --git a/ThirdParty/imGuIZMO.quat/imGuIZMO.cpp b/ThirdParty/imGuIZMO.quat/imGuIZMO.cpp 2 | index 723dc77..c357d41 100644 3 | --- a/ThirdParty/imGuIZMO.quat/imGuIZMO.cpp 4 | +++ b/ThirdParty/imGuIZMO.quat/imGuIZMO.cpp 5 | @@ -14,7 +14,7 @@ 6 | // Modified by Egor Yusov, Diligent Graphics LLC 7 | 8 | 9 | -#include "BasicMath.hpp" 10 | +#include "DiligentCore/Common/interface/BasicMath.hpp" 11 | #include "imGuIZMO.h" 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/d/dirent/xmake.lua: -------------------------------------------------------------------------------- 1 | package("dirent") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/tronkko/dirent") 4 | set_description("C/C++ library for retrieving information on files and directories") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/tronkko/dirent/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/tronkko/dirent.git") 9 | 10 | add_versions("1.25", "1c816c911f911161fc8874a308c15f1819c294dd2f94d618063a878723238a06") 11 | add_versions("1.24", "37009127a65bb1ddc47d06c097321f87f45ca2e998b2ec3bf2e0b2b19649d6f9") 12 | 13 | on_install("windows", "mingw", "msys", "cygwin", function (package) 14 | os.cp("include", package:installdir()) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cfuncs("opendir", {includes = "dirent.h"})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/d/dirent_h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("dirent_h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/win32ports/dirent_h") 4 | set_description("header-only Windows implementation of the header") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/win32ports/dirent_h.git") 8 | add_versions("2021.09.25", "0170b775ae7cede136c0c1f71b8e5002cc36288b") 9 | 10 | on_install("windows", function (package) 11 | os.cp("dirent.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("opendir", {includes = "dirent.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/d/discord/patches/2.5.6/add_include_cstdint_to_typeh.patch: -------------------------------------------------------------------------------- 1 | diff --git a/cpp/types.h b/cpp/types.h 2 | index 8c7cc2b..86b63c7 100644 3 | --- a/cpp/types.h 4 | +++ b/cpp/types.h 5 | @@ -1,5 +1,7 @@ 6 | #pragma once 7 | 8 | +#include 9 | + 10 | #include "ffi.h" 11 | #include "event.h" 12 | 13 | -------------------------------------------------------------------------------- /packages/d/discord/patches/3.2.1/add_include_cstdint_to_typeh.patch: -------------------------------------------------------------------------------- 1 | diff --git a/cpp/types.h b/cpp/types.h 2 | index 76c4311..775e740 100644 3 | --- a/cpp/types.h 4 | +++ b/cpp/types.h 5 | @@ -1,5 +1,7 @@ 6 | #pragma once 7 | 8 | +#include 9 | + 10 | #include "ffi.h" 11 | #include "event.h" 12 | #ifdef _WIN32 13 | -------------------------------------------------------------------------------- /packages/d/discord/port/xmake.lua: -------------------------------------------------------------------------------- 1 | set_xmakever("2.5.1") 2 | set_languages("cxx14") 3 | 4 | add_rules("mode.debug", "mode.release") 5 | 6 | target("discordcpp") 7 | set_kind("static") 8 | 9 | add_includedirs("cpp") 10 | add_headerfiles("cpp/(*.h)") 11 | add_files("cpp/*.cpp") 12 | 13 | -------------------------------------------------------------------------------- /packages/d/dispenso/patches/1.2.0/namespace.patch: -------------------------------------------------------------------------------- 1 | diff --git a/dispenso/detail/quanta.cpp b/dispenso/detail/quanta.cpp 2 | index fbab069..a587e86 100644 3 | --- a/dispenso/detail/quanta.cpp 4 | +++ b/dispenso/detail/quanta.cpp 5 | @@ -5,12 +5,15 @@ 6 | * LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | +#ifdef _WIN32 10 | +#include 11 | +#include 12 | +#endif 13 | + 14 | #include 15 | 16 | namespace dispenso { 17 | #ifdef _WIN32 18 | -#include 19 | -#include 20 | 21 | namespace { 22 | struct OsQuantaSetter { 23 | -------------------------------------------------------------------------------- /packages/d/dpp/patches/v10.0.10/permission_include.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/dpp/permissions.h b/include/dpp/permissions.h 2 | index 1ce84a2..0ba9e64 100644 3 | --- a/include/dpp/permissions.h 4 | +++ b/include/dpp/permissions.h 5 | @@ -21,6 +21,10 @@ 6 | #pragma once 7 | #include 8 | 9 | +#include 10 | +#include 11 | +#include 12 | + 13 | namespace dpp { 14 | 15 | /** 16 | -------------------------------------------------------------------------------- /packages/d/dpp/patches/v10.0.12/mutex_include.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/dpp/dns.cpp b/src/dpp/dns.cpp 2 | index dbb2b6f8..7b4db79d 100644 3 | --- a/src/dpp/dns.cpp 4 | +++ b/src/dpp/dns.cpp 5 | @@ -24,6 +24,8 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | +#include 11 | 12 | namespace dpp 13 | { 14 | -------------------------------------------------------------------------------- /packages/d/dpp/patches/v10.0.13/cstring_include.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/dpp/dns.cpp b/src/dpp/dns.cpp 2 | index a0f106db..3bdd8ce5 100644 3 | --- a/src/dpp/dns.cpp 4 | +++ b/src/dpp/dns.cpp 5 | @@ -25,6 +25,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | 11 | namespace dpp 12 | { 13 | @@ -97,4 +98,4 @@ namespace dpp 14 | return cache_entry; 15 | } 16 | } 17 | -}; 18 | \ No newline at end of file 19 | +}; 20 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.4.1/trantor.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 1efecf8..198f429 100755 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -87,9 +85,9 @@ if(WIN32) 6 | PRIVATE $) 7 | endif(WIN32) 8 | 9 | -add_subdirectory(trantor) 10 | +find_package(Trantor CONFIG REQUIRED) 11 | 12 | -target_link_libraries(${PROJECT_NAME} PUBLIC trantor) 13 | +target_link_libraries(${PROJECT_NAME} PUBLIC Trantor::Trantor) 14 | 15 | if(NOT WIN32) 16 | if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") 17 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.6.0/trantor.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 1efecf8..198f429 100755 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -106,9 +106,9 @@ if(WIN32) 6 | PRIVATE $) 7 | endif (WIN32) 8 | 9 | -add_subdirectory(trantor) 10 | +find_package(Trantor CONFIG REQUIRED) 11 | 12 | -target_link_libraries(${PROJECT_NAME} PUBLIC trantor) 13 | +target_link_libraries(${PROJECT_NAME} PUBLIC Trantor::Trantor) 14 | 15 | if (NOT WIN32) 16 | if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") 17 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.7.1/trantor.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | --- a/CMakeLists.txt 3 | +++ b/CMakeLists.txt 4 | @@ -115,9 +115,9 @@ 5 | PRIVATE $) 6 | endif (WIN32) 7 | 8 | -add_subdirectory(trantor) 9 | +find_package(Trantor CONFIG REQUIRED) 10 | 11 | -target_link_libraries(${PROJECT_NAME} PUBLIC trantor) 12 | +target_link_libraries(${PROJECT_NAME} PUBLIC Trantor::Trantor) 13 | 14 | if (NOT WIN32) 15 | if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") 16 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.7.3/resolv.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | --- a/CMakeLists.txt 3 | +++ b/CMakeLists.txt 4 | @@ -79,7 +79,10 @@ 5 | else (BUILD_DROGON_SHARED) 6 | add_library(${PROJECT_NAME} STATIC) 7 | endif (BUILD_DROGON_SHARED) 8 | 9 | +if (APPLE) 10 | + target_link_libraries(${PROJECT_NAME} PUBLIC resolv) 11 | +endif (APPLE) 12 | if (NOT ${CMAKE_PLATFORM_NAME} STREQUAL "Windows" AND CMAKE_CXX_COMPILER_ID MATCHES GNU) 13 | target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Werror) 14 | endif () 15 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.7.3/trantor.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | --- a/CMakeLists.txt 3 | +++ b/CMakeLists.txt 4 | @@ -120,9 +120,9 @@ 5 | PRIVATE $) 6 | endif (WIN32) 7 | 8 | -add_subdirectory(trantor) 9 | +find_package(Trantor CONFIG REQUIRED) 10 | 11 | -target_link_libraries(${PROJECT_NAME} PUBLIC trantor) 12 | +target_link_libraries(${PROJECT_NAME} PUBLIC Trantor::Trantor) 13 | 14 | if(${CMAKE_SYSTEM_NAME} STREQUAL "Haiku") 15 | target_link_libraries(${PROJECT_NAME} PRIVATE network) 16 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.8.0/check.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index d9dbd66..87c92e6 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -379,8 +379,7 @@ if (BUILD_MYSQL) 6 | 7 | if (DROGON_FOUND_MYSQL) 8 | message(STATUS "Ok! We find mariadb!") 9 | - include(CheckLibraryExists) 10 | - check_library_exists(${MYSQL_LIB_NAME} mysql_optionsv "" HAS_MYSQL_OPTIONSV) 11 | + set(HAS_MYSQL_OPTIONSV TRUE) 12 | if (HAS_MYSQL_OPTIONSV) 13 | message(STATUS "Mariadb support mysql_optionsv") 14 | add_definitions(-DHAS_MYSQL_OPTIONSV) 15 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.8.0/config.patch: -------------------------------------------------------------------------------- 1 | diff --git a/cmake/templates/DrogonConfig.cmake.in b/cmake/templates/DrogonConfig.cmake.in 2 | --- a/cmake/templates/DrogonConfig.cmake.in 3 | +++ b/cmake/templates/DrogonConfig.cmake.in 4 | @@ -19,7 +19,7 @@ find_dependency(UUID REQUIRED) 5 | endif(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD" AND NOT WIN32) 6 | find_dependency(ZLIB REQUIRED) 7 | if(@pg_FOUND@) 8 | -find_dependency(pg) 9 | +find_dependency(PostgreSQL) 10 | endif() 11 | if(@SQLite3_FOUND@) 12 | find_dependency(SQLite3) 13 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.8.2/gcc13.patch: -------------------------------------------------------------------------------- 1 | diff --git a/lib/inc/drogon/RateLimiter.h b/lib/inc/drogon/RateLimiter.h 2 | index 3b8706b..dece795 100644 3 | --- a/lib/inc/drogon/RateLimiter.h 4 | +++ b/lib/inc/drogon/RateLimiter.h 5 | @@ -3,6 +3,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | 11 | namespace drogon 12 | { 13 | -------------------------------------------------------------------------------- /packages/d/drogon/patches/1.9.6/windows-build.patch: -------------------------------------------------------------------------------- 1 | diff --git a/lib/src/HttpServer.cc b/lib/src/HttpServer.cc 2 | index dbd99a90..3d8ca852 100644 3 | --- a/lib/src/HttpServer.cc 4 | +++ b/lib/src/HttpServer.cc 5 | @@ -508,7 +508,7 @@ void HttpServer::requestPostRouting(const HttpRequestImplPtr &req, Pack &&pack) 6 | else 7 | { 8 | req->quitStreamMode(); 9 | - LOG_DEBUG << "Stop processing request due to stream error"; 10 | + LOG_ERROR << "Stop processing request due to stream error"; 11 | pack.callback( 12 | app().getCustomErrorHandler()(k400BadRequest, req)); 13 | } 14 | -------------------------------------------------------------------------------- /packages/e/eabase/xmake.lua: -------------------------------------------------------------------------------- 1 | package("eabase") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/electronicarts/EABase") 4 | set_description("EABase is a small set of header files that define platform-independent data types and platform feature macros.") 5 | set_license("BSD-3-Clause") 6 | 7 | add_urls("https://github.com/electronicarts/EABase/archive/$(version).tar.gz") 8 | add_versions("2.09.05", "f85b98c96f1976aa013c8d6016c5e37a409633ac3fce843cd4ec0b89c67e6b7a") 9 | 10 | on_install("windows", "linux", "macosx", function (package) 11 | os.cp("include/Common/EABase", package:installdir("include")) 12 | end) 13 | 14 | 15 | on_test(function (package) 16 | assert(package:has_cxxfuncs("EA_LIMITS_DIGITS_U(int)", 17 | {configs = {languages = "c++17"}, includes = "EABase/eabase.h"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/e/easywsclient/patches/2021.01.12/move_import.patch: -------------------------------------------------------------------------------- 1 | diff --git a/easywsclient.cpp b/easywsclient.cpp 2 | index 0c98098..aca7e77 100644 3 | --- a/easywsclient.cpp 4 | +++ b/easywsclient.cpp 5 | @@ -1,3 +1,4 @@ 6 | +#include "easywsclient.hpp" 7 | 8 | #ifdef _WIN32 9 | #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) 10 | @@ -73,8 +74,6 @@ 11 | #include 12 | #include 13 | 14 | -#include "easywsclient.hpp" 15 | - 16 | using easywsclient::Callback_Imp; 17 | using easywsclient::BytesCallback_Imp; 18 | 19 | -------------------------------------------------------------------------------- /packages/e/ed/xmake.lua: -------------------------------------------------------------------------------- 1 | package("ed") 2 | 3 | set_kind("binary") 4 | set_homepage("https://www.gnu.org/software/ed/ed.html") 5 | set_description("Classic UNIX line editor") 6 | set_license("GPL-3.0-or-later") 7 | 8 | set_urls("https://github.com/xmake-mirror/ed/archive/refs/tags/$(version).tar.gz") 9 | add_versions("1.17", "990129f9ebe21f0a1d880f2b71a33a3bf384eccae37c2dcd80419296f6bd02c6") 10 | 11 | 12 | on_install("linux", "macosx", function (package) 13 | import("package.tools.autoconf").install(package) 14 | end) 15 | 16 | on_test(function (package) 17 | os.vrun("ed --version") 18 | end) 19 | -------------------------------------------------------------------------------- /packages/e/egl-headers/xmake.lua: -------------------------------------------------------------------------------- 1 | package("egl-headers") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/KhronosGroup/EGL-Registry") 4 | set_description("EGL API and Extension Registry") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/KhronosGroup/EGL-Registry.git") 8 | 9 | add_versions("2023.12.16", "a03692eea13514d9aef01822b2bc6575fcabfac2") 10 | 11 | on_install(function (package) 12 | os.vcp("api/EGL", package:installdir("include")) 13 | os.vcp("api/KHR", package:installdir("include")) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:check_csnippets({test = [[ 18 | void test() { 19 | int version = EGL_VERSION; 20 | } 21 | ]]}, {includes = "EGL/egl.h"})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/e/enet/patches/v1.3.17/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 6f7fc27..6062da7 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -84,11 +84,20 @@ set(SOURCE_FILES 6 | source_group(include FILES ${INCLUDE_FILES}) 7 | source_group(source FILES ${SOURCE_FILES}) 8 | 9 | -add_library(enet STATIC 10 | +add_library(enet 11 | ${INCLUDE_FILES} 12 | ${SOURCE_FILES} 13 | ) 14 | 15 | -if (MINGW) 16 | +if (WIN32) 17 | + if (BUILD_SHARED_LIBS) 18 | + add_definitions(-DENET_DLL=1) 19 | + endif() 20 | + 21 | target_link_libraries(enet winmm ws2_32) 22 | endif() 23 | + 24 | +install(FILES ${INCLUDE_FILES} DESTINATION ${INCLUDE_FILES_PREFIX}) 25 | +install(TARGETS enet RUNTIME DESTINATION ${BIN_INSTALL_DIR} 26 | + LIBRARY DESTINATION ${LIB_INSTALL_DIR} 27 | + ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) 28 | -------------------------------------------------------------------------------- /packages/f/fbgemm/patches/0.8.0/msvc-omp.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/Utils.cc b/src/Utils.cc 2 | index bd970432..a3829247 100644 3 | --- a/src/Utils.cc 4 | +++ b/src/Utils.cc 5 | @@ -801,6 +801,7 @@ std::pair radix_sort_parallel( 6 | std::swap(input_keys, output_keys); 7 | std::swap(input_values, output_values); 8 | #pragma omp barrier 9 | +{} 10 | } 11 | } 12 | #ifdef _MSC_VER 13 | -------------------------------------------------------------------------------- /packages/f/flann/patches/1.9.1/cuda10.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/cpp/flann/algorithms/kdtree_cuda_3d_index.cu b/src/cpp/flann/algorithms/kdtree_cuda_3d_index.cu 2 | index e9b05080..8465322e 100644 3 | --- a/src/cpp/flann/algorithms/kdtree_cuda_3d_index.cu 4 | +++ b/src/cpp/flann/algorithms/kdtree_cuda_3d_index.cu 5 | @@ -32,6 +32,7 @@ 6 | #include 7 | // #define THRUST_DEBUG 1 8 | #include 9 | +#include 10 | #include 11 | #include 12 | #include 13 | -------------------------------------------------------------------------------- /packages/f/flecs/patches/v3.2.4/freebsd_http_include.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/addons/http.c b/src/addons/http.c 2 | index fbaab52f4..32985a554 100644 3 | --- a/src/addons/http.c 4 | +++ b/src/addons/http.c 5 | @@ -56,6 +56,9 @@ typedef SOCKET ecs_http_socket_t; 6 | #include 7 | #include 8 | #include 9 | +#ifdef __FreeBSD__ 10 | +#include 11 | +#endif 12 | typedef int ecs_http_socket_t; 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /packages/f/fltk/patches/1.3.9/cmake-fluid.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMake/export.cmake b/CMake/export.cmake 2 | index 6e8bc5d..e1983f3 100644 3 | --- a/CMake/export.cmake 4 | +++ b/CMake/export.cmake 5 | @@ -20,6 +20,7 @@ 6 | ####################################################################### 7 | 8 | # Set the fluid executable path 9 | +if (FLTK_BUILD_FLUID) 10 | if (CMAKE_CROSSCOMPILING) 11 | find_file(FLUID_PATH 12 | NAMES fluid fluid.exe 13 | @@ -37,6 +38,7 @@ else () 14 | set (FLTK_FLUID_EXECUTABLE fluid) 15 | set (FLUID fluid) # export 16 | endif (CMAKE_CROSSCOMPILING) 17 | +endif () 18 | 19 | add_subdirectory(src) 20 | 21 | -------------------------------------------------------------------------------- /packages/f/fluxsort/xmake.lua: -------------------------------------------------------------------------------- 1 | package("fluxsort") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/scandum/fluxsort") 4 | set_description("A branchless stable quicksort / mergesort hybrid.") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/scandum/fluxsort.git") 8 | add_versions("2023.02.05", "de6041a9772eed62db5fd2c664b3294ea3037b4b") 9 | 10 | on_install(function (package) 11 | os.cp("src/fluxsort.c", package:installdir("include")) 12 | os.cp("src/fluxsort.h", package:installdir("include")) 13 | os.cp("src/quadsort.c", package:installdir("include")) 14 | os.cp("src/quadsort.h", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cfuncs("fluxsort", {includes = "fluxsort.h"})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/f/fmt/patches/10.1.0/utf8.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/fmt/format.h b/include/fmt/format.h 2 | index e5bd8b1..1a05db3 100644 3 | --- a/include/fmt/format.h 4 | +++ b/include/fmt/format.h 5 | @@ -1453,7 +1453,7 @@ template class to_utf8 { 6 | ++p; 7 | if (p == s.end() || (c & 0xfc00) != 0xd800 || (*p & 0xfc00) != 0xdc00) { 8 | if (policy == to_utf8_error_policy::abort) return false; 9 | - buf.append(string_view("�")); 10 | + buf.append(string_view("\xEF\xBF\xBD")); 11 | --p; 12 | } else { 13 | c = (c << 10) + static_cast(*p) - 0x35fdc00; 14 | -------------------------------------------------------------------------------- /packages/f/folly/patches/2023.11.20/pkgconfig.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | --- a/CMakeLists.txt 3 | +++ b/CMakeLists.txt 4 | @@ -512,12 +512,12 @@ endif() 5 | 6 | file( 7 | GENERATE 8 | - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libfolly.pc 9 | + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libfolly_$.pc 10 | INPUT ${CMAKE_CURRENT_BINARY_DIR}/libfolly.pc.gen 11 | ${target_arg} 12 | ) 13 | install( 14 | - FILES ${CMAKE_CURRENT_BINARY_DIR}/libfolly.pc 15 | + FILES ${CMAKE_CURRENT_BINARY_DIR}/libfolly_${CMAKE_BUILD_TYPE}.pc 16 | DESTINATION ${LIB_INSTALL_DIR}/pkgconfig 17 | COMPONENT dev 18 | ) 19 | -------------------------------------------------------------------------------- /packages/f/fpm/xmake.lua: -------------------------------------------------------------------------------- 1 | package("fpm") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://mikelankamp.github.io/fpm") 4 | set_description("C++ header-only fixed-point math library") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/MikeLankamp/fpm.git") 8 | 9 | add_versions("2024.09.06", "464cf63a5b1a4537e2b86014b2b72f4cfbdfd779") 10 | 11 | on_install(function (package) 12 | os.cp("include", package:installdir()) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:check_cxxsnippets({test = [[ 17 | void test() { 18 | fpm::fixed_16_16 x; 19 | } 20 | ]]}, {configs = {languages = "c++11"}, includes = "fpm/fixed.hpp"})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/f/freeglut/patches/3.4.0/arm64.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 832d8672..9e6cfcb6 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -447,7 +447,11 @@ IF(WIN32) 6 | # doesn't hurt for older compilers: 7 | # http://public.kitware.com/Bug/view.php?id=11240#c22768 8 | IF (CMAKE_CL_64) 9 | - SET_TARGET_PROPERTIES(freeglut_static PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64") 10 | + IF ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ARM64") 11 | + SET_TARGET_PROPERTIES(freeglut_static PROPERTIES STATIC_LIBRARY_FLAGS "/machine:ARM64") 12 | + ELSE() 13 | + SET_TARGET_PROPERTIES(freeglut_static PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64") 14 | + ENDIF() 15 | ENDIF() 16 | ENDIF() 17 | ELSE() 18 | -------------------------------------------------------------------------------- /packages/f/freeimage/patches/3.18.0/openexr.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Source/OpenEXR/IlmImf/ImfAttribute.cpp b/Source/OpenEXR/IlmImf/ImfAttribute.cpp 2 | index cb4ac36..aaced91 100644 3 | --- a/Source/OpenEXR/IlmImf/ImfAttribute.cpp 4 | +++ b/Source/OpenEXR/IlmImf/ImfAttribute.cpp 5 | @@ -45,6 +45,7 @@ 6 | #include "Iex.h" 7 | #include 8 | #include 9 | +#include 10 | 11 | #include "ImfNamespace.h" 12 | 13 | -------------------------------------------------------------------------------- /packages/f/freetype/patches/2.11.0/writing_system.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/autofit/afwrtsys.h b/src/autofit/afwrtsys.h 2 | index 39aa12112..2627e4332 100644 3 | --- a/src/autofit/afwrtsys.h 4 | +++ b/src/autofit/afwrtsys.h 5 | @@ -15,6 +15,10 @@ 6 | * 7 | */ 8 | 9 | +// Bypass MSVC optimization that fails build 10 | +// see https://gitlab.freedesktop.org/freetype/freetype/-/issues/1075 11 | +#if 0 12 | +#endif 13 | 14 | #ifndef AFWRTSYS_H_ 15 | #define AFWRTSYS_H_ 16 | -------------------------------------------------------------------------------- /packages/f/ftgl/patches/2.4.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 2 | --- a/src/CMakeLists.txt 3 | +++ b/src/CMakeLists.txt 4 | @@ -26,7 +26,6 @@ SET(libftgl_la_SOURCES 5 | FTGlyphContainer.h 6 | FTInternals.h 7 | FTLibrary.cpp 8 | - FTLibrary.h 9 | FTList.h 10 | FTPoint.cpp 11 | FTSize.cpp 12 | -------------------------------------------------------------------------------- /packages/f/funchook/patches/fix-function-visibility.patch: -------------------------------------------------------------------------------- 1 | From 256a68112ef5df7b0862efd145e4f5c101457e7b Mon Sep 17 00:00:00 2001 2 | From: Redbeanw44602 3 | Date: Sun, 30 Mar 2025 22:29:57 +0800 4 | Subject: [PATCH] try fix function visibility. 5 | 6 | --- 7 | include/funchook.h | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/include/funchook.h b/include/funchook.h 11 | index 0df118b..dfda840 100644 12 | --- a/include/funchook.h 13 | +++ b/include/funchook.h 14 | @@ -41,7 +41,7 @@ extern "C" { 15 | #ifdef FUNCHOOK_EXPORTS 16 | #if defined(_WIN32) 17 | #define FUNCHOOK_EXPORT __declspec(dllexport) 18 | -#elif defined(__GNUC__) 19 | +#else 20 | #define FUNCHOOK_EXPORT __attribute__((visibility("default"))) 21 | #endif 22 | #endif /* FUNCHOOK_EXPORTS */ 23 | -- 24 | 2.49.0 25 | 26 | -------------------------------------------------------------------------------- /packages/f/fxdiv/xmake.lua: -------------------------------------------------------------------------------- 1 | package("fxdiv") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/Maratyszcza/FXdiv") 5 | set_description("C99/C++ header-only library for division via fixed-point multiplication by inverse") 6 | set_license("MIT") 7 | 8 | add_urls("https://github.com/Maratyszcza/FXdiv.git") 9 | add_versions("2020.12.09", "63058eff77e11aa15bf531df5dd34395ec3017c8") 10 | 11 | add_deps("cmake") 12 | on_install("windows", "macosx", "linux", function (package) 13 | local configs = {"-DFXDIV_BUILD_TESTS=OFF", "-DFXDIV_BUILD_BENCHMARKS=OFF"} 14 | import("package.tools.cmake").install(package, configs) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cfuncs("fxdiv_init_uint32_t", {includes = "fxdiv.h"})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/g/giflib/patches/5.2.1/unistd.h.patch: -------------------------------------------------------------------------------- 1 | diff --git a/gif_hash.h b/gif_hash.h 2 | index 6a1b585..e6712e8 100644 3 | --- a/gif_hash.h 4 | +++ b/gif_hash.h 5 | @@ -9,7 +9,9 @@ SPDX-License-Identifier: MIT 6 | #ifndef _GIF_HASH_H_ 7 | #define _GIF_HASH_H_ 8 | 9 | +#ifndef _MSC_VER 10 | #include 11 | +#endif 12 | #include 13 | 14 | #define HT_SIZE 8192 /* 12bits = 4096 or twice as big! */ 15 | -------------------------------------------------------------------------------- /packages/g/glu/xmake.lua: -------------------------------------------------------------------------------- 1 | package("glu") 2 | 3 | set_homepage("https://gitlab.freedesktop.org/mesa/glu") 4 | set_description("OpenGL utility library") 5 | 6 | on_fetch(function (package, opt) 7 | if package:is_plat("macosx") then 8 | return {frameworks = "OpenGL", defines = "GL_SILENCE_DEPRECATION"} 9 | elseif package:is_plat("windows", "mingw") then 10 | return {links = "glu32"} 11 | end 12 | if opt.system then 13 | if package:is_plat("linux") and package.find_package then 14 | return package:find_package("glu", opt) or package:find_package("libglu", opt) 15 | end 16 | end 17 | end) 18 | -------------------------------------------------------------------------------- /packages/g/glut/xmake.lua: -------------------------------------------------------------------------------- 1 | package("glut") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://www.opengl.org/resources/libraries/glut/") 4 | set_description("OpenGL utility toolkit") 5 | 6 | if not is_plat("macosx") then 7 | add_deps("freeglut") 8 | end 9 | 10 | on_fetch(function (package, opt) 11 | if opt.system then 12 | if package:is_plat("macosx") then 13 | return {frameworks = {"GLUT", "OpenGL"}, defines = "GL_SILENCE_DEPRECATION"} 14 | end 15 | end 16 | end) 17 | 18 | on_install("windows", "mingw", "macosx", "linux", function (package) 19 | -- do nothing, only to keep dep available 20 | end) 21 | -------------------------------------------------------------------------------- /packages/g/glx/xmake.lua: -------------------------------------------------------------------------------- 1 | package("glx") 2 | 3 | set_homepage("https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glXIntro.xml") 4 | set_description("an extension to the X Window System core protocol providing an interface between OpenGL and the X Window System") 5 | 6 | on_fetch(function (package, opt) 7 | if opt.system then 8 | if package:is_plat("linux") and package.find_package then 9 | return package:find_package("glx", opt) or package:find_package("libglx", opt) 10 | end 11 | end 12 | end) 13 | -------------------------------------------------------------------------------- /packages/g/gmp/patches/6.3.0/gmp-gcc-15.patch: -------------------------------------------------------------------------------- 1 | --- configure 2 | +++ configure 3 | @@ -6568,7 +6568,7 @@ 4 | 5 | #if defined (__GNUC__) && ! defined (__cplusplus) 6 | typedef unsigned long long t1;typedef t1*t2; 7 | -void g(){} 8 | +void g(int a,t1 const* b,t1 c,t2 d,t1 const* e,int f){} 9 | void h(){} 10 | static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) 11 | {t1 c,x,r;int i;if(v0){c=1;for(i=1;i 2 | #include 3 | #include 4 | 5 | using namespace godot; 6 | 7 | class ExampleRef : public RefCounted { 8 | GDCLASS(ExampleRef, RefCounted); 9 | 10 | protected: 11 | static void _bind_methods() { 12 | ClassDB::bind_method(D_METHOD("get_id"), &ExampleRef::get_id); 13 | } 14 | 15 | public: 16 | int get_id() { return 5; } 17 | }; 18 | 19 | extern "C" { 20 | GDExtensionBool GDE_EXPORT 21 | example_library_init(const GDExtensionInterface *p_interface, 22 | GDExtensionClassLibraryPtr p_library, 23 | GDExtensionInitialization *r_initialization) { 24 | ClassDB::register_class(); 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /packages/g/grpc/patches/1.51.3/disable-download-archive.patch: -------------------------------------------------------------------------------- 1 | diff --git a/cmake/download_archive.cmake b/cmake/download_archive.cmake 2 | index 820aafafb7..a59b785c7e 100644 3 | --- a/cmake/download_archive.cmake 4 | +++ b/cmake/download_archive.cmake 5 | @@ -19,6 +19,7 @@ file(MAKE_DIRECTORY ${_download_archive_TEMPORARY_DIR}) 6 | # Note that strip_prefix strips the directory path prefix of the extracted 7 | # archive content, and it may strip multiple directories. 8 | function(download_archive destination url hash strip_prefix) 9 | + return() 10 | # Fetch and validate 11 | set(_TEMPORARY_FILE ${_download_archive_TEMPORARY_DIR}/${strip_prefix}.tar.gz) 12 | message(STATUS "Downloading from ${url}, if failed, please try configuring again") 13 | -------------------------------------------------------------------------------- /packages/g/grpc/patches/1.51.3/static-linking-in-linux.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 8f78306f77..e09f8fcc1e 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -211,6 +211,11 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE) 6 | endif() 7 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") 8 | 9 | +if (gRPC_STATIC_LINKING AND NOT _gRPC_PLATFORM_WINDOWS) 10 | + # Force to static link 11 | + set(CMAKE_EXE_LINKER_FLAGS "-Bstatic") 12 | +endif() 13 | + 14 | if(MSVC) 15 | include(cmake/msvc_static_runtime.cmake) 16 | add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) 17 | -------------------------------------------------------------------------------- /packages/g/grpc/patches/1.68.2/fix-nan-on-win11.patch: -------------------------------------------------------------------------------- 1 | diff --git a/third_party/upb/upb/message/internal/message.c b/third_party/upb/upb/message/internal/message.c 2 | index 265d30d..afc6e51 100644 3 | --- a/third_party/upb/upb/message/internal/message.c 4 | +++ b/third_party/upb/upb/message/internal/message.c 5 | @@ -17,9 +17,9 @@ 6 | // Must be last. 7 | #include "upb/port/def.inc" 8 | 9 | -const float kUpb_FltInfinity = INFINITY; 10 | -const double kUpb_Infinity = INFINITY; 11 | -const double kUpb_NaN = NAN; 12 | +const float kUpb_FltInfinity = (float)(1.0 / 0.0); 13 | +const double kUpb_Infinity = 1.0 / 0.0; 14 | +const double kUpb_NaN = 0.0 / 0.0; 15 | 16 | bool UPB_PRIVATE(_upb_Message_Realloc)(struct upb_Message* msg, size_t need, 17 | upb_Arena* a) { 18 | 19 | -------------------------------------------------------------------------------- /packages/g/gsl/xmake.lua: -------------------------------------------------------------------------------- 1 | package("gsl") 2 | if set_base then 3 | set_base("microsoft-gsl") 4 | end 5 | -------------------------------------------------------------------------------- /packages/g/gspell/xmake.lua: -------------------------------------------------------------------------------- 1 | package("gspell") 2 | 3 | set_homepage("https://gitlab.gnome.org/GNOME/gspell") 4 | set_description("A spell-checking library for GTK applications") 5 | set_license("LGPL-2.0-or-later") 6 | 7 | on_fetch("linux", function (package, opt) 8 | if opt.system and package.find_package then 9 | return package:find_package("pkgconfig::gspell") 10 | end 11 | end) 12 | 13 | -------------------------------------------------------------------------------- /packages/g/gtk+4/xmake.lua: -------------------------------------------------------------------------------- 1 | package("gtk+4") 2 | if set_base then 3 | set_base("gtk4") 4 | end 5 | -------------------------------------------------------------------------------- /packages/h/happly/xmake.lua: -------------------------------------------------------------------------------- 1 | package("happly") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/nmwsharp/happly") 5 | set_description("A C++ header-only parser for the PLY file format.") 6 | set_license("MIT") 7 | 8 | add_urls("https://github.com/nmwsharp/happly.git") 9 | add_versions("2022.01.07", "cfa2611550bc7da65855a78af0574b65deb81766") 10 | 11 | on_install(function (package) 12 | os.cp("happly.h", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:check_cxxsnippets({test = [[ 17 | void test() { 18 | happly::PLYData plyIn("my_file.ply"); 19 | } 20 | ]]}, {configs = {languages = "c++11"}, includes = "happly.h"})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/h/hedley/xmake.lua: -------------------------------------------------------------------------------- 1 | package("hedley") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://nemequ.github.io/hedley/") 4 | set_description("A C/C++ header to help move #ifdefs out of your code") 5 | set_license("CC0-1.0") 6 | 7 | add_urls("https://github.com/nemequ/hedley/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/nemequ/hedley.git") 9 | 10 | add_versions("v15", "e91c71b58f59d08c7b8289be8f687866863d934dfaa528e4be30b178139ae863") 11 | 12 | on_install(function (package) 13 | os.cp("hedley.h", package:installdir("include/hedley")) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:check_cxxsnippets({test = [[ 18 | #include 19 | HEDLEY_NO_RETURN 20 | void test() {} 21 | ]]})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/h/highfive/patches/fix-find-hdf5.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMake/HighFiveTargetDeps.cmake b/CMake/HighFiveTargetDeps.cmake 2 | index 50c3e9d..83ea21b 100644 3 | --- a/CMake/HighFiveTargetDeps.cmake 4 | +++ b/CMake/HighFiveTargetDeps.cmake 5 | @@ -8,9 +8,9 @@ if(NOT TARGET libdeps) 6 | 7 | # HDF5 8 | if(NOT DEFINED HDF5_C_LIBRARIES) 9 | - set(HDF5_NO_FIND_PACKAGE_CONFIG_FILE TRUE) # Consistency 10 | + set(HDF5_NO_FIND_PACKAGE_CONFIG_FILE FALSE) # use config 11 | set(HDF5_PREFER_PARALLEL ${HIGHFIVE_PARALLEL_HDF5}) 12 | - find_package(HDF5 REQUIRED) 13 | + find_package(HDF5 REQUIRED HINTS ${HDF5_ROOT}) 14 | endif() 15 | 16 | if(HIGHFIVE_PARALLEL_HDF5 AND NOT HDF5_IS_PARALLEL) 17 | -------------------------------------------------------------------------------- /packages/i/igraph/arith_osx.h: -------------------------------------------------------------------------------- 1 | /* Suitable for macOS on x86_64 and arm64 */ 2 | /* Not suitable for 32-bit macOS */ 3 | 4 | #define IEEE_8087 5 | #define Arith_Kind_ASL 1 6 | #define Long int 7 | #define Intcast (int)(long) 8 | #define Double_Align 9 | #define X64_bit_pointers 10 | #define NANCHECK 11 | #define QNaN0 0x0 12 | #define QNaN1 0x7ff80000 -------------------------------------------------------------------------------- /packages/i/igraph/arith_win32.h: -------------------------------------------------------------------------------- 1 | /* Windows 32-bit */ 2 | 3 | #define IEEE_8087 4 | #define Arith_Kind_ASL 1 5 | #define Double_Align 6 | #define NANCHECK 7 | #define QNaN0 0x0 8 | #define QNaN1 0x7ff80000 -------------------------------------------------------------------------------- /packages/i/igraph/arith_win64.h: -------------------------------------------------------------------------------- 1 | /* Windows 32-bit */ 2 | 3 | #define IEEE_8087 4 | #define Arith_Kind_ASL 1 5 | #define Double_Align 6 | #define NANCHECK 7 | #define QNaN0 0x0 8 | #define QNaN1 0x7ff80000 -------------------------------------------------------------------------------- /packages/i/inifile-cpp/xmake.lua: -------------------------------------------------------------------------------- 1 | package("inifile-cpp") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/Rookfighter/inifile-cpp") 4 | set_description("A header-only and easy to use Ini file parser for C++.") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/Rookfighter/inifile-cpp.git") 8 | add_versions("2022.06.25", "e7ba25eede111e76e176a341ea12a47e9948627c") 9 | 10 | on_install(function (package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | void test() { 18 | ini::IniFile myIni; 19 | myIni.load("some/ini/path"); 20 | } 21 | ]]}, {configs = {languages = "c++11"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/i/inipp/xmake.lua: -------------------------------------------------------------------------------- 1 | package("inipp") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/mcmtroffaes/inipp") 4 | set_description("Simple C++ ini parser.") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/mcmtroffaes/inipp.git") 8 | add_versions("2022.02.03", "c61e699682d3f1091209c2179f1d03f5fc593327") 9 | 10 | on_install(function (package) 11 | os.cp("inipp/inipp.h", package:installdir("include/inipp")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | void test() { 18 | inipp::Ini ini; 19 | } 20 | ]]}, {configs = {languages = "c++11"}})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/i/itstool/xmake.lua: -------------------------------------------------------------------------------- 1 | package("itstool") 2 | set_kind("binary") 3 | set_homepage("http://itstool.org/") 4 | set_description("ITS Tool allows you to translate your XML documents with PO files") 5 | set_license("GPL-3.0") 6 | 7 | add_urls("https://github.com/itstool/itstool.git") 8 | add_urls("http://files.itstool.org/itstool/itstool-$(version).tar.bz2") 9 | 10 | add_versions("2.0.7", "6b9a7cd29a12bb95598f5750e8763cee78836a1a207f85b74d8b3275b27e87ca") 11 | 12 | add_deps("libxml2", {configs = {python = true}}) 13 | 14 | on_install("linux", "macosx", "bsd", function (package) 15 | import("package.tools.autoconf").install(package) 16 | end) 17 | 18 | on_test(function (package) 19 | os.vrun("itstool --version") 20 | end) 21 | -------------------------------------------------------------------------------- /packages/j/johnnyengine/patches/1.0.1/win32_shared_fix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/xmake.lua b/xmake.lua 2 | index dfad2e0..090d2b1 100644 3 | --- a/xmake.lua 4 | +++ b/xmake.lua 5 | @@ -16,3 +16,6 @@ target("johnny-engine") 6 | add_files("src/*.cpp") 7 | add_headerfiles("include/*.h") 8 | add_includedirs("include") 9 | + if is_plat("windows") and is_kind("shared") then 10 | + add_rules("utils.symbols.export_all", {export_classes = true}) 11 | + end 12 | -------------------------------------------------------------------------------- /packages/j/joltphysics/patches/v3.0.1/fix_fedora.patch: -------------------------------------------------------------------------------- 1 | From 2b418d38a36327e29f156b3c640e83f8c6caf067 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= 3 | Date: Thu, 27 Apr 2023 17:51:09 +0200 4 | Subject: [PATCH] Add missing standard include (#517) 5 | 6 | --- 7 | Jolt/Core/Core.h | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/Jolt/Core/Core.h b/Jolt/Core/Core.h 11 | index 39c49fa71..a5b5aaac3 100644 12 | --- a/Jolt/Core/Core.h 13 | +++ b/Jolt/Core/Core.h 14 | @@ -296,6 +296,7 @@ JPH_SUPPRESS_WARNINGS_STD_BEGIN 15 | #include 16 | #include 17 | #include 18 | +#include 19 | JPH_SUPPRESS_WARNINGS_STD_END 20 | #include 21 | #include 22 | -------------------------------------------------------------------------------- /packages/j/jsmn/xmake.lua: -------------------------------------------------------------------------------- 1 | package("jsmn") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/zserge/jsmn") 5 | set_description("Jsmn is a world fastest JSON parser/tokenizer") 6 | set_license("MIT") 7 | 8 | set_urls("https://github.com/zserge/jsmn/archive/refs/tags/$(version).tar.gz", 9 | "https://github.com/zserge/jsmn.git") 10 | 11 | add_versions("v1.1.0", "5f0913a10657fe7ec8d5794ccf00a01000e3e1f2f1e1f143c34a0f7b47edcb38") 12 | 13 | on_install(function (package) 14 | os.cp("jsmn.h", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cfuncs("jsmn_parse", {includes = "jsmn.h"})) 19 | end) 20 | 21 | -------------------------------------------------------------------------------- /packages/j/json.h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("json.h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/sheredom/json.h") 4 | set_description("single header json parser for C and C++") 5 | 6 | add_urls("https://github.com/sheredom/json.h.git") 7 | add_versions("2022.11.27", "06aa5782d650e7b46c6444c2d0a048c0a1b3a072") 8 | 9 | on_install(function (package) 10 | os.cp("*.h", package:installdir("include")) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:has_cfuncs("json_parse", {includes = "json.h"})) 15 | end) 16 | -------------------------------------------------------------------------------- /packages/k/khrplatform/xmake.lua: -------------------------------------------------------------------------------- 1 | package("khrplatform") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://registry.khronos.org/EGL") 4 | set_description("Khronos Shared Platform Header ()") 5 | 6 | add_urls("https://registry.khronos.org/EGL/api/KHR/khrplatform.h") 7 | 8 | add_versions("latest", "7b1e01aaa7ad8f6fc34b5c7bdf79ebf5189bb09e2c4d2e79fc5d350623d11e83") 9 | 10 | on_install(function (package) 11 | os.mkdir(package:installdir("include") .. "/KHR") 12 | os.cp("../khrplatform.h", package:installdir("include") .. "/KHR") 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cincludes("KHR/khrplatform.h")) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/k/klib/port/rand48.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | double drand48(void) { 4 | return rand() / (RAND_MAX + 1.0); 5 | } 6 | 7 | void srand48(long int seedval) { 8 | srand(seedval); 9 | } 10 | -------------------------------------------------------------------------------- /packages/k/klib/port/unistd.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef _MSC_VER 4 | #include 5 | typedef SSIZE_T ssize_t; 6 | #else 7 | typedef int ssize_t; 8 | #endif 9 | -------------------------------------------------------------------------------- /packages/l/lazy_importer/xmake.lua: -------------------------------------------------------------------------------- 1 | package("lazy_importer") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/JustasMasiulis/lazy_importer") 4 | set_description("library for importing functions from dlls in a hidden, reverse engineer unfriendly way") 5 | set_license("Apache-2.0") 6 | 7 | add_urls("https://github.com/JustasMasiulis/lazy_importer.git") 8 | 9 | add_versions("2023.08.02", "4810f51d63438865e508c2784ea00811d9beb2ea") 10 | 11 | on_install("windows", "mingw", "msys", function (package) 12 | os.cp("include", package:installdir()) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cxxincludes("lazy_importer.hpp")) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/l/leveldb/patches/disable-crt-secure-warnings.patch: -------------------------------------------------------------------------------- 1 | From 76e16e35a47a76e3eab00e55867abd203be8ffbf Mon Sep 17 00:00:00 2001 2 | From: Redbeanw44602 3 | Date: Thu, 2 Jan 2025 22:25:44 +0800 4 | Subject: [PATCH] disable crt secure warnings. 5 | 6 | --- 7 | util/env_windows.cc | 2 ++ 8 | 1 file changed, 2 insertions(+) 9 | 10 | diff --git a/util/env_windows.cc b/util/env_windows.cc 11 | index 1c74b02..76eb58a 100644 12 | --- a/util/env_windows.cc 13 | +++ b/util/env_windows.cc 14 | @@ -4,6 +4,8 @@ 15 | 16 | // Prevent Windows headers from defining min/max macros and instead 17 | // use STL. 18 | +#define _CRT_SECURE_NO_WARNINGS 19 | + 20 | #ifndef NOMINMAX 21 | #define NOMINMAX 22 | #endif // ifndef NOMINMAX 23 | -- 24 | 2.47.1 25 | 26 | -------------------------------------------------------------------------------- /packages/l/leveldb/patches/fix-build-under-clang-msabi.patch: -------------------------------------------------------------------------------- 1 | From 0f049b61b6f611ed6d3b8c44b4f1232290936aa3 Mon Sep 17 00:00:00 2001 2 | From: Redbeanw44602 3 | Date: Thu, 2 Jan 2025 22:03:20 +0800 4 | Subject: [PATCH] fix build under clang/msabi. 5 | 6 | --- 7 | db/c.cc | 4 ++++ 8 | 1 file changed, 4 insertions(+) 9 | 10 | diff --git a/db/c.cc b/db/c.cc 11 | index 8bdde38..8c6418a 100644 12 | --- a/db/c.cc 13 | +++ b/db/c.cc 14 | @@ -19,6 +19,10 @@ 15 | #include "leveldb/status.h" 16 | #include "leveldb/write_batch.h" 17 | 18 | +#if defined(_MSC_VER) 19 | +#define strdup _strdup 20 | +#endif 21 | + 22 | using leveldb::Cache; 23 | using leveldb::Comparator; 24 | using leveldb::CompressionType; 25 | -- 26 | 2.47.1 27 | 28 | -------------------------------------------------------------------------------- /packages/l/lexy/xmake.lua: -------------------------------------------------------------------------------- 1 | package("lexy") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://lexy.foonathan.net") 4 | set_description("C++ parsing DSL") 5 | set_license("BSL-1.0") 6 | 7 | add_urls("https://github.com/foonathan/lexy.git") 8 | add_versions("2022.12.1", "f68737b725116d00e5582602e22604a14fc26547") 9 | add_versions("2022.03.21", "10342c6b1a03cbc6254c64064b419799a7993e0e") 10 | 11 | on_install(function (package) 12 | os.cp("include", package:installdir()) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cxxincludes("lexy/dsl.hpp", {configs = {languages = "c++17"}})) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/l/libass/port/config.h.in: -------------------------------------------------------------------------------- 1 | #define CONFIG_SOURCEVERSION "commit: ${GIT_TAG}${GIT_COMMIT_LONG}" 2 | ${define HAVE_STRDUP} 3 | ${define HAVE_STRNDUP} 4 | -------------------------------------------------------------------------------- /packages/l/libassert/port/v1/xmake.lua: -------------------------------------------------------------------------------- 1 | add_requires("cpptrace <=0.4.0") 2 | 3 | if has_config("decompose") then 4 | add_defines("ASSERT_DECOMPOSE_BINARY_LOGICAL") 5 | end 6 | 7 | if has_config("lowercase") then 8 | add_defines("ASSERT_LOWERCASE") 9 | end 10 | 11 | if has_config("magic_enum") then 12 | add_requires("magic_enum") 13 | add_packages("magic_enum") 14 | add_defines("ASSERT_USE_MAGIC_ENUM") 15 | end 16 | 17 | add_rules("mode.debug", "mode.release") 18 | set_languages("c++17") 19 | 20 | target("assert") 21 | set_kind("$(kind)") 22 | add_files("src/*.cpp") 23 | add_includedirs("include") 24 | add_headerfiles("include/*.hpp") 25 | add_packages("cpptrace") 26 | 27 | if is_plat("windows") and is_kind("shared") then 28 | add_rules("utils.symbols.export_all", {export_classes = true}) 29 | end 30 | -------------------------------------------------------------------------------- /packages/l/libc++/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libc++") 2 | 3 | set_homepage("https://libcxx.llvm.org/") 4 | set_description("libc++ is a new implementation of the C++ standard library, targeting C++11 and above.") 5 | 6 | on_fetch(function (package, opt) 7 | if opt.system then 8 | return package:find_package("system::c++") 9 | end 10 | end) 11 | -------------------------------------------------------------------------------- /packages/l/libcurl/patches/7.84.0/sched.patch: -------------------------------------------------------------------------------- 1 | diff --git a/lib/easy_lock.h b/lib/easy_lock.h 2 | --- a/lib/easy_lock.h 3 | +++ b/lib/easy_lock.h 4 | @@ -36,6 +36,9 @@ 5 | 6 | #elif defined (HAVE_ATOMIC) 7 | #include 8 | +#if defined(HAVE_SCHED_YIELD) 9 | +#include 10 | +#endif 11 | 12 | #define curl_simple_lock atomic_bool 13 | #define CURL_SIMPLE_LOCK_INIT false 14 | -------------------------------------------------------------------------------- /packages/l/libdom/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | add_requires("expat", "libhubbub", "libparserutils", "libwapcaplet") 4 | add_packages("expat", "libhubbub", "libparserutils", "libwapcaplet") 5 | 6 | target("dom") 7 | set_kind("$(kind)") 8 | add_files("src/**.c", "bindings/hubbub/*.c", "bindings/xml/expat_xmlparser.c") 9 | add_includedirs("include", "src") 10 | add_headerfiles("include/(dom/**.h)") 11 | add_headerfiles("(bindings/**.h)", {prefixdir = "dom"}) 12 | 13 | if is_plat("windows") and is_kind("shared") then 14 | add_rules("utils.symbols.export_all") 15 | end 16 | -------------------------------------------------------------------------------- /packages/l/libfido2/patches/1.15.0/add-syslinks.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 2 | index 4c54198..b631d40 100644 3 | --- a/src/CMakeLists.txt 4 | +++ b/src/CMakeLists.txt 5 | @@ -103,7 +103,7 @@ list(APPEND COMPAT_SOURCES 6 | ) 7 | 8 | if(WIN32) 9 | - list(APPEND BASE_LIBRARIES wsock32 ws2_32 bcrypt setupapi hid) 10 | + list(APPEND BASE_LIBRARIES wsock32 ws2_32 bcrypt setupapi hid crypt32) 11 | if(USE_PCSC) 12 | list(APPEND BASE_LIBRARIES winscard) 13 | endif() 14 | -------------------------------------------------------------------------------- /packages/l/libflac/patches/1.5.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 9396130..90443bc 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -197,6 +197,10 @@ include_directories("include") 6 | include_directories("${CMAKE_CURRENT_BINARY_DIR}") 7 | add_definitions(-DHAVE_CONFIG_H) 8 | 9 | +if(WIN32 AND NOT BUILD_SHARED_LIBS) 10 | + add_definitions(-DFLAC__NO_DLL) 11 | +endif() 12 | + 13 | if(MSVC) 14 | add_definitions( 15 | -D_CRT_SECURE_NO_WARNINGS 16 | -------------------------------------------------------------------------------- /packages/l/libfreenect2/patches/0.2.0/frame_listener_impl.cpp.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/frame_listener_impl.cpp b/src/frame_listener_impl.cpp 2 | index f4f8a97..34b1da8 100644 3 | --- a/src/frame_listener_impl.cpp 4 | +++ b/src/frame_listener_impl.cpp 5 | @@ -28,6 +28,7 @@ 6 | 7 | #include 8 | #include 9 | +#include 10 | 11 | namespace libfreenect2 12 | { 13 | -------------------------------------------------------------------------------- /packages/l/libhubbub/patches/0.3.8/treebuilder.patch: -------------------------------------------------------------------------------- 1 | diff --git a/0.3.8/src/treebuilder/in_row.c b/0.3.8/src/treebuilder/in_row.c 2 | index 3bf9161..43b9dac 100644 3 | --- a/0.3.8/src/treebuilder/in_row.c 4 | +++ b/0.3.8/src/treebuilder/in_row.c 5 | @@ -57,10 +57,12 @@ static hubbub_error act_as_if_end_tag_tr(hubbub_treebuilder *treebuilder) 6 | 7 | table_clear_stack(treebuilder); 8 | 9 | - element_stack_pop(treebuilder, &ns, &otype, &node); 10 | + if (current_node(treebuilder) != HTML) { 11 | + element_stack_pop(treebuilder, &ns, &otype, &node); 12 | 13 | - treebuilder->tree_handler->unref_node(treebuilder->tree_handler->ctx, 14 | - node); 15 | + treebuilder->tree_handler->unref_node( 16 | + treebuilder->tree_handler->ctx, node); 17 | + } 18 | 19 | treebuilder->context.mode = IN_TABLE_BODY; 20 | 21 | -------------------------------------------------------------------------------- /packages/l/libintl/patches/0.22.3/fix-mingw-build-wgetcwd.diff: -------------------------------------------------------------------------------- 1 | diff --git a/gettext-runtime/intl/dcigettext.c b/gettext-runtime/intl/dcigettext.c 2 | index 7c122b1..0647f8f 100644 3 | --- a/gettext-runtime/intl/dcigettext.c 4 | +++ b/gettext-runtime/intl/dcigettext.c 5 | @@ -66,6 +66,7 @@ extern int errno; 6 | #endif 7 | 8 | #include 9 | +#include 10 | 11 | #ifdef _LIBC 12 | /* Guess whether integer division by zero raises signal SIGFPE. 13 | -------------------------------------------------------------------------------- /packages/l/libmetalink/port/config.h.in: -------------------------------------------------------------------------------- 1 | ${define HAVE_INTTYPES_H} 2 | ${define HAVE_MALLOC_H} 3 | ${define HAVE_ALLOCA_H} 4 | ${define HAVE_TIME64_H} -------------------------------------------------------------------------------- /packages/l/libmetalink/port/unistd.h: -------------------------------------------------------------------------------- 1 | #ifdef _MSC_VER 2 | #include 3 | typedef SSIZE_T ssize_t; 4 | #endif -------------------------------------------------------------------------------- /packages/l/libnest2d/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | add_requires("nlopt", "polyclipping", "boost") 4 | 5 | target("libnest2d") 6 | set_kind("$(kind)") 7 | set_languages("cxx14") 8 | add_packages("nlopt", "polyclipping", "boost") 9 | 10 | add_files("src/*.cpp") 11 | add_headerfiles("include/(**.hpp)") 12 | 13 | add_defines("LIBNEST2D_GEOMETRIES_clipper", "LIBNEST2D_OPTIMIZER_nlopt") 14 | 15 | add_includedirs("include", {public = true}) 16 | 17 | if is_plat("windows") and is_kind("shared") then 18 | add_rules("utils.symbols.export_all", {export_classes = true}) 19 | end 20 | -------------------------------------------------------------------------------- /packages/l/libogg/patches/1.3.4/macos_fix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/ogg/os_types.h b/include/ogg/os_types.h 2 | index eb8a322..e655a1d 100644 3 | --- a/include/ogg/os_types.h 4 | +++ b/include/ogg/os_types.h 5 | @@ -72,11 +72,11 @@ 6 | 7 | # include 8 | typedef int16_t ogg_int16_t; 9 | - typedef uint16_t ogg_uint16_t; 10 | + typedef u_int16_t ogg_uint16_t; 11 | typedef int32_t ogg_int32_t; 12 | - typedef uint32_t ogg_uint32_t; 13 | + typedef u_int32_t ogg_uint32_t; 14 | typedef int64_t ogg_int64_t; 15 | - typedef uint64_t ogg_uint64_t; 16 | + typedef u_int64_t ogg_uint64_t; 17 | 18 | #elif defined(__HAIKU__) 19 | 20 | -------------------------------------------------------------------------------- /packages/l/libopus/patches/1.3.1/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 17ee3fc2..9027d073 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -16,7 +16,6 @@ string(REGEX 6 | message(STATUS "Opus project version: ${PROJECT_VERSION}") 7 | 8 | project(Opus LANGUAGES C VERSION ${PROJECT_VERSION}) 9 | -include(opus_buildtype.cmake) 10 | 11 | option(OPUS_STACK_PROTECTOR "Use stack protection" ON) 12 | option(OPUS_USE_ALLOCA "Use alloca for stack arrays (on non-C99 compilers)" OFF) 13 | -------------------------------------------------------------------------------- /packages/l/libparserutils/patches/0.2.5/uninitialised-variable.patch: -------------------------------------------------------------------------------- 1 | diff --git a/0.2.5/src/charset/codecs/codec_utf8.c b/0.2.5/src/charset/codecs/codec_utf8.c 2 | index 6117fe6..39bdb28 100644 3 | --- a/0.2.5/src/charset/codecs/codec_utf8.c 4 | +++ b/0.2.5/src/charset/codecs/codec_utf8.c 5 | @@ -409,8 +409,8 @@ parserutils_error charset_utf8_codec_read_char(charset_utf8_codec *c, 6 | const uint8_t **source, size_t *sourcelen, 7 | uint8_t **dest, size_t *destlen) 8 | { 9 | - uint32_t ucs4; 10 | - size_t sucs4; 11 | + uint32_t ucs4 = 0; 12 | + size_t sucs4 = 0; 13 | parserutils_error error; 14 | 15 | /* Convert a single character */ 16 | 17 | -------------------------------------------------------------------------------- /packages/l/libparserutils/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | if is_subhost("windows") then 4 | add_requires("strawberry-perl") 5 | add_packages("strawberry-perl") 6 | end 7 | 8 | add_defines("WITHOUT_ICONV_FILTER") 9 | 10 | target("parserutils") 11 | set_kind("$(kind)") 12 | add_files("src/**.c") 13 | add_includedirs("include", "src") 14 | add_headerfiles("include/(parserutils/**.h)") 15 | 16 | if is_plat("windows") and is_kind("shared") then 17 | add_rules("utils.symbols.export_all") 18 | end 19 | 20 | before_build(function (target) 21 | local perl 22 | if is_subhost("windows") then 23 | perl = path.join(target:pkg("strawberry-perl"):installdir(), "perl/bin/perl.exe") 24 | else 25 | perl = "perl" 26 | end 27 | os.vrunv(perl, {"build/make-aliases.pl"}) 28 | end) 29 | -------------------------------------------------------------------------------- /packages/l/libpcap/patches/1.10.5/cmake-mingw.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 851b3cc9..cc2bc97f 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -3221,13 +3221,16 @@ if(WIN32) 6 | # For compatibility, build the shared library without the "lib" prefix on 7 | # MinGW as well. 8 | # 9 | + if(BUILD_SHARED_LIBS) 10 | set_target_properties(${LIBRARY_NAME} PROPERTIES 11 | PREFIX "" 12 | OUTPUT_NAME "${LIBRARY_NAME}" 13 | ) 14 | + else() 15 | set_target_properties(${LIBRARY_NAME}_static PROPERTIES 16 | OUTPUT_NAME "${LIBRARY_NAME}" 17 | ) 18 | + endif() 19 | endif() 20 | else(WIN32) # UN*X 21 | if(BUILD_SHARED_LIBS) 22 | -------------------------------------------------------------------------------- /packages/l/libplist/port/xmake.lua: -------------------------------------------------------------------------------- 1 | option("version", {default = "2.6.0"}) 2 | 3 | add_rules("mode.debug", "mode.release") 4 | 5 | if not is_plat("windows", "mingw", "msys") then 6 | add_defines("HAVE_STRNDUP") 7 | end 8 | 9 | local version = get_config("version") 10 | if version then 11 | set_version(version, {soname = true}) 12 | add_defines("PACKAGE_VERSION=\"" .. version .. "\"") 13 | end 14 | 15 | target("plist") 16 | set_kind("$(kind)") 17 | add_files("libcnary/*.c|cnary.c", "src/*.c") 18 | add_includedirs("src", "include", "libcnary/include", {public = true}) 19 | add_headerfiles("include/(plist/*.h)") 20 | 21 | if is_kind("static") then 22 | add_defines("LIBPLIST_STATIC", {public = true}) 23 | end 24 | 25 | target("plist++") 26 | set_kind("$(kind)") 27 | add_files("src/*.cpp") 28 | add_deps("plist") 29 | -------------------------------------------------------------------------------- /packages/l/libpopcnt/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libpopcnt") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/kimwalisch/libpopcnt") 4 | set_description("🚀 Fast C/C++ bit population count library") 5 | set_license("BSD-2-Clause") 6 | 7 | add_urls("https://github.com/kimwalisch/libpopcnt/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/kimwalisch/libpopcnt.git") 9 | 10 | add_versions("v3.1", "b4ea061f4c2e5385dff0dd032ad5a16c60dc0dd050391283afb463c0d62c19bd") 11 | 12 | on_install(function (package) 13 | os.cp("libpopcnt.h", package:installdir("include")) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:has_cfuncs("popcnt", {includes = "libpopcnt.h"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/l/libsdl/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libsdl") 2 | set_base("libsdl2") 3 | 4 | add_deps("cmake") 5 | 6 | on_load(function (package) 7 | wprint("libsdl package has been renamed to libsdl2 following the release of SDL3 which is also available under the name libsdl3.${clear}") 8 | package:base():script("load")(package) 9 | end) 10 | -------------------------------------------------------------------------------- /packages/l/libsdl2_gfx/patches/1.0.4/lrint_fix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/SDL2_gfxPrimitives.c b/SDL2_gfxPrimitives.c 2 | index c6f7894..0ab6b22 100644 3 | --- a/SDL2_gfxPrimitives.c 4 | +++ b/SDL2_gfxPrimitives.c 5 | @@ -1757,7 +1757,7 @@ int filledCircleRGBA(SDL_Renderer * renderer, Sint16 x, Sint16 y, Sint16 rad, Ui 6 | /* ----- AA Ellipse */ 7 | 8 | /* Windows targets do not have lrint, so provide a local inline version */ 9 | -#if defined(_MSC_VER) 10 | +#if defined(_MSC_VER) && _MSC_VER < 1928 11 | /* Detect 64bit and use intrinsic version */ 12 | #ifdef _M_X64 13 | #include 14 | -------------------------------------------------------------------------------- /packages/l/libsdl2_ttf/patches/2.20.1/cmakelists.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 0aac377..94a44f4 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -348,8 +348,8 @@ if(SDL2TTF_INSTALL) 6 | endif() 7 | # Only install a SDL2_ttf.pc file in Release mode 8 | install(CODE " 9 | - file(COPY_FILE \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf-$.pc\" 10 | - \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\" ONLY_IF_DIFFERENT) 11 | + file(COPY \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf-$.pc\" 12 | + DESTINATION \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\") 13 | file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}/${PC_DESTDIR}\" 14 | TYPE FILE 15 | FILES \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\")" CONFIG Release) 16 | -------------------------------------------------------------------------------- /packages/l/libsdl_gfx/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libsdl_gfx") 2 | set_base("libsdl2_gfx") 3 | 4 | add_deps("cmake") 5 | 6 | on_load(function (package) 7 | wprint("libsdl_gfx package has been renamed to libsdl2_gfx following the release of SDL3, please update the package name in your xmake.lua.${clear}") 8 | package:base():script("load")(package) 9 | end) 10 | -------------------------------------------------------------------------------- /packages/l/libsdl_image/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libsdl_image") 2 | set_base("libsdl2_image") 3 | 4 | add_deps("cmake") 5 | 6 | on_load(function (package) 7 | wprint("libsdl_image package has been renamed to libsdl2_image following the release of SDL3, please update the package name in your xmake.lua.${clear}") 8 | package:base():script("load")(package) 9 | end) 10 | -------------------------------------------------------------------------------- /packages/l/libsdl_mixer/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libsdl_mixer") 2 | set_base("libsdl2_mixer") 3 | 4 | add_deps("cmake") 5 | 6 | on_load(function (package) 7 | wprint("libsdl_mixer package has been renamed to libsdl2_mixer following the release of SDL3, please update the package name in your xmake.lua.${clear}") 8 | package:base():script("load")(package) 9 | end) 10 | -------------------------------------------------------------------------------- /packages/l/libsdl_net/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libsdl_net") 2 | set_base("libsdl2_net") 3 | 4 | add_deps("cmake") 5 | 6 | on_load(function (package) 7 | wprint("libsdl_net package has been renamed to libsdl2_net following the release of SDL3, please update the package name in your xmake.lua.${clear}") 8 | package:base():script("load")(package) 9 | end) 10 | -------------------------------------------------------------------------------- /packages/l/libsdl_ttf/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libsdl_ttf") 2 | set_base("libsdl2_ttf") 3 | 4 | add_deps("cmake", "freetype") 5 | 6 | on_load(function (package) 7 | wprint("libsdl_ttf package has been renamed to libsdl2_ttf following the release of SDL3, please update the package name in your xmake.lua.${clear}") 8 | package:base():script("load")(package) 9 | end) 10 | -------------------------------------------------------------------------------- /packages/l/libsodium/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | if is_plat("windows") then 4 | add_defines("inline=__inline", "NATIVE_LITTLE_ENDIAN", "_CRT_SECURE_NO_WARNINGS") 5 | end 6 | 7 | target("sodium") 8 | set_kind("$(kind)") 9 | add_files("src/**.c") 10 | add_includedirs("src/libsodium/include/sodium", "builds/msvc") 11 | add_headerfiles("src/libsodium/include/(**.h)") 12 | add_headerfiles("builds/msvc/version.h", {prefixdir = "sodium"}) 13 | 14 | if is_kind("static") then 15 | add_defines("SODIUM_STATIC") 16 | elseif is_kind("shared") and is_host("windows") then 17 | add_files("builds/msvc/resource.rc") 18 | add_defines("SODIUM_DLL_EXPORT") 19 | end 20 | -------------------------------------------------------------------------------- /packages/l/libsquish/port/xmake.lua: -------------------------------------------------------------------------------- 1 | option("sse2", {default = false}) 2 | option("openmp", {default = false}) 3 | 4 | if has_config("openmp") then 5 | add_requires("openmp") 6 | add_packages("openmp") 7 | add_defines("SQUISH_USE_OPENMP") 8 | end 9 | 10 | if has_config("sse2") then 11 | add_vectorexts("sse2") 12 | add_defines("SQUISH_USE_SSE=2") 13 | end 14 | 15 | add_rules("mode.debug", "mode.release") 16 | 17 | set_languages("c++11") 18 | 19 | target("squish") 20 | set_kind("$(kind)") 21 | add_files("*.cpp") 22 | add_headerfiles("squish.h") 23 | 24 | if is_plat("windows") and is_kind("shared") then 25 | add_rules("utils.symbols.export_all", {export_classes = true}) 26 | end 27 | -------------------------------------------------------------------------------- /packages/l/libsv/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libsv") 2 | set_homepage("https://github.com/uael/sv") 3 | set_description("libsv - Public domain cross-platform semantic versioning in c99") 4 | 5 | add_urls("https://github.com/uael/sv.git") 6 | add_versions("2021.11.27", "10ee6a807466a5e61309201caea360a113ad3862") 7 | 8 | on_install(function (package) 9 | local configs = {} 10 | if package:config("shared") then 11 | configs.kind = "shared" 12 | end 13 | import("package.tools.xmake").install(package, configs) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:has_cfuncs("semver(0,0)", {includes = "semver.h"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/l/libsvgtiny/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | add_requires("gperf") 4 | add_packages("gperf") 5 | 6 | add_requires("libdom") 7 | add_packages("libdom") 8 | 9 | target("svgtiny") 10 | set_kind("$(kind)") 11 | add_files("src/*.c") 12 | add_includedirs("include") 13 | add_headerfiles("include/(*.h)") 14 | 15 | if is_plat("windows") and is_kind("shared") then 16 | add_rules("utils.symbols.export_all") 17 | end 18 | 19 | before_build(function (target) 20 | local gperf 21 | if is_subhost("windows") then 22 | gperf = path.join(target:pkg("gperf"):installdir(), "bin/gperf.exe") 23 | else 24 | gperf = "gperf" 25 | end 26 | os.vrunv(gperf, {"src/colors.gperf", "--output-file=src/autogenerated_colors.c"}) 27 | end) 28 | -------------------------------------------------------------------------------- /packages/l/libtask/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libtask") 2 | 3 | set_homepage("https://swtch.com/libtask/") 4 | set_description("a Coroutine Library for C and Unix") 5 | 6 | set_urls("https://swtch.com/libtask.tar.gz") 7 | 8 | add_versions("1.0", "4f484fbb29f8d016fa9f12a7c89abd9b0972cb677319369b076ec1558db7c327") 9 | 10 | on_install("macosx", "linux", function (package) 11 | os.vrun("make") 12 | os.cp("*.h", package:installdir("include")) 13 | os.cp("libtask.a", package:installdir("lib")) 14 | end) 15 | 16 | -------------------------------------------------------------------------------- /packages/l/libtorch/patches/1.11.0/gcc11.patch: -------------------------------------------------------------------------------- 1 | diff --git a/third_party/breakpad/src/client/linux/handler/exception_handler.cc b/third_party/breakpad/src/client/linux/handler/exception_handler.cc 2 | --- a/third_party/breakpad/src/client/linux/handler/exception_handler.cc 3 | +++ b/third_party/breakpad/src/client/linux/handler/exception_handler.cc 4 | @@ -138,7 +138,7 @@ void InstallAlternateStackLocked() { 5 | // SIGSTKSZ may be too small to prevent the signal handlers from overrunning 6 | // the alternative stack. Ensure that the size of the alternative stack is 7 | // large enough. 8 | - static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); 9 | + const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); 10 | 11 | // Only set an alternative stack if there isn't already one, or if the current 12 | // one is too small. 13 | -------------------------------------------------------------------------------- /packages/l/libtorch/patches/1.12.1/vs2022.patch: -------------------------------------------------------------------------------- 1 | diff --git a/aten/src/ATen/cpu/vec/vec_base.h b/aten/src/ATen/cpu/vec/vec_base.h 2 | index 3bf1010efd..640c0ed109 100644 3 | --- a/aten/src/ATen/cpu/vec/vec_base.h 4 | +++ b/aten/src/ATen/cpu/vec/vec_base.h 5 | @@ -131,8 +131,9 @@ public: 6 | // versions GCC/Clang have buggy determinations on whether or not an 7 | // identifier is odr-used or not, and in any case it's hard to tell if 8 | // a variable is odr-used or not. So best to just cut the problem at the root. 9 | + static constexpr size_type size_T = sizeof(T); // Workaround to compile with VS2022. 10 | static constexpr size_type size() { 11 | - return VECTOR_WIDTH / sizeof(T); 12 | + return VECTOR_WIDTH / size_T; 13 | } 14 | Vectorized() : values{static_cast(0)} {} 15 | Vectorized(T val) { 16 | -------------------------------------------------------------------------------- /packages/l/libtorch/patches/2.2.2/pocketfft.patch: -------------------------------------------------------------------------------- 1 | diff --git a/third_party/pocketfft/pocketfft_hdronly.h b/third_party/pocketfft/pocketfft_hdronly.h 2 | --- a/third_party/pocketfft/pocketfft_hdronly.h 3 | +++ b/third_party/pocketfft/pocketfft_hdronly.h 4 | @@ -149,7 +149,7 @@ template<> struct VLEN { static constexpr size_t val=2; }; 5 | #endif 6 | #endif 7 | 8 | -#if __cplusplus >= 201703L 9 | +#if defined(__linux__) && __cplusplus >= 201703L 10 | inline void *aligned_alloc(size_t align, size_t size) 11 | { 12 | // aligned_alloc() requires that the requested size is a multiple of "align" 13 | -------------------------------------------------------------------------------- /packages/l/libudev/xmake.lua: -------------------------------------------------------------------------------- 1 | package("libudev") 2 | 3 | set_homepage("https://www.freedesktop.org/wiki/Software/systemd/") 4 | set_description("API for enumerating and introspecting local devices") 5 | 6 | on_fetch("linux", function (package, opt) 7 | if opt.system then 8 | return package:find_package("pkgconfig::libudev") or package:find_package("system::udev") 9 | end 10 | end) 11 | 12 | add_extsources("apt::libudev-dev", "pacman::systemd") 13 | -------------------------------------------------------------------------------- /packages/l/libunifex/patches/v0.4.0/std-memset.patch: -------------------------------------------------------------------------------- 1 | diff --git a/source/win32/low_latency_iocp_context.cpp b/source/win32/low_latency_iocp_context.cpp 2 | index 3941c87..db8c293 100644 3 | --- a/source/win32/low_latency_iocp_context.cpp 4 | +++ b/source/win32/low_latency_iocp_context.cpp 5 | @@ -19,6 +19,7 @@ 6 | #include 7 | #include 8 | 9 | +#include 10 | #include 11 | #include 12 | #include 13 | -------------------------------------------------------------------------------- /packages/l/libwapcaplet/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | target("wapcaplet") 4 | set_kind("$(kind)") 5 | add_files("src/*.c") 6 | add_includedirs("include") 7 | add_headerfiles("include/(libwapcaplet/*.h)") 8 | 9 | if is_plat("windows") and is_kind("shared") then 10 | add_rules("utils.symbols.export_all") 11 | end 12 | -------------------------------------------------------------------------------- /packages/l/libxml2/patches/patch-libxml.py: -------------------------------------------------------------------------------- 1 | # cpython >= 3.8 2 | # @see https://docs.python.org/3/library/os.html#os.add_dll_directory 3 | import os 4 | 5 | if os.name == "nt": 6 | os.add_dll_directory(os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))), "bin")) 7 | 8 | import libxml2mod -------------------------------------------------------------------------------- /packages/l/libzip/patches/1.11.1/mingw-shared.patch: -------------------------------------------------------------------------------- 1 | From 4e6f0344690b747cbca2e183e3837c5044414513 Mon Sep 17 00:00:00 2001 2 | From: Thomas Klausner 3 | Date: Mon, 23 Sep 2024 09:12:28 +0200 4 | Subject: [PATCH] Do not include zip.h from lib/*.c 5 | 6 | --- 7 | lib/zip_dirent.c | 1 - 8 | 1 file changed, 1 deletion(-) 9 | 10 | diff --git a/lib/zip_dirent.c b/lib/zip_dirent.c 11 | index 85c4c6dc..6e3e1a46 100644 12 | --- a/lib/zip_dirent.c 13 | +++ b/lib/zip_dirent.c 14 | @@ -39,7 +39,6 @@ 15 | #include 16 | #include 17 | 18 | -#include "zip.h" 19 | #include "zipint.h" 20 | 21 | static zip_string_t *_zip_dirent_process_ef_utf_8(const zip_dirent_t *de, zip_uint16_t id, zip_string_t *str, bool check_consistency); 22 | 23 | -------------------------------------------------------------------------------- /packages/l/lief/patches/0.15.1/algorithm.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/ELF/DynamicEntryArray.cpp b/src/ELF/DynamicEntryArray.cpp 2 | index c6fa7130ed..4e1bec392f 100644 3 | --- a/src/ELF/DynamicEntryArray.cpp 4 | +++ b/src/ELF/DynamicEntryArray.cpp 5 | @@ -18,6 +18,8 @@ 6 | 7 | #include "logging.hpp" 8 | 9 | +#include 10 | + 11 | namespace LIEF { 12 | namespace ELF { 13 | 14 | diff --git a/src/ELF/DynamicEntryRunPath.cpp b/src/ELF/DynamicEntryRunPath.cpp 15 | index e0838401bc..c6758fbd21 100644 16 | --- a/src/ELF/DynamicEntryRunPath.cpp 17 | +++ b/src/ELF/DynamicEntryRunPath.cpp 18 | @@ -17,6 +17,7 @@ 19 | #include "LIEF/Visitor.hpp" 20 | #include "logging.hpp" 21 | 22 | +#include 23 | #include 24 | #include 25 | 26 | -------------------------------------------------------------------------------- /packages/l/lief/patches/0.16.5/cstdint.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/LIEF/PE/ResourceNode.hpp b/include/LIEF/PE/ResourceNode.hpp 2 | index fbea63b40..4db05119a 100644 3 | --- a/include/LIEF/PE/ResourceNode.hpp 4 | +++ b/include/LIEF/PE/ResourceNode.hpp 5 | @@ -19,6 +19,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | 11 | #include "LIEF/Object.hpp" 12 | #include "LIEF/visibility.h" 13 | -------------------------------------------------------------------------------- /packages/l/lighthook/xmake.lua: -------------------------------------------------------------------------------- 1 | package("lighthook") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/SamuelTulach/LightHook") 4 | set_description("Single-header, minimalistic, cross-platform hook library written in pure C ") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/SamuelTulach/LightHook/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/SamuelTulach/LightHook.git") 9 | 10 | add_versions("2", "fae5bf8a3ea3d06377c10bcad9b4b8f3c1158598c8d64aa12409abdb701b095b") 11 | 12 | on_install("windows", function (package) 13 | os.cp("Source/LightHook.h", package:installdir("include","lighthook")) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:has_cfuncs("CreateHook", {includes = {"lighthook/LightHook.h"}})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/l/lightmapper/xmake.lua: -------------------------------------------------------------------------------- 1 | package("lightmapper") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/ands/lightmapper") 4 | set_description("A C/C++ single-file library for drop-in lightmap baking. Just use your existing OpenGL renderer to bounce light!") 5 | 6 | add_urls("https://github.com/ands/lightmapper.git") 7 | add_versions("2022.01.03", "4fd3bf4e2c07263f85d5d875ebdef061bc512dd4") 8 | 9 | on_install(function (package) 10 | os.cp("lightmapper.h", package:installdir("include")) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:has_cfuncs("lmCreate", {includes = "lightmapper.h", configs = {languages = "c99"}})) 15 | end) 16 | -------------------------------------------------------------------------------- /packages/l/linmath.h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("linmath.h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/datenwolf/linmath.h") 4 | set_description("a lean linear math library, aimed at graphics programming. Supports vec3, vec4, mat4x4 and quaternions") 5 | set_license("WTFPL") 6 | 7 | add_urls("https://github.com/datenwolf/linmath.h.git") 8 | add_versions("2022.06.19", "3eef82841046507e16a0f6194a61cee2eadd34b3") 9 | 10 | on_install(function (package) 11 | os.cp("linmath.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("mat4x4_mul", {includes = "linmath.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/l/llvm/components/libunwind.lua: -------------------------------------------------------------------------------- 1 | function get_links(package) 2 | local links = { 3 | "unwind" 4 | } 5 | return links 6 | end 7 | 8 | function main(package, component) 9 | component:add("links", get_links(package)) 10 | end 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/l/ls-qpack/patches/2.5.3/fix-cmake-install.patch: -------------------------------------------------------------------------------- 1 | From 79c136923681d7187feade455225543335525c3f Mon Sep 17 00:00:00 2001 2 | From: Biagio Festa <15035284+BiagioFesta@users.noreply.github.com> 3 | Date: Fri, 26 May 2023 14:37:58 +0200 4 | Subject: [PATCH 1/1] CMakeLists.txt: install library target (#50) 5 | 6 | --- 7 | CMakeLists.txt | 6 ++++++ 8 | 1 file changed, 6 insertions(+) 9 | 10 | diff --git a/CMakeLists.txt b/CMakeLists.txt 11 | index 7f7cd40..61e2e6d 100644 12 | --- a/CMakeLists.txt 13 | +++ b/CMakeLists.txt 14 | @@ -101,3 +101,9 @@ endif() 15 | if(LSQPACK_BIN) 16 | add_subdirectory(bin) 17 | endif() 18 | + 19 | +install(TARGETS ls-qpack) 20 | +install(FILES lsqpack.h lsxpack_header.h DESTINATION include) 21 | +if(MSVC) 22 | + install(DIRECTORY wincompat/sys DESTINATION include) 23 | +endif() 24 | -- 25 | 2.42.0.windows.2 26 | 27 | -------------------------------------------------------------------------------- /packages/l/lsp-framework/patches/1.0.1/fix-missing-ios.diff: -------------------------------------------------------------------------------- 1 | diff --git a/lsp/connection.cpp b/lsp/connection.cpp 2 | index e7368c3..0515fe1 100644 3 | --- a/lsp/connection.cpp 4 | +++ b/lsp/connection.cpp 5 | @@ -5,6 +5,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | 11 | #ifndef LSP_MESSAGE_DEBUG_LOG 12 | #ifdef NDEBUG 13 | -------------------------------------------------------------------------------- /packages/l/lua-format/xmake.lua: -------------------------------------------------------------------------------- 1 | package("lua-format") 2 | set_kind("binary") 3 | set_homepage("https://github.com/Koihik/LuaFormatter") 4 | set_description("Code formatter for Lua") 5 | add_urls("https://github.com/Koihik/LuaFormatter.git") 6 | add_versions("1.3.5", "638ec8a7c114a0082ce60481afe8f46072e427e5") 7 | add_deps("cmake") 8 | 9 | on_install("@linux", "@macosx", "@windows", "@bsd", "@msys", function (package) 10 | local configs = {"-DBUILD_TESTS=OFF", "-DCOVERAGE=OFF"} 11 | import("package.tools.cmake").install(package, configs) 12 | end) 13 | 14 | on_test(function (package) 15 | os.run("lua-format --help") 16 | end) 17 | -------------------------------------------------------------------------------- /packages/l/lzham_codec/patches/2023.01.03/fix_mingw.patch: -------------------------------------------------------------------------------- 1 | diff --git a/lzhamdecomp/lzham_vector.h b/lzhamdecomp/lzham_vector.h 2 | index badc540..1c5331e 100644 3 | --- a/lzhamdecomp/lzham_vector.h 4 | +++ b/lzhamdecomp/lzham_vector.h 5 | @@ -1,6 +1,7 @@ 6 | // File: lzham_vector.h 7 | // LZHAM is in the Public Domain. Please see the Public Domain declaration at the end of include/lzham.h 8 | #pragma once 9 | +#include 10 | 11 | namespace lzham 12 | { 13 | -------------------------------------------------------------------------------- /packages/m/makeself/xmake.lua: -------------------------------------------------------------------------------- 1 | package("makeself") 2 | set_kind("binary") 3 | set_homepage("https://makeself.io") 4 | set_description("A self-extracting archiving tool for Unix systems, in 100% shell script.") 5 | 6 | add_urls("https://github.com/megastep/makeself/archive/refs/tags/$(version).tar.gz", {version = function (version) 7 | return "release-" .. version 8 | end}) 9 | 10 | add_versions("2.5.0", "705d0376db9109a8ef1d4f3876c9997ee6bed454a23619e1dbc03d25033e46ea") 11 | 12 | on_install("macosx", "linux", "msys", "bsd", function (package) 13 | os.cp("*.sh", package:installdir("bin")) 14 | end) 15 | 16 | on_test(function (package) 17 | os.runv("makeself.sh", {"--version"}, {shell = true}) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/m/managedc/xmake.lua: -------------------------------------------------------------------------------- 1 | package("managedc") 2 | set_kind("library", { headeronly = true }) 3 | set_description("Reference counter garabage collection for C") 4 | 5 | add_urls("https://github.com/Frityet/ManagedC.git") 6 | add_versions("1.5.0", "f4cce9c1aee952d603c18b73dc6219ea15b91717") 7 | 8 | on_install("linux", "macosx", function (package) 9 | os.cp("src/*.h", package:installdir("include")) 10 | end) 11 | 12 | on_test(function (package) 13 | assert(package:check_csnippets({test = [[ 14 | #include 15 | void test() { 16 | void* data = mc_alloc_managed(0, 0, 0); 17 | printf("data: %p\n", data); 18 | } 19 | ]]}, {configs = {languages = "c11"}, includes = "managed.h"})) 20 | end) 21 | 22 | 23 | -------------------------------------------------------------------------------- /packages/m/mapbox_earcut/patches/2.2.3/mingw.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/mapbox/earcut.hpp b/include/mapbox/earcut.hpp 2 | index 01bd7e9..a772dc1 100644 3 | --- a/include/mapbox/earcut.hpp 4 | +++ b/include/mapbox/earcut.hpp 5 | @@ -3,6 +3,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | #include 11 | #include 12 | 13 | -------------------------------------------------------------------------------- /packages/m/mapbox_eternal/patches/add_cstdint.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/mapbox/eternal.hpp b/include/mapbox/eternal.hpp 2 | index 10c2f82..ab92ccb 100644 3 | --- a/include/mapbox/eternal.hpp 4 | +++ b/include/mapbox/eternal.hpp 5 | @@ -2,6 +2,7 @@ 6 | 7 | #include 8 | #include 9 | +#include 10 | 11 | // GCC 4.9 compatibility 12 | #if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 5 13 | -------------------------------------------------------------------------------- /packages/m/mapbox_geometry/patches/1.1.0/pragma.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/mapbox/geometry/point.hpp b/include/mapbox/geometry/point.hpp 2 | index da8d677..4d49ba5 100644 3 | --- a/include/mapbox/geometry/point.hpp 4 | +++ b/include/mapbox/geometry/point.hpp 5 | @@ -21,8 +21,10 @@ struct point 6 | T y; 7 | }; 8 | 9 | +#if defined(__GNUC__) 10 | #pragma GCC diagnostic push 11 | #pragma GCC diagnostic ignored "-Wfloat-equal" 12 | +#endif 13 | 14 | template 15 | constexpr bool operator==(point const& lhs, point const& rhs) 16 | @@ -30,7 +32,9 @@ constexpr bool operator==(point const& lhs, point const& rhs) 17 | return lhs.x == rhs.x && lhs.y == rhs.y; 18 | } 19 | 20 | +#if defined(__GNUC__) 21 | #pragma GCC diagnostic pop 22 | +#endif 23 | 24 | template 25 | constexpr bool operator!=(point const& lhs, point const& rhs) 26 | -------------------------------------------------------------------------------- /packages/m/mapbox_geometry/patches/2.0.3/pragma.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/mapbox/geometry/point.hpp b/include/mapbox/geometry/point.hpp 2 | index da8d677..4d49ba5 100644 3 | --- a/include/mapbox/geometry/point.hpp 4 | +++ b/include/mapbox/geometry/point.hpp 5 | @@ -21,8 +21,10 @@ struct point 6 | T y; 7 | }; 8 | 9 | +#if defined(__GNUC__) 10 | #pragma GCC diagnostic push 11 | #pragma GCC diagnostic ignored "-Wfloat-equal" 12 | +#endif 13 | 14 | template 15 | constexpr bool operator==(point const& lhs, point const& rhs) 16 | @@ -30,7 +32,9 @@ constexpr bool operator==(point const& lhs, point const& rhs) 17 | return lhs.x == rhs.x && lhs.y == rhs.y; 18 | } 19 | 20 | +#if defined(__GNUC__) 21 | #pragma GCC diagnostic pop 22 | +#endif 23 | 24 | template 25 | constexpr bool operator!=(point const& lhs, point const& rhs) 26 | -------------------------------------------------------------------------------- /packages/m/mathfu/xmake.lua: -------------------------------------------------------------------------------- 1 | package("mathfu") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("http://google.github.io/mathfu") 4 | set_description("C++ math library developed primarily for games focused on simplicity and efficiency.") 5 | set_license("Apache-2.0") 6 | 7 | add_urls("https://github.com/google/mathfu.git") 8 | add_versions("2022.5.10", "da23a1227bb65fbb7f2f5b6c504fbbdd1dfdab4b") 9 | 10 | add_deps("vectorial") 11 | 12 | on_install(function (package) 13 | os.cp("include", package:installdir()) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:check_cxxsnippets({test = [[ 18 | #include "mathfu/vector.h" 19 | void test() { 20 | mathfu::Vector vector; 21 | } 22 | ]]}, {configs = {languages = "c++11"}})) 23 | end) 24 | -------------------------------------------------------------------------------- /packages/m/mcut/patches/1.1.0/install.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index a5b1074..5767427 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -297,25 +297,10 @@ endif() 6 | 7 | # TODO: package documentation files 8 | 9 | -if(MCUT_BUILD_AS_SHARED_LIB) 10 | - # 11 | - # dynamic libs 12 | - # 13 | - 14 | - install(TARGETS ${mpn_shared_lib_name} 15 | - LIBRARY 16 | - DESTINATION lib/mpn/shared 17 | - COMPONENT dynamic_libraries) 18 | -else() 19 | - # 20 | - # static libs 21 | - # 22 | - 23 | - install(TARGETS ${mpn_static_lib_name} 24 | - ARCHIVE 25 | - DESTINATION lib/mpn/static 26 | - COMPONENT static_libraries) 27 | -endif() 28 | +install(TARGETS ${target_name} 29 | + RUNTIME DESTINATION bin 30 | + LIBRARY DESTINATION lib 31 | + ARCHIVE DESTINATION lib) 32 | 33 | # 34 | # headers 35 | -------------------------------------------------------------------------------- /packages/m/mcut/patches/1.2.0/install.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 464854d..6801276 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -297,25 +297,10 @@ endif() 6 | 7 | # TODO: package documentation files 8 | 9 | -if(MCUT_BUILD_AS_SHARED_LIB) 10 | - # 11 | - # dynamic libs 12 | - # 13 | - 14 | - install(TARGETS ${mpn_shared_lib_name} 15 | - LIBRARY 16 | - DESTINATION lib/shared 17 | - COMPONENT dynamic_libraries) 18 | -else() 19 | - # 20 | - # static libs 21 | - # 22 | - 23 | - install(TARGETS ${mpn_static_lib_name} 24 | - ARCHIVE 25 | - DESTINATION lib/static 26 | - COMPONENT static_libraries) 27 | -endif() 28 | +install(TARGETS ${target_name} 29 | + RUNTIME DESTINATION bin 30 | + LIBRARY DESTINATION lib 31 | + ARCHIVE DESTINATION lib) 32 | 33 | # 34 | # headers 35 | -------------------------------------------------------------------------------- /packages/m/meet/xmake.lua: -------------------------------------------------------------------------------- 1 | package("meet") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/cngege/Meet") 4 | set_description("A header_only network lib.") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/cngege/Meet/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/cngege/Meet.git") 9 | 10 | add_versions("v0.1.2", "29f214601a25cf25fb3130e24a7b3f616aa58e662509a8b48d6a8383c12e6ca1") 11 | 12 | on_install("windows", function (package) 13 | os.cp("include", package:installdir()) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:check_cxxsnippets({test = [[ 18 | void test() { 19 | meet::TCPClient c; 20 | } 21 | ]]}, {configs = {languages = "c++20"}, includes = {"meet/Meet.hpp"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/m/mem/xmake.lua: -------------------------------------------------------------------------------- 1 | package("mem") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/0x1F9F1/mem") 5 | set_description("A collection of C++11 headers useful for reverse engineering") 6 | set_license("MIT") 7 | 8 | add_urls("https://github.com/0x1F9F1/mem/archive/refs/tags/$(version).tar.gz", 9 | "https://github.com/0x1F9F1/mem.git") 10 | 11 | add_versions("1.0.0", "db1e58b040ea39ec5794fc1dcc6749c81b062579d9f6b086d035266456bccaf3") 12 | 13 | on_install("windows", "linux", function (package) 14 | os.cp("include/mem", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cxxfuncs("mem::module::main()", {includes = "mem/module.h", configs = {languages = "c++11"}})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/m/memplumber/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | option("collect_static_var_data", {description = "Collect data also on static variable memory allocation", default = false, type = "boolean"}) 4 | 5 | if is_plat("linux", "macosx") then 6 | add_requires("libbacktrace") 7 | end 8 | 9 | target("memplumber") 10 | set_kind("$(kind)") 11 | set_languages("cxx11") 12 | 13 | add_files("memplumber.cpp") 14 | add_headerfiles("(memplumber.h)", "memplumber-internals.h") 15 | 16 | if is_plat("linux", "macosx") then 17 | add_packages("libbacktrace") 18 | elseif is_plat("windows", "mingw") then 19 | add_defines("_WIN32") 20 | end 21 | 22 | if has_config("collect_static_var_data") then 23 | add_defines("COLLECT_STATIC_VAR_DATA") 24 | end -------------------------------------------------------------------------------- /packages/m/meowhash/xmake.lua: -------------------------------------------------------------------------------- 1 | package("meowhash") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://mollyrocket.com/meowhash") 5 | set_description("Official version of the Meow hash, an extremely fast level 1 hash") 6 | set_license("zlib") 7 | 8 | add_urls("https://github.com/cmuratori/meow_hash.git") 9 | 10 | add_versions("1.0.0", "b080caa7e51576fe3151c8976110df7966fa6a38") 11 | 12 | if is_plat("linux", "macosx", "bsd") then 13 | add_cxflags("-maes", "-mpclmul", "-mssse3") 14 | end 15 | 16 | on_install("macosx", "windows", "linux", "bsd", function (package) 17 | os.cp("meow_hash_x64_aesni.h", package:installdir("include")) 18 | end) 19 | 20 | on_test(function (package) 21 | assert(package:has_cfuncs("MeowHash", {includes = "meow_hash_x64_aesni.h"})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/m/mfast/patches/v1.2.2/boost_multiprecision.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/mfast/decimal_ref.h b/src/mfast/decimal_ref.h 2 | --- a/src/mfast/decimal_ref.h 3 | +++ b/src/mfast/decimal_ref.h 4 | @@ -41,7 +41,7 @@ 5 | 6 | inline decimal make_decimal(int64_t mantissa, int16_t exponent) { 7 | decimal r(mantissa); 8 | - r *= decimal_backend(1.0, exponent); 9 | + r *= decimal(decimal_backend(1.0, exponent)); 10 | return r; 11 | } 12 | 13 | @@ -119,7 +119,7 @@ 14 | 15 | decimal value() const { 16 | decimal r(mantissa()); 17 | - r *= decimal_backend(1.0, exponent()); 18 | + r *= decimal(decimal_backend(1.0, exponent())); 19 | return r; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /packages/m/mikktspace/xmake.lua: -------------------------------------------------------------------------------- 1 | package("mikktspace") 2 | 3 | set_homepage("http://www.mikktspace.com/") 4 | set_description("A common standard for tangent space used in baking tools to produce normal maps.") 5 | 6 | add_urls("https://github.com/mmikk/MikkTSpace.git") 7 | add_versions("2020.03.26", "3e895b49d05ea07e4c2133156cfa94369e19e409") 8 | 9 | on_install(function (package) 10 | io.writefile("xmake.lua", [[ 11 | add_rules("mode.debug", "mode.release") 12 | target("mikktspace") 13 | set_kind("$(kind)") 14 | add_files("mikktspace.c") 15 | add_headerfiles("mikktspace.h") 16 | ]]) 17 | import("package.tools.xmake").install(package) 18 | end) 19 | 20 | on_test(function (package) 21 | assert(package:has_cfuncs("genTangSpace", {includes = "mikktspace.h"})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/m/minimp3/xmake.lua: -------------------------------------------------------------------------------- 1 | package("minimp3") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/lieff/minimp3") 5 | set_description("Minimalistic MP3 decoder single header library") 6 | set_license("CC0") 7 | 8 | set_urls("https://github.com/lieff/minimp3.git") 9 | add_versions("2021.05.29", "b18d274b998cd4406070ddc1f370f53392241af0") 10 | 11 | on_install(function (package) 12 | os.cp("*.h", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:check_csnippets({test = [[ 17 | void test() { 18 | mp3dec_t dec; 19 | mp3dec_init(&dec); 20 | } 21 | ]]}, {includes = {"minimp3.h"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/m/minio-cpp/patches/0.3.0/macos-unistd.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/utils.cc b/src/utils.cc 2 | index 05cb8e2..6f16a66 100644 3 | --- a/src/utils.cc 4 | +++ b/src/utils.cc 5 | @@ -24,6 +24,10 @@ 6 | #include 7 | #endif 8 | 9 | +#ifndef _MSC_VER 10 | +#include 11 | +#endif 12 | + 13 | #include 14 | #include 15 | #include 16 | -------------------------------------------------------------------------------- /packages/m/mono/xmake.lua: -------------------------------------------------------------------------------- 1 | package("mono") 2 | 3 | set_homepage("https://www.mono-project.com/") 4 | set_description("Cross platform, open source .NET development framework") 5 | 6 | set_urls("https://download.mono-project.com/sources/mono/mono-$(version).tar.xz", 7 | {version = function (version) return version:gsub("%+", ".") end}) 8 | 9 | add_versions("6.8.0+123", "e2e42d36e19f083fc0d82f6c02f7db80611d69767112af353df2f279744a2ac5") 10 | 11 | add_includedirs("include/mono-2.0") 12 | 13 | on_install("macosx", "linux", function (package) 14 | local configs = {"--disable-silent-rules", "--enable-nls=no"} 15 | import("package.tools.autoconf").install(package, configs) 16 | end) 17 | 18 | on_test(function (package) 19 | assert(package:has_cfuncs("mono_object_get_class", {includes = "mono/metadata/object.h"})) 20 | end) 21 | 22 | -------------------------------------------------------------------------------- /packages/m/mosquitto/patches/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index b8913c2d..97bb7d2d 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -14,6 +14,11 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/") 6 | 7 | add_definitions (-DCMAKE -DVERSION=\"${VERSION}\") 8 | 9 | +if(CMAKE_SYSTEM_NAME STREQUAL "Windows") 10 | + add_definitions("-DWIN32") 11 | + add_definitions("-D_WIN32") 12 | +endif() 13 | + 14 | if (WIN32) 15 | add_definitions("-D_CRT_SECURE_NO_WARNINGS") 16 | add_definitions("-D_CRT_NONSTDC_NO_DEPRECATE") 17 | -- -------------------------------------------------------------------------------- /packages/m/msvc-wine/xmake.lua: -------------------------------------------------------------------------------- 1 | package("msvc-wine") 2 | set_kind("toolchain") 3 | set_homepage("https://github.com/mstorsjo/msvc-wine") 4 | set_description("Scripts for setting up and running MSVC in Wine on Linux") 5 | 6 | add_urls("https://github.com/mstorsjo/msvc-wine.git") 7 | 8 | add_versions("2025.03.02", "44dc13b5e62ecc2373fbe7e4727a525001f403f4") 9 | 10 | on_install("@linux", "@macosx", function (package) 11 | os.cp("*", package:installdir("bin")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(os.isfile(path.join(package:installdir("bin"), "vsdownload.py"))) 16 | assert(os.isfile(path.join(package:installdir("bin"), "install.sh"))) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/m/munkres-algorithm/patches/2021.04.05/cstdint.patch: -------------------------------------------------------------------------------- 1 | diff --git a/munkres.hpp b/munkres.hpp 2 | index 694aff1..ac2ecca 100644 3 | --- a/munkres.hpp 4 | +++ b/munkres.hpp 5 | @@ -12,6 +12,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | 11 | namespace detail 12 | { 13 | -------------------------------------------------------------------------------- /packages/m/mustache/xmake.lua: -------------------------------------------------------------------------------- 1 | package("mustache") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/kainjow/Mustache") 4 | set_description("Mustache text templates for modern C++") 5 | set_license("BSL-1.0") 6 | 7 | add_urls("https://github.com/kainjow/Mustache.git") 8 | add_versions("2021.12.10", "04277d5552c6e46bee41a946b7d175a660ea1b3d") 9 | 10 | on_install(function (package) 11 | os.cp("mustache.hpp", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | using namespace kainjow::mustache; 18 | void test() { 19 | mustache tmpl{"Hello {{what}}!"}; 20 | } 21 | ]]}, {configs = {languages = "c++11"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/m/mvfst/patches/shared.patch: -------------------------------------------------------------------------------- 1 | diff --git a/quic/state/CMakeLists.txt b/quic/state/CMakeLists.txt 2 | index e3b0d5d9d..d86f50ee7 100644 3 | --- a/quic/state/CMakeLists.txt 4 | +++ b/quic/state/CMakeLists.txt 5 | @@ -151,6 +151,7 @@ add_dependencies( 6 | mvfst_codec 7 | mvfst_codec_types 8 | mvfst_state_machine 9 | + mvfst_flowcontrol 10 | ) 11 | 12 | target_link_libraries( 13 | @@ -160,6 +161,7 @@ target_link_libraries( 14 | mvfst_codec 15 | mvfst_codec_types 16 | mvfst_state_machine 17 | + mvfst_flowcontrol 18 | ) 19 | 20 | 21 | -------------------------------------------------------------------------------- /packages/n/named_type/xmake.lua: -------------------------------------------------------------------------------- 1 | package("named_type") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/joboccara/NamedType") 5 | set_description("Implementation of strong types in C++.") 6 | set_license("MIT") 7 | 8 | add_urls("https://github.com/joboccara/NamedType.git") 9 | 10 | add_versions("v1.1.0.20210209", "c119054eac4b8f3599233ff480ad1ce4309a52ad") 11 | 12 | on_install(function (package) 13 | os.cp("include/NamedType", package:installdir("include")) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:has_cxxtypes("fluent::NamedType", {configs = {languages = "c++14"}, includes = "NamedType/named_type.hpp"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/n/nana/patches/1.7.4/cmake_policy_fix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index ce1fdd2..7e6ce3e 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -21,7 +21,8 @@ 6 | # https://cmake.org/cmake/help/v3.12/module/CMakeDependentOption.html?highlight=cmakedependentoption 7 | # cmake 3.12 have more better modern c++ support 8 | 9 | -cmake_minimum_required(VERSION 3.12 FATAL_ERROR) 10 | +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) 11 | +cmake_policy(SET CMP0091 NEW) 12 | project(nana VERSION 1.7.3 13 | DESCRIPTION "C++ GUI library" 14 | HOMEPAGE_URL http://nanapro.org 15 | -------------------------------------------------------------------------------- /packages/n/nanopb/patches/0.4.9/nanopb_generator.patch: -------------------------------------------------------------------------------- 1 | diff --git a/extra/script_wrappers/nanopb_generator.py.in b/extra/script_wrappers/nanopb_generator.py.in 2 | index 36540f74..4afedaf9 100644 3 | --- a/extra/script_wrappers/nanopb_generator.py.in 4 | +++ b/extra/script_wrappers/nanopb_generator.py.in 5 | @@ -21,4 +21,7 @@ if python_instdir[0] != '@': 6 | 7 | from nanopb.generator.nanopb_generator import main_cli, main_plugin 8 | if __name__ == '__main__': 9 | - sys.exit(main_cli()) 10 | \ No newline at end of file 11 | + if 'protoc-gen-' in sys.argv[0] or '--protoc-plugin' in sys.argv: 12 | + main_plugin() 13 | + else: 14 | + main_cli() 15 | \ No newline at end of file 16 | -------------------------------------------------------------------------------- /packages/n/neargye-scope_guard/xmake.lua: -------------------------------------------------------------------------------- 1 | package("neargye-scope_guard") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/Neargye/scope_guard") 4 | set_description("Scope Guard & Defer C++") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/Neargye/scope_guard.git") 8 | add_versions("2022.04.05", "fa60305b5805dcd872b3c60d0bc517c505f99502") 9 | 10 | on_install(function (package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | void test() { 18 | int* x = new int; 19 | SCOPE_EXIT{ delete x; }; 20 | } 21 | ]]}, {configs = {languages = "c++11"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/n/niftiheader/xmake.lua: -------------------------------------------------------------------------------- 1 | package("niftiheader") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://nifti.nimh.nih.gov/") 5 | set_description("Header structure descriptions for the nifti1 and nifti2 file formats.") 6 | set_license("Public Domain") 7 | 8 | add_urls("https://github.com/xmake-mirror/nifti2.git") 9 | add_versions("0.0.1", "d2461b27888fd5db659edb8b788c7ce6203f703c") 10 | 11 | on_install(function(package) 12 | os.cp("nifti1.h", package:installdir("include")) 13 | os.cp("nifti2.h", package:installdir("include")) 14 | end) 15 | 16 | on_test(function(package) 17 | assert(package:has_ctypes("nifti_1_header", {includes = {"nifti1.h"}})) 18 | assert(package:has_ctypes("nifti_2_header", {includes = {"nifti2.h"}})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/n/nngpp/xmake.lua: -------------------------------------------------------------------------------- 1 | package("nngpp") 2 | 3 | set_homepage("https://github.com/cwzx/nngpp") 4 | set_description("C++ wrapper around the nanomsg NNG API.") 5 | 6 | add_urls("https://github.com/cwzx/nngpp.git") 7 | add_versions("v2020.10.30", "8da8c026bd551b7685a8a140909ff96cfe91bf90") 8 | 9 | add_deps("nng") 10 | add_deps("cmake") 11 | on_install("windows", "linux", "macosx", "android", "iphoneos", "cross", function (package) 12 | import("package.tools.cmake").install(package, configs) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:check_cxxsnippets({test = [[ 17 | #include 18 | static void test() { 19 | nng::aio aio = nng::make_aio(); 20 | } 21 | ]]}, {includes = "nngpp/nngpp.h",configs = {languages = "c++11"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/n/nodeeditor/patches/2.2.2/fix_qt.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/nodes/internal/NodePainterDelegate.hpp b/include/nodes/internal/NodePainterDelegate.hpp 2 | index d532619..f22496c 100644 3 | --- a/include/nodes/internal/NodePainterDelegate.hpp 4 | +++ b/include/nodes/internal/NodePainterDelegate.hpp 5 | @@ -1,6 +1,6 @@ 6 | #pragma once 7 | 8 | -#include 9 | +#include 10 | 11 | #include "NodeGeometry.hpp" 12 | #include "NodeDataModel.hpp" 13 | diff --git a/include/nodes/internal/QStringStdHash.hpp b/include/nodes/internal/QStringStdHash.hpp 14 | index cc5eb68..5e5e6e9 100644 15 | --- a/include/nodes/internal/QStringStdHash.hpp 16 | +++ b/include/nodes/internal/QStringStdHash.hpp 17 | @@ -1,6 +1,6 @@ 18 | #pragma once 19 | 20 | -#include 21 | +#include 22 | 23 | #if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) 24 | 25 | -------------------------------------------------------------------------------- /packages/n/ntkernel-error-category/port/xmake.lua: -------------------------------------------------------------------------------- 1 | if is_plat("windows", "mingw") then 2 | target("generate-table") 3 | set_kind("binary") 4 | set_languages("c++17") 5 | add_files("src/generate-table.cpp") 6 | add_defines("_UNICODE", "UNICODE") 7 | end 8 | 9 | target("ntkernel-error-category") 10 | set_kind("$(kind)") 11 | set_languages("c++17") 12 | add_headerfiles("include/(ntkernel-error-category/*.hpp)") 13 | add_includedirs("include") 14 | 15 | if not is_kind("headeronly") then 16 | add_files("src/ntkernel_category.cpp") 17 | if is_kind("static") then 18 | add_defines("NTKERNEL_ERROR_CATEGORY_STATIC", { public = true }) 19 | end 20 | else 21 | add_defines("NTKERNEL_ERROR_CATEGORY_INLINE", { public = true }) 22 | add_headerfiles("include/(ntkernel-error-category/detail/*.ipp)") 23 | end 24 | -------------------------------------------------------------------------------- /packages/n/nvtx/xmake.lua: -------------------------------------------------------------------------------- 1 | package("nvtx") 2 | 3 | set_homepage("https://github.com/NVIDIA/NVTX") 4 | set_description("A C-based Application Programming Interface (API) for annotating events, code ranges, and resources in your applications.") 5 | 6 | on_fetch("fetch") 7 | -------------------------------------------------------------------------------- /packages/o/obfuscate/xmake.lua: -------------------------------------------------------------------------------- 1 | package("obfuscate") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/adamyaxley/Obfuscate") 4 | set_description("Guaranteed compile-time string literal obfuscation header-only library for C++14") 5 | set_license("Unlicense") 6 | 7 | add_urls("https://github.com/adamyaxley/Obfuscate.git") 8 | add_versions("2024.02.11", "e65173d617983ce6b714c9ade5a6dbf3503c9a96") 9 | 10 | on_install(function (package) 11 | os.cp("obfuscate.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | void test() { 17 | AY_OBFUSCATE("Hello World"); 18 | } 19 | ]]}, {configs = {languages = "cxx14"}, includes = "obfuscate.h"})) 20 | end) 21 | -------------------------------------------------------------------------------- /packages/o/obfusheader.h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("obfusheader.h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/ac3ss0r/obfusheader.h") 4 | set_description("Obfusheader.h is a portable header file for C++14 compile-time obfuscation.") 5 | set_license("Apache-2.0") 6 | 7 | add_urls("https://github.com/ac3ss0r/obfusheader.h.git") 8 | add_versions("2024.08.19", "cbd87b0edd2695764d08110cf5a192b193218aef") 9 | 10 | on_install(function (package) 11 | os.vcp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | #include 18 | void test() { 19 | const char* str = OBF("test"); 20 | } 21 | ]]}, {configs = {languages = "c++14"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/o/ocilib/patches/4.7.7/fix-gcc14.patch: -------------------------------------------------------------------------------- 1 | From 4b67124796225c6e1b6038ab1c9f11b232aa50fb Mon Sep 17 00:00:00 2001 2 | From: Vincent Rogier 3 | Date: Mon, 20 Jan 2025 13:47:30 +0100 4 | Subject: [PATCH] Fixed # #371 (missing cast leading compile falieur on gcc14 5 | as -Wincompatible-pointer-types becomes default) 6 | 7 | --- 8 | src/reference.c | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/src/reference.c b/src/reference.c 12 | index d760420c..428318b7 100644 13 | --- a/src/reference.c 14 | +++ b/src/reference.c 15 | @@ -443,7 +443,7 @@ boolean OcilibReferenceToString 16 | } 17 | else 18 | { 19 | - dbstr = str; 20 | + dbstr = (dbtext *) str; 21 | } 22 | 23 | CHECK_OCI 24 | -------------------------------------------------------------------------------- /packages/o/ocilib/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release", "mode.releasedbg", "mode.minsizerel") 2 | 3 | option("unicode", {showmenu = true, default = true}) 4 | 5 | target("ocilib") 6 | set_kind("$(kind)") 7 | add_files("src/*.c") 8 | add_includedirs("src") 9 | add_includedirs("include", {public = true}) 10 | add_headerfiles("include/(**.h)", "include/(**.hpp)") 11 | 12 | if is_kind("static") then 13 | add_defines("OCI_LIB_LOCAL_COMPILE", {public = true}) 14 | end 15 | 16 | if is_plat("windows") and is_kind("shared") then 17 | add_files("proj/dll/main.rc") 18 | add_defines("OCI_EXPORT") 19 | end 20 | 21 | if has_config("unicode") then 22 | add_defines("OCI_CHARSET_WIDE") 23 | else 24 | add_defines("OCI_CHARSET_ANSI") 25 | end 26 | 27 | add_defines("OCI_IMPORT_RUNTIME") 28 | -------------------------------------------------------------------------------- /packages/o/olive.c/xmake.lua: -------------------------------------------------------------------------------- 1 | package("olive.c") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://tsoding.github.io/olive.c/") 4 | set_description("Simple 2D Graphics Library for C") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/tsoding/olive.c.git") 8 | add_versions("2022.12.14", "95af28b808a243098fe7866e8035b24c3fe28ea1") 9 | 10 | on_install(function (package) 11 | os.cp("olive.c", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("olivec_fill", {includes = "olive.c", 16 | configs = {defines = "OLIVEC_IMPLEMENTATION"}})) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/o/opengl-headers/xmake.lua: -------------------------------------------------------------------------------- 1 | package("opengl-headers") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/KhronosGroup/OpenGL-Registry/") 4 | set_description("OpenGL, OpenGL ES, and OpenGL ES-SC API and Extension Registry") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/KhronosGroup/OpenGL-Registry.git") 8 | 9 | add_versions("2024.01.04", "ca491a0576d5c026f06ebe29bfac7cbbcf1e8332") 10 | 11 | add_deps("egl-headers") 12 | 13 | on_install(function (package) 14 | os.vcp("api/*", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:check_csnippets({test = [[ 19 | void test() { 20 | int version = GL_VERSION; 21 | } 22 | ]]}, {includes = "GLES3/gl3.h"})) 23 | end) 24 | -------------------------------------------------------------------------------- /packages/o/opengl/xmake.lua: -------------------------------------------------------------------------------- 1 | package("opengl") 2 | 3 | set_homepage("https://opengl.org/") 4 | set_description("OpenGL - The Industry Standard for High Performance Graphics") 5 | 6 | on_fetch(function (package, opt) 7 | -- we always get it from compiler toolchain 8 | if package:is_plat("macosx") then 9 | return {frameworks = "OpenGL", defines = "GL_SILENCE_DEPRECATION"} 10 | elseif package:is_plat("windows", "mingw", "msys") then 11 | return {links = "opengl32"} 12 | end 13 | if opt.system then 14 | if package:is_plat("linux") and package.find_package then 15 | return package:find_package("opengl", opt) or package:find_package("libgl", opt) 16 | end 17 | end 18 | end) 19 | -------------------------------------------------------------------------------- /packages/o/openjpeg/patches/2.5.0/build.patch: -------------------------------------------------------------------------------- 1 | --- a/src/lib/openjp2/ht_dec.c 2 | +++ b/src/lib/openjp2/ht_dec.c 3 | @@ -69,7 +69,7 @@ static OPJ_BOOL only_cleanup_pass_is_decoded = OPJ_FALSE; 4 | static INLINE 5 | OPJ_UINT32 population_count(OPJ_UINT32 val) 6 | { 7 | -#ifdef OPJ_COMPILER_MSVC 8 | +#if defined(OPJ_COMPILER_MSVC) && (defined(_M_IX86) || defined(_M_AMD64)) 9 | return (OPJ_UINT32)__popcnt(val); 10 | #elif (defined OPJ_COMPILER_GNUC) 11 | return (OPJ_UINT32)__builtin_popcount(val); 12 | -------------------------------------------------------------------------------- /packages/o/openscenegraph/patches/3.6.5/msvc.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/osgPlugins/osga/OSGA_Archive.cpp b/src/osgPlugins/osga/OSGA_Archive.cpp 2 | index b9f518a..19186a7 100644 3 | --- a/src/osgPlugins/osga/OSGA_Archive.cpp 4 | +++ b/src/osgPlugins/osga/OSGA_Archive.cpp 5 | @@ -77,7 +77,7 @@ inline OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ) 6 | #else // older Dinkumware (eg: one included in Win Server 2003 Platform SDK ) 7 | fpos_t position = pos.get_fpos_t(); 8 | #endif 9 | - std::streamoff offset = pos.operator std::streamoff( ) - _FPOSOFF( position ); 10 | + std::streamoff offset = 0; 11 | 12 | return OSGA_Archive::pos_type( position + offset ); 13 | } 14 | -------------------------------------------------------------------------------- /packages/o/openssl/patches/1.1.1p.diff: -------------------------------------------------------------------------------- 1 | --- openssl-OpenSSL_1_1_1p/test/v3ext.c 2022-07-05 17:08:33.000000000 +0800 2 | +++ openssl-OpenSSL_1_1_1p/test/v3ext.c.ok 2022-08-01 00:57:49.690000000 +0800 3 | @@ -8,6 +8,7 @@ 4 | */ 5 | 6 | #include 7 | +#include 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /packages/o/openssl/patches/1.1.1q.diff: -------------------------------------------------------------------------------- 1 | --- openssl-OpenSSL_1_1_1q/test/v3ext.c 2022-07-05 17:08:33.000000000 +0800 2 | +++ openssl-OpenSSL_1_1_1q/test/v3ext.c.ok 2022-08-01 00:57:49.690000000 +0800 3 | @@ -8,6 +8,7 @@ 4 | */ 5 | 6 | #include 7 | +#include 8 | #include 9 | #include 10 | #include 11 | -------------------------------------------------------------------------------- /packages/o/openssl/patches/1.1.1t.diff: -------------------------------------------------------------------------------- 1 | diff --git a/crypto/bn/rsa_sup_mul.c b/crypto/bn/rsa_sup_mul.c 2 | --- a/crypto/bn/rsa_sup_mul.c 3 | +++ b/crypto/bn/rsa_sup_mul.c 4 | @@ -109,7 +109,7 @@ static ossl_inline void _mul_limb(limb_t *hi, limb_t *lo, limb_t a, limb_t b) 5 | *hi = t >> LIMB_BIT_SIZE; 6 | *lo = (limb_t)t; 7 | } 8 | -#elif (BN_BYTES == 8) && (defined _MSC_VER) 9 | +#elif (BN_BYTES == 8) && (defined _MSC_VER) && (defined(_M_AMD64) || defined(_M_X64)) 10 | /* https://learn.microsoft.com/en-us/cpp/intrinsics/umul128?view=msvc-170 */ 11 | #pragma intrinsic(_umul128) 12 | static ossl_inline void _mul_limb(limb_t *hi, limb_t *lo, limb_t a, limb_t b) 13 | -------------------------------------------------------------------------------- /packages/o/openssl3/patches/3.3.2/command-line-length.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl 2 | index 8ddb128..52b9ad6 100644 3 | --- a/Configurations/unix-Makefile.tmpl 4 | +++ b/Configurations/unix-Makefile.tmpl 5 | @@ -1961,7 +1961,7 @@ EOF 6 | my @objs = map { platform->obj($_) } @{$args{objs}}; 7 | my $deps = join(" \\\n" . ' ' x (length($lib) + 2), 8 | fill_lines(' ', $COLUMNS - length($lib) - 2, @objs)); 9 | - my $max_per_call = 500; 10 | + my $max_per_call = ($^O eq 'msys') ? 80 : 500; 11 | my @objs_grouped; 12 | push @objs_grouped, join(" ", splice @objs, 0, $max_per_call) while @objs; 13 | my $fill_lib = 14 | -------------------------------------------------------------------------------- /packages/p/papi/xmake.lua: -------------------------------------------------------------------------------- 1 | package("papi") 2 | 3 | set_homepage("https://icl.utk.edu/papi/index.html") 4 | set_description("Performance Application Programming Interface") 5 | set_license("BSD-3-Clause") 6 | 7 | add_urls("http://icl.utk.edu/projects/papi/downloads/papi-$(version).tar.gz") 8 | add_versions("6.0.0", "3442709dae3405c2845b304c06a8b15395ecf4f3899a89ceb4d715103cb4055f") 9 | 10 | add_configs("shared", {description = "Build shared library.", default = true, type = "boolean", readonly = true}) 11 | 12 | on_install("linux", function (package) 13 | os.cd("src") 14 | import("package.tools.autoconf").install(package) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cfuncs("PAPI_library_init", {includes = "papi.h"})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/p/pcg-cpp/xmake.lua: -------------------------------------------------------------------------------- 1 | package("pcg-cpp") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("http://www.pcg-random.org") 4 | set_description("PCG — C++ Implementation") 5 | set_license("Apache-2.0") 6 | 7 | add_urls("https://github.com/imneme/pcg-cpp.git") 8 | add_versions("2022.04.09", "428802d1a5634f96bcd0705fab379ff0113bcf13") 9 | 10 | on_install(function (package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | #include 18 | void test() { 19 | pcg_extras::seed_seq_from seed_source; 20 | pcg32 rng(seed_source); 21 | } 22 | ]]}, {configs = {languages = "c++11"}})) 23 | end) 24 | -------------------------------------------------------------------------------- /packages/p/pcg32/xmake.lua: -------------------------------------------------------------------------------- 1 | package("pcg32") 2 | set_homepage("https://github.com/wjakob/pcg32") 3 | set_description("Tiny self-contained C++ version of the PCG32 pseudorandom number generator") 4 | set_license("Apache-2.0") 5 | 6 | add_urls("https://github.com/wjakob/pcg32.git") 7 | 8 | -- A fake version since no any releases/tags 9 | add_versions("2016.06.07", "70099eadb86d3999c38cf69d2c55f8adc1f7fe34") 10 | 11 | on_install("windows", "linux", "macosx", function (package) 12 | os.cp("pcg32.h", package:installdir("include/pcg32")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:check_cxxsnippets({test = [[ 17 | pcg32 rng; 18 | ]]}, {configs = {languages = "cxx17"}, includes = "pcg32/pcg32.h"})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/p/pcl/patches/1.14.1/msbuild.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 41fb8120d..8682201ee 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -204,10 +204,8 @@ if(CMAKE_COMPILER_IS_MSVC) 6 | endif() 7 | string(APPEND CMAKE_CXX_FLAGS " /bigobj") 8 | 9 | - if(CMAKE_GENERATOR STREQUAL "Ninja") 10 | - string(APPEND CMAKE_C_FLAGS " /FS") 11 | - string(APPEND CMAKE_CXX_FLAGS " /FS") 12 | - endif() 13 | + string(APPEND CMAKE_C_FLAGS " /FS") 14 | + string(APPEND CMAKE_CXX_FLAGS " /FS") 15 | endif() 16 | 17 | if(CMAKE_COMPILER_IS_PATHSCALE) 18 | -------------------------------------------------------------------------------- /packages/p/pdfio/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | add_requires("zlib") 4 | add_packages("zlib") 5 | 6 | target("pdfio") 7 | set_kind("$(kind)") 8 | add_files("pdfio-*.c", "ttf.c") 9 | add_headerfiles("pdfio.h") 10 | 11 | if is_plat("windows") and is_kind("shared") then 12 | add_rules("utils.symbols.export_all") 13 | end 14 | 15 | if is_plat("windows", "mingw") then 16 | add_syslinks("advapi32") 17 | elseif is_plat("linux", "bsd") then 18 | add_syslinks("m") 19 | end 20 | -------------------------------------------------------------------------------- /packages/p/pedeps/patches/0.1.15/tool.patch: -------------------------------------------------------------------------------- 1 | From d42286083917a8ff8495aaf777bab5936e2519b8 Mon Sep 17 00:00:00 2001 2 | From: star9029 3 | Date: Sun, 18 May 2025 16:38:43 +0800 4 | Subject: [PATCH] Fix listpedeps argv 5 | 6 | --- 7 | src/listpedeps.c | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/src/listpedeps.c b/src/listpedeps.c 11 | index 6087b4a..4a4bbc4 100644 12 | --- a/src/listpedeps.c 13 | +++ b/src/listpedeps.c 14 | @@ -120,7 +120,7 @@ int main (int argc, char* argv[]) 15 | progdata.showimports = 1; 16 | progdata.details = 0; 17 | } else if (strcmp(argv[i], "-x") == 0 || strcmp(argv[i], "--exports") == 0) { 18 | - progdata.showimports = 1; 19 | + progdata.showexports = 1; 20 | } else { 21 | printf("[%s]\n", argv[i]); 22 | //open PE file 23 | -------------------------------------------------------------------------------- /packages/p/pffft/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | option("simd", {default = true, description = "Build with simd"}) 4 | 5 | target("pffft") 6 | set_kind("$(kind)") 7 | if not has_config("simd") then 8 | add_defines("PFFFT_SIMD_DISABLE") 9 | end 10 | if is_kind("shared") and is_plat("windows") then 11 | add_rules("utils.symbols.export_all") 12 | end 13 | add_files("fftpack.c", "pffft.c") 14 | add_headerfiles("fftpack.h", "pffft.h") 15 | if not is_plat("windows") then 16 | add_syslinks("m") 17 | else 18 | add_defines("_USE_MATH_DEFINES", {public = true}) 19 | end 20 | -------------------------------------------------------------------------------- /packages/p/phnt/xmake.lua: -------------------------------------------------------------------------------- 1 | package("phnt") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/winsiderss/systeminformer") 5 | set_description("Native API header files for the System Informer project.") 6 | set_license("MIT") 7 | 8 | set_urls("https://github.com/winsiderss/phnt.git") 9 | add_versions("2023.6.18", "7c1adb8a7391939dfd684f27a37e31f18d303944") 10 | 11 | add_syslinks("ntdll") 12 | 13 | on_install("windows", function (package) 14 | os.cp("*.h", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cincludes("phnt_windows.h")) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/p/picosha2/xmake.lua: -------------------------------------------------------------------------------- 1 | package("picosha2") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/okdshin/PicoSHA2") 4 | set_description("a header-file-only, SHA256 hash generator in C++") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/okdshin/PicoSHA2.git") 8 | add_versions("2022.08.08", "27fcf6979298949e8a462e16d09a0351c18fcaf2") 9 | 10 | on_install(function (package) 11 | os.cp("picosha2.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | void test() { 18 | picosha2::hash256_one_by_one hasher; 19 | } 20 | ]]})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/p/pl_mpeg/xmake.lua: -------------------------------------------------------------------------------- 1 | package("pl_mpeg") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/phoboslab/pl_mpeg") 4 | set_description("Single file C library for decoding MPEG1 Video and MP2 Audio") 5 | set_license("MIT") 6 | 7 | set_urls("https://github.com/phoboslab/pl_mpeg.git") 8 | add_versions("2024.04.12", "9e40dd6536269d788728e32c39bfacf2ab7a0866") 9 | 10 | on_install(function (package) 11 | os.cp("pl_mpeg.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("plm_create_with_filename", {includes = "pl_mpeg.h"})) 16 | end) -------------------------------------------------------------------------------- /packages/p/platformfolders/patches/4.2.0/cmake-install.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 5ae2017..30e2045 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -83,6 +83,7 @@ if(PLATFORMFOLDERS_ENABLE_INSTALL) 6 | EXPORT "platform_foldersConfig" 7 | LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" 8 | ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" 9 | + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" 10 | # Tells it where to put the header files 11 | PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sago" 12 | ) 13 | -------------------------------------------------------------------------------- /packages/p/plf_hive/xmake.lua: -------------------------------------------------------------------------------- 1 | package("plf_hive") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://plflib.org/colony.htm") 4 | set_description("plf::hive is a fork of plf::colony to match the current C++ standards proposal.") 5 | set_license("zlib") 6 | 7 | add_urls("https://github.com/mattreecebentley/plf_hive.git") 8 | add_versions("2024.04.21", "7689475b1fa2a95228cf0f44db9c209d7e430748") 9 | 10 | on_install(function (package) 11 | os.cp("plf_hive.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cxxtypes("plf::hive", {configs = {languages = "c++20"}, includes = "plf_hive.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/p/plf_list/xmake.lua: -------------------------------------------------------------------------------- 1 | package("plf_list") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://plflib.org/list.htm") 4 | set_description("A data container replicating std::list functionality but with (on average) 333% faster insertion, 81% faster erasure and 16% faster iteration.") 5 | set_license("zlib") 6 | 7 | add_urls("https://github.com/mattreecebentley/plf_list.git") 8 | add_versions("2.73", "b5bbcec628b149c57c56887e6ba0a55caf61fc95") 9 | 10 | on_install(function (package) 11 | os.cp("plf_list.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | void test() { 18 | plf::list i_list; 19 | } 20 | ]]}, {configs = {languages = "c++17"}})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/p/plf_nanotimer/xmake.lua: -------------------------------------------------------------------------------- 1 | package("plf_nanotimer") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://plflib.org/nanotimer.htm") 4 | set_description("A cross-platform lowest-overhead microsecond-precision timer for simple benchmarking on Linux/BSD/Windows/Mac.") 5 | set_license("zlib") 6 | 7 | add_urls("https://github.com/mattreecebentley/plf_nanotimer.git") 8 | add_versions("v1.07", "55e0fcb135ec8db874a0656f94d1f1780d7c75a7") 9 | 10 | on_install("!wasm", function (package) 11 | os.cp("plf_nanotimer.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cxxtypes("plf::nanotimer", {configs = {languages = "c++17"}, includes = "plf_nanotimer.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/p/promise-cpp/port/xmake.lua: -------------------------------------------------------------------------------- 1 | option("boost_asio", {showmenu = true, default = false}) 2 | 3 | add_rules("mode.debug", "mode.release") 4 | set_languages("c++11") 5 | 6 | if has_config("boost_asio") then 7 | add_requires("boost") 8 | add_packages("boost") 9 | end 10 | 11 | target("promise-cpp") 12 | set_kind("$(kind)") 13 | add_files("src/*.cpp") 14 | add_includedirs(".", "include") 15 | add_headerfiles("include/(**.hpp)", "(add_ons/**.hpp)") 16 | 17 | if is_plat("windows") and is_kind("shared") then 18 | add_defines("PROMISE_BUILD_SHARED") 19 | end 20 | -------------------------------------------------------------------------------- /packages/p/protobuf-cpp/patches/31.0/gcc15.patch: -------------------------------------------------------------------------------- 1 | --- a/src/google/protobuf/port_def.inc 2025-06-02 14:48:16.547634929 +0800 2 | +++ b/src/google/protobuf/port_def.inc 2025-06-02 14:51:10.612262509 +0800 3 | @@ -236,6 +236,7 @@ 4 | #endif 5 | #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \ 6 | !defined(_ARCH_PPC) && !defined(__wasm__) && \ 7 | + !(defined(__GNUC__) && __GNUC__ >= 15) && \ 8 | !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) 9 | // Compilation fails on ARM32: b/195943306 10 | // Compilation fails on powerpc64le: b/187985113 11 | -------------------------------------------------------------------------------- /packages/p/protobuf-cpp/patches/31.0/msvc2019-arm64.patch: -------------------------------------------------------------------------------- 1 | --- a/upb/hash/common.c 2025-06-02 14:39:32.082862245 +0800 2 | +++ b/upb/hash/common.c 2025-06-02 14:42:34.036621441 +0800 3 | @@ -43,8 +43,18 @@ 4 | #elif defined(__GNUC__) 5 | #define UPB_FAST_POPCOUNT32(i) __builtin_popcount(i) 6 | #elif defined(_MSC_VER) 7 | +#if defined(_M_ARM64) 8 | +unsigned int UPB_FAST_POPCOUNT32(unsigned int x) { 9 | + unsigned int c = 0; 10 | + for(; x; c++) { 11 | + x &= x - 1; 12 | + } 13 | + return c; 14 | +} 15 | +#else 16 | #define UPB_FAST_POPCOUNT32(i) __popcnt(i) 17 | #endif 18 | +#endif 19 | 20 | UPB_INLINE int _upb_popcnt32(uint32_t i) { 21 | #ifdef UPB_FAST_POPCOUNT32 22 | -------------------------------------------------------------------------------- /packages/p/protoc/xmake.lua: -------------------------------------------------------------------------------- 1 | package("protoc") 2 | set_kind("binary") 3 | set_homepage("https://developers.google.com/protocol-buffers/") 4 | set_description("Google's data interchange format compiler") 5 | 6 | add_deps("protobuf-cpp") 7 | 8 | on_install(function (package) end) 9 | 10 | on_test(function (package) 11 | os.vrun("protoc --version") 12 | end) 13 | -------------------------------------------------------------------------------- /packages/p/psimd/xmake.lua: -------------------------------------------------------------------------------- 1 | package("psimd") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/Maratyszcza/psimd") 4 | set_description("Portable 128-bit SIMD intrinsics") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/Maratyszcza/psimd.git") 8 | add_versions("2020.5.17", "072586a71b55b7f8c584153d223e95687148a900") 9 | 10 | on_install("linux", "macosx", function(package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function(package) 15 | assert(package:check_csnippets({test = [[ 16 | void test() { 17 | const psimd_f32 log2e = psimd_splat_f32(0x1.715476p+0f); 18 | const psimd_f32 inf = psimd_splat_f32(__builtin_inff()); 19 | } 20 | ]]}, {configs = {languages = "c11"}, includes = "psimd.h"})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/p/pugixml/port/sharedwasm.cmake: -------------------------------------------------------------------------------- 1 | set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE) 2 | set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-s SIDE_MODULE=1") 3 | set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-s SIDE_MODULE=1") 4 | set(CMAKE_STRIP FALSE) 5 | -------------------------------------------------------------------------------- /packages/p/pycdc/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | set_languages("c++11") 4 | 5 | target("pycxx") 6 | set_kind("$(kind)") 7 | add_files( 8 | "bytecode.cpp", 9 | "data.cpp", 10 | "pyc_*.cpp", 11 | "bytes/python_*.cpp" 12 | ) 13 | add_includedirs(os.projectdir()) 14 | add_headerfiles("*.h") 15 | 16 | if is_plat("windows") and is_kind("shared") then 17 | add_rules("utils.symbols.export_all", {export_classes = true}) 18 | end 19 | 20 | target("pycdas") 21 | set_kind("binary") 22 | add_files("pycdas.cpp") 23 | add_deps("pycxx") 24 | 25 | target("pycdc") 26 | set_kind("binary") 27 | add_files("pycdc.cpp", "ASTree.cpp", "ASTNode.cpp") 28 | add_deps("pycxx") 29 | -------------------------------------------------------------------------------- /packages/q/qoa/xmake.lua: -------------------------------------------------------------------------------- 1 | package("qoa") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/phoboslab/qoa") 4 | set_description("The “Quite OK Audio Format” for fast, lossy audio compression") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/phoboslab/qoa.git") 8 | 9 | add_versions("2024.07.02", "e0c69447d4d3945c3c92ac1751e4cdc9803a8303") 10 | 11 | on_install(function (package) 12 | os.cp("qoa.h", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cfuncs("qoa_encode_header", {includes = "qoa.h"})) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/q/qoi/xmake.lua: -------------------------------------------------------------------------------- 1 | package("qoi") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://qoiformat.org/") 5 | set_description("The Quite OK Image Format for fast, lossless image compression") 6 | set_license("MIT") 7 | 8 | add_urls("https://github.com/phoboslab/qoi.git") 9 | add_versions("2021.12.22", "44fe081388c60e7618f49486865b992e08ce4de4") 10 | add_versions("2022.11.17", "660839cb2c51d6b5f62221f8ef98662fd40e42d2") 11 | add_versions("2024.03.18", "bf7b41c2ff3f24a2031193b62aa76d35e8842b5a") 12 | 13 | on_install(function (package) 14 | os.cp("qoi.h", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cfuncs("qoi_encode", {includes = "qoi.h"})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/q/qt5base/xmake.lua: -------------------------------------------------------------------------------- 1 | package("qt5base") 2 | set_kind("phony") 3 | set_base("qtbase") 4 | 5 | add_versions("5.15.2", "dummy") 6 | add_versions("5.12.5", "dummy") 7 | 8 | on_install("windows|x86", "windows|x64", "linux", "macosx", "mingw", "android", "iphoneos", function (package, opt) 9 | package:base():script("install")(package, opt) 10 | end) 11 | -------------------------------------------------------------------------------- /packages/r/rang/xmake.lua: -------------------------------------------------------------------------------- 1 | package("rang") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://agauniyal.github.io/rang/") 4 | set_description("A Minimal, Header only Modern c++ library for terminal goodies 💄✨") 5 | set_license("Unlicense") 6 | 7 | add_urls("https://github.com/agauniyal/rang.git") 8 | add_versions("2022.07.01", "22345aa4c468db3bd4a0e64a47722aad3518cc81") 9 | 10 | on_install(function (package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | #include 18 | void test() { 19 | std::cout << "Plain old text" << rang::style::bold; 20 | } 21 | ]]}, {configs = {languages = "c++11"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/r/rapidhash/xmake.lua: -------------------------------------------------------------------------------- 1 | package("rapidhash") 2 | set_kind("library", {headeronly = true}) 3 | set_description("Very fast, high quality, platform independant hashing algorithm.") 4 | set_homepage("https://github.com/Nicoshev/rapidhash") 5 | set_license("BSD-2-Clause") 6 | 7 | add_urls("https://github.com/Nicoshev/rapidhash/archive/refs/tags/rapidhash_$(version).tar.gz", 8 | "https://github.com/Nicoshev/rapidhash.git") 9 | 10 | add_versions("v1.0", "d295e66eec6745cc0e0c8c65fb8b5edf08ab3af83b0a503c54c6705144b53848") 11 | 12 | on_install(function(package) 13 | os.cp("rapidhash.h", package:installdir("include")) 14 | end) 15 | 16 | on_test(function(package) 17 | assert(package:has_cxxfuncs("rapidhash", {configs = {languages = "c++11"}, includes = "rapidhash.h"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/r/readerwriterqueue/xmake.lua: -------------------------------------------------------------------------------- 1 | package("readerwriterqueue") 2 | 3 | set_kind("library", {headeronly = true}) 4 | set_homepage("https://github.com/cameron314/readerwriterqueue") 5 | set_description("A fast single-producer, single-consumer lock-free queue for C++") 6 | set_license("BSD-3-Clause") 7 | 8 | set_urls("https://github.com/cameron314/readerwriterqueue/archive/refs/tags/$(version).tar.gz", 9 | "https://github.com/cameron314/readerwriterqueue.git") 10 | 11 | add_versions("v1.0.6", "fc68f55bbd49a8b646462695e1777fb8f2c0b4f342d5e6574135211312ba56c1") 12 | 13 | on_install(function (package) 14 | os.cp("*.h", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cxxtypes("moodycamel::ReaderWriterQueue", {includes = "readerwriterqueue.h"})) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/r/reflect-cpp/patches/0.16.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 2e16468..38d289f 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -138,7 +138,7 @@ if (REFLECTCPP_MSGPACK) 6 | if(REFLECTCPP_USE_VCPKG) 7 | find_package(msgpack-c CONFIG REQUIRED) 8 | else() 9 | - find_package(msgpack CONFIG REQUIRED) 10 | + find_package(msgpack-c CONFIG REQUIRED) 11 | endif() 12 | target_link_libraries(reflectcpp PUBLIC msgpack-c) 13 | endif () 14 | -------------------------------------------------------------------------------- /packages/r/reflect-cpp/patches/0.17.0/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 4d0904f..751e762 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -172,8 +172,8 @@ if (REFLECTCPP_MSGPACK) 6 | find_package(msgpack-c CONFIG REQUIRED) 7 | endif() 8 | else() 9 | - if (NOT TARGET msgpack) 10 | - find_package(msgpack CONFIG REQUIRED) 11 | + if (NOT TARGET msgpack-c) 12 | + find_package(msgpack-c CONFIG REQUIRED) 13 | endif() 14 | endif() 15 | target_link_libraries(reflectcpp PUBLIC msgpack-c) 16 | -------------------------------------------------------------------------------- /packages/r/rlottie/patches/0.2/limit.diff: -------------------------------------------------------------------------------- 1 | diff --git a/src/vector/vrle.cpp b/src/vector/vrle.cpp 2 | index c7a520f5..379f8eda 100644 3 | --- a/src/vector/vrle.cpp 4 | +++ b/src/vector/vrle.cpp 5 | @@ -27,6 +27,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | #include 11 | #include "vdebug.h" 12 | #include "vglobal.h" 13 | -------------------------------------------------------------------------------- /packages/r/ruapu/xmake.lua: -------------------------------------------------------------------------------- 1 | package("ruapu") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/nihui/ruapu") 4 | set_description("Detect CPU features with single-file") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/nihui/ruapu/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/nihui/ruapu.git") 9 | 10 | add_versions("0.1.0", "65fd826ed1772717d4cee70b6620277df0328408612f7643658a0064f1a163ff") 11 | 12 | on_install(function (package) 13 | os.cp("ruapu.h", package:installdir("include")) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:has_cfuncs("ruapu_init", {includes = "ruapu.h", defines = "RUAPU_IMPLEMENTATION"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/s/sentry-native/patches/0.4.4/zlib_fix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/external/crashpad/third_party/zlib/CMakeLists.txt b/external/crashpad/third_party/zlib/CMakeLists.txt 2 | index 7ed2f58..4514331 100644 3 | --- a/external/crashpad/third_party/zlib/CMakeLists.txt 4 | +++ b/external/crashpad/third_party/zlib/CMakeLists.txt 5 | @@ -73,6 +73,7 @@ else() 6 | "/wd4267" # conversion from 'size_t' to 't', possible loss of data 7 | "/wd4324" # structure was padded due to alignment specifier 8 | "/wd4702" # unreachable code 9 | + "/wd5105" # see https://github.com/getsentry/sentry-native/issues/415 10 | ) 11 | endif() 12 | endif() 13 | -------------------------------------------------------------------------------- /packages/s/simplewindow/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | set_languages("c++14") 3 | 4 | target("simplewindow") 5 | set_kind("$(kind)") 6 | set_encodings("utf-8") 7 | add_includedirs("inc") 8 | add_headerfiles("inc/(*.h)", {prefixdir = "sw"}) 9 | add_files("src/*.cpp") 10 | -------------------------------------------------------------------------------- /packages/s/snappy/patches/1.1.10/cmake.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index c3062e2..47443d1 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -194,9 +194,9 @@ int main() { 6 | check_cxx_source_compiles(" 7 | #include 8 | int main() { 9 | - uint8_t val = 3, dup[8]; 10 | + uint8_t val = 3; 11 | uint8x16_t v = vld1q_dup_u8(&val); 12 | - vst1q_u8(dup, v); 13 | + val = vmaxvq_u8(v); 14 | return 0; 15 | }" SNAPPY_HAVE_NEON) 16 | 17 | -------------------------------------------------------------------------------- /packages/s/snappy/patches/1.1.9/inline.patch: -------------------------------------------------------------------------------- 1 | diff --git a/snappy.cc b/snappy.cc 2 | index 79dc0e8..51157be 100644 3 | --- a/snappy.cc 4 | +++ b/snappy.cc 5 | @@ -1014,7 +1014,7 @@ void MemMove(ptrdiff_t dst, const void* src, size_t size) { 6 | } 7 | 8 | SNAPPY_ATTRIBUTE_ALWAYS_INLINE 9 | -size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { 10 | +inline size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { 11 | const uint8_t*& ip = *ip_p; 12 | // This section is crucial for the throughput of the decompression loop. 13 | // The latency of an iteration is fundamentally constrained by the 14 | -------------------------------------------------------------------------------- /packages/s/soci/patches/v4.0.3/cmake_policy_fix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 004dd076..cb7eed81 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -11,6 +11,7 @@ 6 | # General settings 7 | ############################################################################### 8 | cmake_minimum_required(VERSION 2.8 FATAL_ERROR) 9 | +cmake_policy(SET CMP0057 NEW) 10 | 11 | project(SOCI) 12 | 13 | -------------------------------------------------------------------------------- /packages/s/sockpp/patches/0.8.1/strerror.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/exception.cpp b/src/exception.cpp 2 | index 72aae7e..16d11ad 100644 3 | --- a/src/exception.cpp 4 | +++ b/src/exception.cpp 5 | @@ -66,7 +66,7 @@ string sys_error::error_str(int err) 6 | buf, sizeof(buf), NULL); 7 | #else 8 | #ifdef _GNU_SOURCE 9 | - #if !defined(__GLIBC__) 10 | + #if (!defined(__GLIBC__) && !defined(__ANDROID_API__)) || (defined(__ANDROID_API__) && __ANDROID_API__ < 23) 11 | // use the XSI standard behavior. 12 | int e = strerror_r(err, buf, sizeof(buf)); 13 | auto s = strerror(e); 14 | -------------------------------------------------------------------------------- /packages/s/sol2/patches/3.3.0/optional.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/sol/optional_implementation.hpp b/include/sol/optional_implementation.hpp 2 | index 26f41d0c..e22226d6 100644 3 | --- a/include/sol/optional_implementation.hpp 4 | +++ b/include/sol/optional_implementation.hpp 5 | @@ -2191,7 +2191,8 @@ namespace sol { 6 | static_assert(std::is_constructible::value, "T must be constructible with Args"); 7 | 8 | *this = nullopt; 9 | - this->construct(std::forward(args)...); 10 | + new (static_cast(this)) optional(std::in_place, std::forward(args)...); 11 | + return **this; 12 | } 13 | 14 | /// Swaps this optional with the other. 15 | -------------------------------------------------------------------------------- /packages/s/sse2rvv/xmake.lua: -------------------------------------------------------------------------------- 1 | package("sse2rvv") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/pattonkan/sse2rvv") 4 | set_description("A translator from Intel SSE intrinsics to RISCV-V Extension implementation") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/pattonkan/sse2rvv/archive/58b524e3f3cb8732118194f2920a343a5c5ce530.tar.gz", 8 | "https://github.com/pattonkan/sse2rvv.git") 9 | 10 | add_versions("2024.02.18", "e41e24195fda914c0ef85671c202e43d0e3bf86a63ece6564c539ad60f571bd1") 11 | 12 | on_install(function (package) 13 | assert(package:is_arch("riscv.*"), "package(sse2rvv): only support riscv") 14 | os.vcp("sse2rvv.h", package:installdir("include")) 15 | end) 16 | 17 | on_test(function (package) 18 | assert(package:has_cxxincludes("sse2rvv.h")) 19 | end) 20 | -------------------------------------------------------------------------------- /packages/s/stackwalker/patches/1.20/debug_build.patch: -------------------------------------------------------------------------------- 1 | --- a/CMakeLists.txt 2 | +++ b/CMakeLists.txt 3 | @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.5) 4 | 5 | if(NOT CMAKE_BUILD_TYPE) 6 | set(CMAKE_BUILD_TYPE Release) 7 | - #set(CMAKE_BUILD_TYPE Debug) 8 | + set(CMAKE_BUILD_TYPE Debug) 9 | endif() 10 | 11 | 12 | -------------------------------------------------------------------------------- /packages/s/strings_h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("strings_h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/win32ports/strings_h") 4 | set_description("header-only Windows implementation of the header") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/win32ports/strings_h.git") 8 | add_versions("2023.03.17", "822de6e8c368abb986b403792082189f3c602c45") 9 | 10 | on_install("windows", function (package) 11 | os.cp("strings.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_csnippets({test = [[ 16 | #include 17 | 18 | void test() { 19 | char buffer[6]; 20 | bcopy("hello", buffer, 5); 21 | } 22 | ]]})) 23 | end) 24 | -------------------------------------------------------------------------------- /packages/s/subprocess.h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("subprocess.h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/sheredom/subprocess.h") 4 | set_description("single header process launching solution for C and C++ ") 5 | 6 | add_urls("https://github.com/sheredom/subprocess.h.git") 7 | add_versions("2022.12.20", "cf95c9615953c90177498aed43621cb1cbc8f3e1") 8 | 9 | on_install("windows", "macosx", "linux", "mingw", "bsd", function (package) 10 | os.cp("*.h", package:installdir("include")) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:has_cfuncs("subprocess_create", {includes = "subprocess.h"})) 15 | end) 16 | -------------------------------------------------------------------------------- /packages/s/swxjson/patches/fix.diff: -------------------------------------------------------------------------------- 1 | diff --git a/src/swxJson.h b/src/swxJson.h 2 | index 0a32c22..c4cbe64 100644 3 | --- a/src/swxJson.h 4 | +++ b/src/swxJson.h 5 | @@ -17,6 +17,11 @@ 6 | #include 7 | #include "swxJsonUtils.h" 8 | 9 | +#ifdef _MSC_VER 10 | +#define strcasecmp _stricmp 11 | +#define strncasecmp _strnicmp 12 | +#endif 13 | + 14 | namespace swxJson { 15 | /******************************************************************* 16 | Exception 17 | diff --git a/src/swxJsonUtils.h b/src/swxJsonUtils.h 18 | index bc32a38..23cfbec 100644 19 | --- a/src/swxJsonUtils.h 20 | +++ b/src/swxJsonUtils.h 21 | @@ -2,7 +2,9 @@ 22 | #define SWX_JSON_UTILS_H 23 | 24 | #include 25 | -#include 26 | +#include 27 | +#include 28 | +#define bzero(b,len) (memset((b), '\0', (len)), (void) 0) 29 | 30 | namespace swxJson { 31 | 32 | -------------------------------------------------------------------------------- /packages/s/sys_time_h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("sys_time_h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/win32ports/sys_time_h") 4 | set_description("header-only Windows implementation of the header") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/win32ports/sys_time_h.git") 8 | add_versions("2023.03.22", "128ff475e1abc2aec0450f369bf91952a9bd2a3e") 9 | 10 | on_install("windows", function (package) 11 | os.cp("sys", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("gettimeofday", {includes = "sys/time.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/s/sys_wait_h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("sys_wait_h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/win32ports/sys_wait_h") 4 | set_description("header-only Windows implementation of the header") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/win32ports/sys_wait_h.git") 8 | add_versions("2019.05.12", "229dee8de9cb4c29a3a31115112a4175df84a8eb") 9 | 10 | on_install("windows", function (package) 11 | os.cp("sys", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("wait", {includes = "sys/wait.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/t/ta-lib/port/xmake.lua: -------------------------------------------------------------------------------- 1 | target("ta-lib") 2 | set_kind("static") 3 | add_includedirs("include", "src/ta_abstract", "src/ta_abstract/frames", "src/ta_common") 4 | add_files("src/ta_abstract/**.c") 5 | add_files("src/ta_common/**.c") 6 | add_files("src/ta_func/**.c") 7 | add_headerfiles("include/*.h)", {prefixdir = "ta-lib"}) -------------------------------------------------------------------------------- /packages/t/tabulate/xmake.lua: -------------------------------------------------------------------------------- 1 | package("tabulate") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/p-ranav/tabulate") 4 | set_description("Table Maker for Modern C++") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/p-ranav/tabulate/archive/refs/tags/$(version).tar.gz", 8 | "https://github.com/p-ranav/tabulate.git") 9 | 10 | add_versions("v1.5", "16b289f46306283544bb593f4601e80d6ea51248fde52e910cc569ef08eba3fb") 11 | 12 | on_install(function (package) 13 | os.cp("include", package:installdir()) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:check_cxxsnippets({test = [[ 18 | void test() { 19 | tabulate::Table test{}; 20 | } 21 | ]]}, {configs = {languages = "c++11"}, includes = "tabulate/table.hpp"})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/t/talloc/xmake.lua: -------------------------------------------------------------------------------- 1 | package("talloc") 2 | 3 | set_homepage("https://talloc.samba.org/talloc/doc/html/index.html") 4 | set_description("talloc is a hierarchical, reference counted memory pool system with destructors.") 5 | 6 | add_urls("https://www.samba.org/ftp/talloc/talloc-$(version).tar.gz") 7 | add_versions("2.3.3", "6be95b2368bd0af1c4cd7a88146eb6ceea18e46c3ffc9330bf6262b40d1d8aaa") 8 | 9 | add_configs("shared", {description = "Build shared library.", default = true, type = "boolean", readonly = true}) 10 | 11 | add_deps("python 3.x", {kind = "binary"}) 12 | on_install("macosx", "linux", function (package) 13 | import("package.tools.autoconf").install(package, {"--disable-python"}) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:has_cfuncs("talloc_init", {includes = "talloc.h"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/t/tbb/patches/2020.3/gcc13.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/tbb/task.h b/include/tbb/task.h 2 | index 5e137c69..b5fb1ac3 100644 3 | --- a/include/tbb/task.h 4 | +++ b/include/tbb/task.h 5 | @@ -249,7 +249,7 @@ namespace internal { 6 | #if __TBB_TASK_PRIORITY 7 | //! Pointer to the next offloaded lower priority task. 8 | /** Used to maintain a list of offloaded tasks inside the scheduler. **/ 9 | - task* next_offloaded; 10 | + tbb::task* next_offloaded; 11 | #endif 12 | 13 | #if __TBB_PREVIEW_RESUMABLE_TASKS 14 | -------------------------------------------------------------------------------- /packages/t/tbb/patches/2021.2.0/gcc11.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/tbb/scheduler_common.h b/src/tbb/scheduler_common.h 2 | index ee13dbf9..49052001 100644 3 | --- a/src/tbb/scheduler_common.h 4 | +++ b/src/tbb/scheduler_common.h 5 | @@ -219,7 +219,7 @@ inline void prolonged_pause_impl() { 6 | #endif 7 | 8 | inline void prolonged_pause() { 9 | -#if __TBB_WAITPKG_INTRINSICS_PRESENT && (_WIN32 || _WIN64 || __linux__) && (__TBB_x86_32 || __TBB_x86_64) 10 | +#if 0 11 | if (governor::wait_package_enabled()) { 12 | std::uint64_t time_stamp = machine_time_stamp(); 13 | // _tpause function directs the processor to enter an implementation-dependent optimized state 14 | -------------------------------------------------------------------------------- /packages/t/tcb-span/xmake.lua: -------------------------------------------------------------------------------- 1 | package("tcb-span") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/tcbrindle/span") 4 | set_description("Implementation of C++20's std::span for older compilers") 5 | set_license("BSL-1.0") 6 | 7 | add_urls("https://github.com/tcbrindle/span.git") 8 | 9 | add_versions("2022.06.15", "836dc6a0efd9849cb194e88e4aa2387436bb079b") 10 | 11 | on_install(function (package) 12 | os.cp("include", package:installdir()) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cxxincludes("tcb/span.hpp", {configs = {languages = "c++11"}})) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/t/termcap/patches/1.3.1/unistd_h.patch: -------------------------------------------------------------------------------- 1 | diff --git a/tparam.c b/tparam.c 2 | index 5a9809a..09ef456 100644 3 | --- a/tparam.c 4 | +++ b/tparam.c 5 | @@ -40,6 +40,10 @@ char *realloc (); 6 | 7 | #endif /* not emacs */ 8 | 9 | +#ifdef HAVE_UNISTD_H 10 | +#include 11 | +#endif 12 | + 13 | #ifndef NULL 14 | #define NULL (char *) 0 15 | #endif 16 | -------------------------------------------------------------------------------- /packages/t/tinydir/xmake.lua: -------------------------------------------------------------------------------- 1 | package("tinydir") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/cxong/tinydir") 4 | set_description("Lightweight, portable and easy to integrate C directory and file reader") 5 | 6 | add_urls("https://github.com/cxong/tinydir/archive/refs/tags/$(version).tar.gz", 7 | "https://github.com/cxong/tinydir.git") 8 | 9 | add_versions("1.2.6", "1ecbdf8d04b079f8a9404662708d2333d6b72b956effb0d5296d063db3a02b4e") 10 | 11 | on_install(function (package) 12 | os.cp("tinydir.h", package:installdir("include")) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:has_cfuncs("tinydir_open", {includes = "tinydir.h"})) 17 | end) 18 | -------------------------------------------------------------------------------- /packages/t/tinyjpeg/xmake.lua: -------------------------------------------------------------------------------- 1 | package("tinyjpeg") 2 | set_kind("libary", {headeronly = true}) 3 | set_homepage("https://github.com/serge-rgb/TinyJPEG") 4 | set_description("Single header lib for JPEG encoding. Public domain. C99. stb style.") 5 | 6 | add_urls("https://github.com/serge-rgb/TinyJPEG.git") 7 | add_versions("2022.08.20", "e978b746714abad76e0f00264d2a154b52de8fc1") 8 | 9 | on_install(function (package) 10 | os.cp("tiny_jpeg.h", package:installdir("include")) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:has_cfuncs("tje_encode_to_file", {includes = "tiny_jpeg.h"})) 15 | end) 16 | -------------------------------------------------------------------------------- /packages/t/tree-sitter/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | target("tree-sitter") 4 | set_kind("$(kind)") 5 | add_files("lib/src/lib.c") 6 | add_includedirs("lib/src", "lib/include") 7 | add_headerfiles("lib/include/(**.h)") 8 | 9 | if is_plat("windows") and is_kind("shared") then 10 | add_rules("utils.symbols.export_all") 11 | end 12 | -------------------------------------------------------------------------------- /packages/t/turbobase64/patches/2022.02.21/header.patch: -------------------------------------------------------------------------------- 1 | diff --git a/turbob64.h b/turbob64.h 2 | index 0149b77..2ddd838 100644 3 | --- a/turbob64.h 4 | +++ b/turbob64.h 5 | @@ -24,6 +24,9 @@ 6 | // Turbo-Base64 - C/C++ include header 7 | #ifndef _TURBOB64_H_ 8 | #define _TURBOB64_H_ 9 | + 10 | +#include 11 | + 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | -------------------------------------------------------------------------------- /packages/t/turbobase64/port/cmake/turbobase64-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | # Usage: 4 | # 5 | # find_pacakge(@PACKAGE_NAME@) 6 | # 7 | # add_executable(foo) 8 | # target_link_libraries(foo @PACKAGE_NAMESPACE@base64) 9 | 10 | set_and_check(@PACKAGE_NAME@_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@") 11 | set_and_check(@PACKAGE_NAME@_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@") 12 | 13 | set(@PACKAGE_NAME@_LIBRARIES @PACKAGE_NAMESPACE@base64) 14 | 15 | include(${CMAKE_CURRENT_LIST_DIR}/@PACKAGE_NAME@-targets.cmake) 16 | 17 | check_required_components(@PACKAGE_NAME@) 18 | -------------------------------------------------------------------------------- /packages/t/tweeny/xmake.lua: -------------------------------------------------------------------------------- 1 | package("tweeny") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("http://mobius3.github.io/tweeny") 4 | set_description("A modern C++ tweening library") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/mobius3/tweeny.git") 8 | 9 | add_versions("2023.05.09", "56aab8d0f9ee516c7b6014ba5212b5551efb590e") 10 | 11 | on_install(function (package) 12 | os.cp("include", package:installdir()) 13 | end) 14 | 15 | on_test(function (package) 16 | assert(package:check_cxxsnippets({test = [[ 17 | #include 18 | void test() { 19 | auto helloworld = tweeny::from('h','e','l','l','o').to('w','o','r','l','d').during(50); 20 | } 21 | ]]}, {configs = {languages = "c++11"}})) 22 | end) 23 | -------------------------------------------------------------------------------- /packages/u/uasm/patches/fix-bool.diff: -------------------------------------------------------------------------------- 1 | diff --git a/H/bool.h b/H/bool.h 2 | index fbf55c8..ddb7396 100644 3 | --- a/H/bool.h 4 | +++ b/H/bool.h 5 | @@ -30,10 +30,7 @@ 6 | ****************************************************************************/ 7 | 8 | 9 | -#if !defined( BOOL_DEFINED ) && !defined( bool ) && !(__WATCOMC__ >= 1070 && defined(__cplusplus)) 10 | - #define BOOL_DEFINED 11 | - typedef unsigned char bool; 12 | -#endif 13 | +#include 14 | #ifndef TRUE 15 | #define TRUE 1 16 | #endif 17 | -------------------------------------------------------------------------------- /packages/u/unistd_h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("unistd_h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/win32ports/unistd_h") 4 | set_description("header-only Windows implementation of the header") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/win32ports/unistd_h.git") 8 | add_versions("2019.07.30", "0dfc48c1bc67fa27b02478eefe0443b8d2750cc2") 9 | 10 | on_install("windows", "mingw", function (package) 11 | os.cp("unistd.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("access", {includes = "unistd.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/u/utest.h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("utest.h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://www.duskborn.com/utest_h/") 4 | set_description("single header unit testing framework for C and C++") 5 | 6 | add_urls("https://github.com/sheredom/utest.h.git") 7 | add_versions("2022.09.01", "d5d71b6623e23b3f860c996b31ec7bbfb0943119") 8 | 9 | on_install("windows", "linux", "bsd", "macosx", "mingw", "android", "iphoneos", "cross", function (package) 10 | os.cp("*.h", package:installdir("include")) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:check_csnippets({test = [[ 15 | #include "utest.h" 16 | UTEST(foo, bar) { 17 | ASSERT_TRUE(1); 18 | } 19 | ]]})) 20 | end) 21 | -------------------------------------------------------------------------------- /packages/u/utf8.h/xmake.lua: -------------------------------------------------------------------------------- 1 | package("utf8.h") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/sheredom/utf8.h") 4 | set_description("single header utf8 string functions for C and C++") 5 | 6 | add_urls("https://github.com/sheredom/utf8.h.git") 7 | add_versions("2022.07.04", "4e4d828174c35e4564c31a9e35580c299c69a063") 8 | add_versions("2025.01.03", "505f9bb638d023468d4f5db279ffbfe0b955949b") 9 | 10 | on_install(function (package) 11 | os.cp("*.h", package:installdir("include")) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:has_cfuncs("utf8casecmp", {includes = "utf8.h"})) 16 | end) 17 | -------------------------------------------------------------------------------- /packages/u/util-linux/patches/2.36.2/includes.patch: -------------------------------------------------------------------------------- 1 | diff --git a/lib/procutils.c b/lib/procutils.c 2 | --- a/lib/procutils.c 3 | +++ b/lib/procutils.c 4 | @@ -13,7 +13,12 @@ 5 | #include 6 | #include 7 | #include 8 | +#ifndef __APPLE__ 9 | #include 10 | +#else 11 | +#include 12 | +#include 13 | +#endif 14 | #include 15 | #include 16 | #include 17 | 18 | diff --git a/include/statfs_magic.c b/include/statfs_magic.c 19 | --- a/include/statfs_magic.h 20 | +++ b/include/statfs_magic.h 21 | @@ -1,7 +1,9 @@ 22 | #ifndef UTIL_LINUX_STATFS_MAGIC_H 23 | #define UTIL_LINUX_STATFS_MAGIC_H 24 | 25 | +#ifndef __APPLE__ 26 | #include 27 | +#endif 28 | 29 | /* 30 | * If possible then don't depend on internal libc __SWORD_TYPE type. 31 | -------------------------------------------------------------------------------- /packages/v/variant-lite/xmake.lua: -------------------------------------------------------------------------------- 1 | package("variant-lite") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/martinmoene/variant-lite") 4 | set_description("variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library") 5 | set_license("BSL-1.0") 6 | 7 | add_urls("https://github.com/martinmoene/variant-lite.git") 8 | add_versions("2022.12.03", "5015e841cf143487f2d7e2f619b618d455658fab") 9 | 10 | on_install(function (package) 11 | os.cp("include", package:installdir()) 12 | end) 13 | 14 | on_test(function (package) 15 | assert(package:check_cxxsnippets({test = [[ 16 | #include 17 | void test() { 18 | nonstd::variant var; 19 | } 20 | ]]})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/v/vectorial/xmake.lua: -------------------------------------------------------------------------------- 1 | package("vectorial") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/scoopr/vectorial") 4 | set_description("Vector math library with NEON/SSE support") 5 | 6 | add_urls("https://github.com/scoopr/vectorial.git") 7 | add_versions("2019.06.28", "3a00e8c00d017cb49b12eeffd7464246d172ea97") 8 | 9 | on_install(function (package) 10 | os.cp("include", package:installdir()) 11 | end) 12 | 13 | on_test(function (package) 14 | assert(package:check_cxxsnippets({test = [[ 15 | #include "vectorial/simd4f.h" 16 | void test() { 17 | simd4f a = simd4f_create(1,2,3,4); 18 | simd4f x = simd4f_sum(a); 19 | } 20 | ]]}, {configs = {languages = "c++11"}})) 21 | end) 22 | -------------------------------------------------------------------------------- /packages/v/veil/xmake.lua: -------------------------------------------------------------------------------- 1 | package("veil") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/MiroKaku/Veil") 4 | set_description("Windows internal undocumented API.") 5 | set_license("MIT") 6 | 7 | add_urls("https://github.com/MiroKaku/Veil.git") 8 | add_versions("2023.07.19", "56464db15ebede014195ba82e2dc46d302c83798") 9 | 10 | on_install("windows", function (package) 11 | package:add("syslinks", "ntdll") 12 | io.replace("Veil.h", "#pragma comment(lib, \"ntdll.lib\")", "", {plain = true}) 13 | 14 | os.cp("Veil", package:installdir("include")) 15 | os.cp("veil.h", package:installdir("include")) 16 | end) 17 | 18 | on_test(function (package) 19 | assert(package:has_cxxfuncs("NtReadFile", {includes = "veil.h"})) 20 | end) 21 | -------------------------------------------------------------------------------- /packages/w/wasm-micro-runtime/patches/2.2.0/log-link-android.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 40658e9..237bb62 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -172,6 +172,10 @@ if (WAMR_BUILD_STATIC) 6 | target_link_libraries(iwasm_static PRIVATE ntdll) 7 | endif() 8 | 9 | + if (ANDROID) 10 | + target_link_libraries(iwasm_static PRIVATE log) 11 | + endif() 12 | + 13 | install (TARGETS iwasm_static ARCHIVE DESTINATION lib) 14 | endif () 15 | 16 | @@ -194,6 +198,10 @@ if (WAMR_BUILD_SHARED) 17 | target_link_libraries(iwasm_shared PRIVATE ntdll) 18 | endif() 19 | 20 | + if (ANDROID) 21 | + target_link_libraries(iwasm_shared PRIVATE log) 22 | + endif() 23 | + 24 | install (TARGETS iwasm_shared LIBRARY DESTINATION lib) 25 | endif () 26 | 27 | -------------------------------------------------------------------------------- /packages/w/webdriverxx/patches/2023.04.22/fix_cxx23.patch: -------------------------------------------------------------------------------- 1 | diff --git a/include/webdriverxx/by.h b/include/webdriverxx/by.h 2 | index 0ee2a1b..3f5b44e 100644 3 | --- a/include/webdriverxx/by.h 4 | +++ b/include/webdriverxx/by.h 5 | @@ -8,7 +8,7 @@ namespace webdriverxx { 6 | 7 | class By { // copyable 8 | public: 9 | - By() : strategy_("css selector"), value_(nullptr) {} 10 | + By() : strategy_("css selector"), value_("") {} 11 | 12 | By(const std::string& strategy, const std::string& value) 13 | : strategy_(strategy) 14 | -------------------------------------------------------------------------------- /packages/w/webui/port/xmake.lua: -------------------------------------------------------------------------------- 1 | add_rules("mode.debug", "mode.release") 2 | 3 | option("log", {showmenu = true, default = true}) 4 | 5 | target("webui") 6 | set_kind("$(kind)") 7 | add_files("src/civetweb/civetweb.c", {defines = {"NO_CACHING", "NO_CGI", "NO_SSL", "USE_WEBSOCKET"}}) 8 | add_files("src/webui.c", (has_config("log") and {defines = "WEBUI_LOG"} or {})) 9 | add_headerfiles("include/webui.h", "include/webui.hpp") 10 | add_includedirs("include", "src/civetweb") 11 | if is_plat("windows") then 12 | add_syslinks("user32", "advapi32", "shell32", "ws2_32", "ole32") 13 | elseif is_plat("mingw") then 14 | add_syslinks("ws2_32") 15 | elseif is_plat("linux") then 16 | add_syslinks("pthread", "dl") 17 | end 18 | -------------------------------------------------------------------------------- /packages/w/woff2/patches/missing-gcc15-header.diff: -------------------------------------------------------------------------------- 1 | diff --git a/include/woff2/output.h b/include/woff2/output.h 2 | index c325f67..1e93620 100644 3 | --- a/include/woff2/output.h 4 | +++ b/include/woff2/output.h 5 | @@ -9,6 +9,8 @@ 6 | #ifndef WOFF2_WOFF2_OUT_H_ 7 | #define WOFF2_WOFF2_OUT_H_ 8 | 9 | +#include 10 | + 11 | #include 12 | #include 13 | #include 14 | -------------------------------------------------------------------------------- /packages/w/wyhash/xmake.lua: -------------------------------------------------------------------------------- 1 | package("wyhash") 2 | set_kind("library", {headeronly = true}) 3 | set_homepage("https://github.com/wangyi-fudan/wyhash") 4 | set_description("The FASTEST QUALITY hash function, random number generators (PRNG) and hash map.") 5 | set_license("Unlicense") 6 | 7 | add_urls("https://github.com/wangyi-fudan/wyhash.git") 8 | add_versions("2023.04.10", "77e50f267fbc7b8e2d09f2d455219adb70ad4749") 9 | add_versions("2024.06.07", "46cebe9dc4e51f94d0dca287733bc5a94f76a10d") 10 | 11 | on_install(function (package) 12 | os.cp("old_versions", package:installdir("include")) 13 | os.cp("*.h", package:installdir("include")) 14 | end) 15 | 16 | on_test(function (package) 17 | assert(package:has_cfuncs("wyhash", {includes = "wyhash.h"})) 18 | end) 19 | -------------------------------------------------------------------------------- /packages/x/xz/patches/5.2.13/fix-unknown-cmake-command.patch: -------------------------------------------------------------------------------- 1 | From 8f2a7e9160612d5aab8c0d2a5eac38fd2d54826c Mon Sep 17 00:00:00 2001 2 | From: Redbeanw44602 3 | Date: Thu, 24 Apr 2025 13:19:57 +0800 4 | Subject: [PATCH] fix unknown cmake command 5 | 6 | --- 7 | cmake/tuklib_large_file_support.cmake | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/cmake/tuklib_large_file_support.cmake b/cmake/tuklib_large_file_support.cmake 11 | index 0800faa..d29bd81 100644 12 | --- a/cmake/tuklib_large_file_support.cmake 13 | +++ b/cmake/tuklib_large_file_support.cmake 14 | @@ -14,6 +14,7 @@ 15 | 16 | include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake") 17 | include(CheckCSourceCompiles) 18 | +include(CMakePushCheckState) 19 | 20 | function(tuklib_large_file_support TARGET_OR_ALL) 21 | # MSVC must be handled specially in the C code. 22 | -- 23 | 2.49.0 24 | 25 | -------------------------------------------------------------------------------- /packages/y/yaml-cpp/patches/missing-gcc15-header.diff: -------------------------------------------------------------------------------- 1 | diff --git a/src/emitterutils.cpp b/src/emitterutils.cpp 2 | index 6cdf6de..dbd2590 100644 3 | --- a/src/emitterutils.cpp 4 | +++ b/src/emitterutils.cpp 5 | @@ -1,4 +1,5 @@ 6 | #include 7 | +#include 8 | #include 9 | #include 10 | 11 | -------------------------------------------------------------------------------- /packages/y/yasm/patches/fix-bool-gcc15.diff: -------------------------------------------------------------------------------- 1 | diff --git a/libyasm/bitvect.h b/libyasm/bitvect.h 2 | index 3aee3a5..9b84bf3 100644 3 | --- a/libyasm/bitvect.h 4 | +++ b/libyasm/bitvect.h 5 | @@ -80,11 +80,15 @@ typedef Z_longword *Z_longwordptr; 6 | #ifdef __cplusplus 7 | typedef bool boolean; 8 | #else 9 | - #ifdef MACOS_TRADITIONAL 10 | + #ifdef MACOS_TRADITIONAL 11 | #define boolean Boolean 12 | - #else 13 | - typedef enum boolean { false = FALSE, true = TRUE } boolean; 14 | - #endif 15 | + #else 16 | + #if __STDC_VERSION__ < 202311L 17 | + typedef enum boolean { false = FALSE, true = TRUE } boolean; 18 | + #else 19 | + typedef bool boolean; 20 | + #endif 21 | + #endif 22 | #endif 23 | 24 | /*****************************************************************************/ 25 | -------------------------------------------------------------------------------- /packages/z/zfp/patches/0.5.5/msvc.patch: -------------------------------------------------------------------------------- 1 | diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt 2 | --- a/utils/CMakeLists.txt 3 | +++ b/utils/CMakeLists.txt 4 | @@ -1,5 +1,10 @@ 5 | add_executable(zfpcmd zfp.c) 6 | -set_property(TARGET zfpcmd PROPERTY OUTPUT_NAME zfp) 7 | + 8 | +# protect against LNK1114: cannot overwrite the original file 'lib/Release/zfp.lib'; error code 32; 9 | +# rationale: linker can't handle the case of an executable file having the same name as a library file 10 | +if(NOT MSVC) 11 | + set_property(TARGET zfpcmd PROPERTY OUTPUT_NAME zfp) 12 | +endif() 13 | target_link_libraries(zfpcmd zfp) 14 | if(HAVE_LIBM_MATH) 15 | target_link_libraries(zfpcmd m) 16 | -------------------------------------------------------------------------------- /scripts/list.lua: -------------------------------------------------------------------------------- 1 | import("packages") 2 | 3 | function main(...) 4 | for plat, pkgs in pairs(packages()) do 5 | cprint("${magenta}%s${clear}:", plat) 6 | for _, pkg in ipairs(pkgs) do 7 | if pkg.generic then 8 | cprint(" ${yellow}->${clear} %s", pkg.name) 9 | else 10 | cprint(" ${yellow}->${clear} %s (%s)", pkg.name, table.concat(pkg.archs, ", ")) 11 | end 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /scripts/sync.lua: -------------------------------------------------------------------------------- 1 | import("core.base.option") 2 | 3 | function main() 4 | print("update xmake-repo ..") 5 | os.exec("git clone git@github.com:xmake-io/xmake-repo.git -b dev --recurse-submodules") 6 | os.cd("xmake-repo") 7 | os.exec("git push git@gitlab.com:tboox/xmake-repo.git dev") 8 | os.exec("git push git@gitee.com:tboox/xmake-repo.git dev") 9 | os.exec("git push git@gitcode.com:xmake-io/xmake-repo.git dev") 10 | os.exec("git checkout master") 11 | os.exec("git merge dev") 12 | os.exec("git push git@github.com:xmake-io/xmake-repo.git master") 13 | os.exec("git push git@gitlab.com:tboox/xmake-repo.git master") 14 | os.exec("git push git@gitee.com:tboox/xmake-repo.git master") 15 | os.exec("git push git@gitcode.com:xmake-io/xmake-repo.git master") 16 | end 17 | --------------------------------------------------------------------------------