SHA256
1
0
forked from pool/peazip
peazip/peazip-build_PIE.patch
Luigi Baldoni 7ded56fede Accepting request 694020 from home:alois:branches:devel:languages:pascal
- Update to version 6.7.2
  * More streamlined GUI for archiving and extraction, that can
    now be sent in background to system tray,
  * Smart extraction to new folder (to avoid extracting multiple
    items to destination, and for removing unnecessary levels of
    nesting),
  * Several improvements and fixes.
  * Multiple archiving and extraction tasks are now performed in
    a single instance, easier to hide, move or resize, providing
    progress bars for current task and for overall process.
  * A total of 188 file extensions can now be managed by PeaZip.
- Refreshed peazip-build_PIE.patch and peazip-help_path.patch

OBS-URL: https://build.opensuse.org/request/show/694020
OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=46
2019-04-14 09:28:30 +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-6.7.2.src/project_pea.lpi
===================================================================
--- peazip-6.7.2.src.orig/project_pea.lpi
+++ peazip-6.7.2.src/project_pea.lpi
@@ -485,6 +485,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-6.7.2.src/project_peach.lpi
===================================================================
--- peazip-6.7.2.src.orig/project_peach.lpi
+++ peazip-6.7.2.src/project_peach.lpi
@@ -1411,6 +1411,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>