SHA256
1
0
forked from pool/peazip
peazip/peazip-build_PIE.patch
Guillaume GARDET ad990efddd Accepting request 970050 from home:polslinux:branches:devel:languages:pascal
- Update to 8.6.0:
  BACKEND
    * Pea 1.07
    * 7z updated to 21.07
    * (Linux) Zstd 1.5.2
  CODE
    * Fixed dictionary size for ZIP using XZ compression
    * Compiled with Lazarus 2.2.0
    * Various fixes
  FILE MANAGER
    * Improved theming
    * New .ico and .png icons are now available in (peazip)/res/share/icons
      directory for customizing the application on Linux, macOS, and Windows systems
    * Simplified organization of UI layout
    * Added link to devices mounted in /var/run/media in filesystem treeview, when applicable
    * File / archive browser can now alternatively display larger details,
      and large list modes (from Style menu on status bar) in order to improve readability and touch usability
  EXTRACTION and ARCHIVING
    * Added "Immediate execution" option for Profiles and Presets, in Add button's dropdown menu
    * Added command line switches to compress items using one of the compression presets
      or loading a saved custom compression setting
    * Added option to not immediately save edited files into archive, keeping changes for further editing
      (or for manually saving to archive from context menu, More submenu)
    * Labels in status bar of Archiving and Extraction screens are clickable to show synthetic information about the task
    * Improved compression settings
    * Improved usage of Layouts
- Switch from GTK2 to QT5

OBS-URL: https://build.opensuse.org/request/show/970050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=98
2022-04-14 08:55:05 +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-8.6.0.src/project_pea.lpi
===================================================================
--- peazip-8.6.0.src.orig/project_pea.lpi
+++ peazip-8.6.0.src/project_pea.lpi
@@ -552,6 +552,8 @@
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-8.6.0.src/project_peach.lpi
===================================================================
--- peazip-8.6.0.src.orig/project_peach.lpi
+++ peazip-8.6.0.src/project_peach.lpi
@@ -1591,6 +1591,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>