gammu/0001-Enable-fPIE-pie.patch
Lars Vogdt 34c84964da Accepting request 670204 from home:mnhauke
- Update to version 1.40.0
  * Added SMSD configuration option RetryTimeout.
  * Removed non configurable sleep after failed message send.
  * SMSD now tries to store whole decoded text for concatenated
    messages in the first entry in database.
  * Improved compatibility with Sierra SL8084TR.
  * Added support for delivery reports stored in SR memory.
  * Configure CNMI parameters for AT driver.
- Create dedicated subpackage for bash-completion
- Specfile cleanup
  * Removed all stuff that is not necessary for building on modern
    SUSE systems
  * Use cmake macros
  * Use pkg-config style dependencies
  * Use https for URLs
  * Run spec-cleaner
- Add patch:
  * 0001-Enable-fPIE-pie.patch

OBS-URL: https://build.opensuse.org/request/show/670204
OBS-URL: https://build.opensuse.org/package/show/hardware/gammu?expand=0&rev=44
2019-02-08 18:18:13 +00:00

28 lines
865 B
Diff

From 9eceadea72d667c89d578cb4bd3cb89fc0663e0c Mon Sep 17 00:00:00 2001
From: Martin Hauke <mardnh@gmx.de>
Date: Wed, 30 Jan 2019 21:37:26 +0100
Subject: [PATCH] Enable -fPIE / -pie
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d63a8c3..c670a6a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -507,8 +507,8 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_MINGW OR
add_definitions(-D_FORTIFY_SOURCE=2)
# Text address randomisation, disabled for now, seems to cause problems
- # MACRO_TUNE_COMPILER("-fPIE")
- # MACRO_TUNE_LINKER("-pie")
+ MACRO_TUNE_COMPILER("-fPIE")
+ MACRO_TUNE_LINKER("-pie")
# These do not work on Windows right now
if (NOT WIN32)
# Stack protector
--
2.16.4