File: drop-no-pie.patch

package info (click to toggle)
praat 6.4.47%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 237,816 kB
  • sloc: cpp: 1,464,323; ansic: 288,959; makefile: 976; python: 340; sh: 35
file content (28 lines) | stat: -rw-r--r-- 995 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Drop -no-pie option from LIBS
 This avoids the Lintian warning hardening-no-pie.
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2025-11-14

--- praat-6.4.47+dfsg.orig/makefiles/makefile.defs.linux.nogui
+++ praat-6.4.47+dfsg/makefiles/makefile.defs.linux.nogui
@@ -18,7 +18,7 @@ CXXFLAGS = -std=c++17 $(COMMONFLAGS) -Ws
 
 EXECUTABLE = praat_nogui
 
-LIBS = `$(PKG_CONFIG) --libs pangocairo` -no-pie -lm -static-libgcc -static-libstdc++ -lpthread
+LIBS = `$(PKG_CONFIG) --libs pangocairo` -lm -static-libgcc -static-libstdc++ -lpthread
 
 AR = ar
 RANLIB = ls
--- praat-6.4.47+dfsg.orig/makefiles/makefile.defs.linux.pulse-gcc
+++ praat-6.4.47+dfsg/makefiles/makefile.defs.linux.pulse-gcc
@@ -17,7 +17,7 @@ CXXFLAGS = -std=c++17 $(COMMONFLAGS) -Ws
 
 EXECUTABLE = praat
 
-LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -no-pie -lm -lpulse -lasound -lpthread
+LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -lm -lpulse -lasound -lpthread
 
 AR = ar
 RANLIB = ls