Comments (3)
See #37851.
Please temporarily use the patch workaround.
diff --git a/ports/libcap/portfile.cmake b/ports/libcap/portfile.cmake
index f5e3830a1..fc9218935 100644
--- a/ports/libcap/portfile.cmake
+++ b/ports/libcap/portfile.cmake
@@ -1,11 +1,9 @@
-vcpkg_download_distfile(ARCHIVE
- URLS "https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-${VERSION}.tar.gz"
- FILENAME "libcap-${VERSION}.tar.gz"
- SHA512 b243ae403d45af2ff1204931b9e24c3b7f3e0c444f1ff2f3ed524c212b61a7ff1bc3c98df1855b2f0d300ebabf604b95440cdaddd666914ad60575e2e2f29fe8
-)
-
-vcpkg_extract_source_archive(SOURCE_PATH
- ARCHIVE "${ARCHIVE}"
+vcpkg_from_git(
+ OUT_SOURCE_PATH SOURCE_PATH
+ URL https://git.kernel.org/pub/scm/libs/libcap/libcap.git
+ FETCH_REF "libcap-${VERSION}"
+ REF 8bed80f9b54b7bd2a1ee1fdc2124a094733c9356
+ HEAD_REF "master"
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/configure" DESTINATION "${SOURCE_PATH}")
from vcpkg.
Hi @WangWeiLin-MV , thanks for your comment. Is there a specific procedure to apply that patch without having to add custom ports and all that jazz to my repo? We're not even depending on libcap ourselves, just want to install SDL2...
from vcpkg.
@Arcnor This patch can applied by saving it as a file then git apply _saved_filename_
, then add option to vcpkg install with --overlay-ports=ports/libcap
from vcpkg.
Related Issues (20)
- [hwloc] build failure on windows HOT 2
- [openssl] Build error on x64-windows HOT 1
- [gdal] Build error on x64-windows HOT 1
- [ecal] update to 5.13
- [zlib] x64-windows-static build failure HOT 4
- [ms-quic] update to 2.3.5
- [zlib] Build error on x64-windows HOT 2
- [jemalloc] Build error HOT 1
- [ring-span-lite] update to 0.7.0
- [fastcdr] update to 2.2.1 HOT 3
- [opengl] Build error on x64-windows HOT 1
- [boost-coroutine] Build error on x64-windows-static HOT 6
- [chromium-base] Build error on x64-windows HOT 10
- [activemq-cpp] cmake configuration failure HOT 5
- [protobuf] Build error on x64-windows HOT 1
- Many packages fail with the same: fatal error RC1107: invalid usage HOT 9
- [coin-or-cbc] pre-release-version is used HOT 2
- [mbedtls] Build error on arm64-osx with Homebrew LLVM@18. Build failure reported as Ninja not found HOT 2
- [boost-filesystem] Error linking with boost-filesystem whilst using Emscripten HOT 4
- [expected-lite] update to 0.7.0 + 0.8.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.