From e9ae0521af55e8a99243cae072646b3989bf892038c82b01c6eeb8260e873156 Mon Sep 17 00:00:00 2001 From: Paolo Stivanin Date: Wed, 17 Jan 2024 07:00:33 +0000 Subject: [PATCH] - Add peazip-lazfileutils.patch (patch by Frank). This fix is backward compatible with Lazarus 2.x.y, because unit LazFileUtils already exists there too. They just moved a few things from FileUtils to LazFileUtils. OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=120 --- peazip-lazfileutils.patch | 13 +++++++++++++ peazip.changes | 8 ++++++++ peazip.spec | 5 ++++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 peazip-lazfileutils.patch diff --git a/peazip-lazfileutils.patch b/peazip-lazfileutils.patch new file mode 100644 index 0000000..315b0b2 --- /dev/null +++ b/peazip-lazfileutils.patch @@ -0,0 +1,13 @@ +Index: peazip-9.6.0.src/dev/peach.pas +=================================================================== +--- peazip-9.6.0.src.orig/dev/peach.pas ++++ peazip-9.6.0.src/dev/peach.pas +@@ -369,7 +369,7 @@ hash, adler32, CRC16, CRC24, CRC32, CRC6 + SHA256, SHA3_512, SHA512, Whirl512, Blake2s, Blake2b, mem_util, AES_EAX, FCAES256, + list_utils,pea_utils,ansiutf8_utils,img_utils, + unit_gwrap,unit1,unit2,unit3,unit5,unit6,Unit7,Unit8,Unit9,Unit10,Unit11,Unit12,Unit13,Unit14, +-Classes, SysUtils, Process, UTF8Process, dateutils, fileutil, Types; ++Classes, SysUtils, Process, UTF8Process, dateutils, fileutil, lazfileutils, Types; + + type + diff --git a/peazip.changes b/peazip.changes index 605f1b8..c12adae 100644 --- a/peazip.changes +++ b/peazip.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jan 17 06:59:09 UTC 2024 - Paolo Stivanin + +- Add peazip-lazfileutils.patch (patch by Frank). + This fix is backward compatible with Lazarus 2.x.y, because unit + LazFileUtils already exists there too. They just moved a few + things from FileUtils to LazFileUtils. + ------------------------------------------------------------------- Fri Dec 22 06:31:46 UTC 2023 - Paolo Stivanin diff --git a/peazip.spec b/peazip.spec index 7f22e09..0b63f74 100644 --- a/peazip.spec +++ b/peazip.spec @@ -1,7 +1,7 @@ # # spec file for package peazip # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,8 @@ Patch2: peazip-build_PIE.patch Patch3: peazip-help_path.patch # PATCH-FEATURE-OPENSUSE peazip-debuginfo.patch Patch4: peazip-debuginfo.patch +# PATCH-FIX-UPSTREAM .. +Patch5: peazip-lazfileutils.patch BuildRequires: arc BuildRequires: brotli BuildRequires: dos2unix @@ -42,6 +44,7 @@ BuildRequires: fdupes BuildRequires: fpc BuildRequires: fpc-src BuildRequires: kf5-filesystem +BuildRequires: lazarus-ide BuildRequires: lazarus-lcl-qt5 BuildRequires: lazarus-tools BuildRequires: libX11-devel