tint2: add provenance for patch and another fix

This commit is contained in:
Stefan Frijters
2025-10-14 11:21:04 +02:00
parent 0c9e2f7605
commit 5816f0b2de

View File

@@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
url = "https://gitlab.com/nick87720z/tint2/uploads/7de4501a4fa4fffa5ba8bb0fa3d19f78/glib.patch";
hash = "sha256-K547KYlRkVl1s2THi3ZCRuM447EFJwTqUEBjKQnV8Sc=";
})
# https://gitlab.com/nick87720z/tint2/-/merge_requests/4
./fix-cmake-version.patch
];
@@ -81,6 +82,7 @@ stdenv.mkDerivation rec {
postPatch = ''
# Add missing dependency on libm
# https://gitlab.com/nick87720z/tint2/-/merge_requests/3
substituteInPlace src/tint2conf/CMakeLists.txt \
--replace-fail "RSVG_LIBRARIES} )" "RSVG_LIBRARIES} m)"