SHA256
1
0
forked from pool/peazip
peazip/peazip-build_PIE.patch
Paolo Stivanin a3631c3d14 - Update to 9.3.0:
BACKEND
    * 7z 23.01 (Linux, macOS, Windows)
    * Pea 1.13
  FILE MANAGER
    * Added column to display file-level comment in archives (default hidden)
    * While browsing an archive, the information popup (clicking on status bar) shows if the archive type can be edited in PeaZip
    * Updated Themes
  EXTRACTION and ARCHIVING
    * Added checkbox to manually set RAR binary for Custom / RAR compression format
    * Various fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=114
2023-07-20 14:07:44 +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-9.3.0.src/dev/project_pea.lpi
===================================================================
--- peazip-9.3.0.src.orig/dev/project_pea.lpi
+++ peazip-9.3.0.src/dev/project_pea.lpi
@@ -556,6 +556,8 @@
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-9.3.0.src/dev/project_peach.lpi
===================================================================
--- peazip-9.3.0.src.orig/dev/project_peach.lpi
+++ peazip-9.3.0.src/dev/project_peach.lpi
@@ -1632,6 +1632,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>