peazip/peazip-build_PIE.patch
Paolo Stivanin 34f5341c88 - Update to 10.2.0:
* enhances detection of issues in archives
  * improves displaying archive comments
  * adds support for Brotli and Zstandard maximum compression
  * updates app's icon to unify the look & feel on all platforms.
  * 7z backend is updated to 24.09
  * PEA is updated to 1.22 introducing hybrid KDF mode, employing both PBKDF2 and Scrypt to increase resiliency against dictionary and brute force password-recovery attacks.
  * Qt6 packages replace Qt5 ones, and Flatpak is now built for Wayland (with fallback X11 option).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=139
2025-01-04 13:39:39 +00:00

34 lines
1.1 KiB
Diff

From: Luigi Baldoni <aloisio@gmx.com>
Date: 2018-02-11 13:31:28 +0100
Subject: Build PIE binaries
Set lazarus project files so that we produce position
independent executables.
Index: peazip-10.0.0.src/dev/project_pea.lpi
===================================================================
--- peazip-10.0.0.src.orig/dev/project_pea.lpi
+++ peazip-10.0.0.src/dev/project_pea.lpi
@@ -584,6 +584,8 @@
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-10.0.0.src/dev/project_peach.lpi
===================================================================
--- peazip-10.0.0.src.orig/dev/project_peach.lpi
+++ peazip-10.0.0.src/dev/project_peach.lpi
@@ -1659,6 +1659,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>