lazarus: 3.6-0 -> 4.0-0 (#408038)

This commit is contained in:
7c6f434c
2025-05-18 15:27:04 +00:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -55,6 +55,9 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace restranslator.pas --replace /usr/ $out/
# Fix build with lazarus 4.0, https://github.com/transmission-remote-gui/transgui/issues/1486
substituteInPlace main.pas --replace-warn "h <> INVALID_HANDLE_VALUE" "h >= 0"
'';
preBuild = ''
+2 -2
View File
@@ -27,7 +27,7 @@
# 1. the build date is embedded in the binary through `$I %DATE%` - we should dump that
let
version = "3.6-0";
version = "4.0-0";
# as of 2.0.10 a suffix is being added. That may or may not disappear and then
# come back, so just leave this here.
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${majorMinorPatch version}/lazarus-${version}.tar.gz";
hash = "sha256-5luQNn9jvxfLe/NfW+acnvcEyklOkdjGfQcuM3P6sIU=";
hash = "sha256-vIM7RxzXqCYSiavND1OhFjuMcG5FmD+zq6kmEiM5z8s=";
};
postPatch = ''