File: 020_use-distro-fortify-source.patch

package info (click to toggle)
detox 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,500 kB
  • sloc: ansic: 2,496; sh: 1,468; yacc: 234; makefile: 189; lex: 68; php: 32
file content (30 lines) | stat: -rw-r--r-- 856 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
29
30
Description: Allow distro build flags to define _FORTIFY_SOURCE
Author: Nick Rosbrook <enr0n@ubuntu.com>
Bug-Debian: https://bugs.debian.org/1080967
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2079767
Forwarded: not-needed
Last-Update: 2024-09-05
Index: detox/src/Makefile.am
===================================================================
--- detox.orig/src/Makefile.am
+++ detox/src/Makefile.am
@@ -11,7 +11,6 @@ AM_CFLAGS = \
 	-DSYSCONFDIR=\"$(sysconfdir)\" \
 	-DYY_NO_INPUT \
 	-DYY_NO_UNPUT \
-	-D_FORTIFY_SOURCE=2 \
 	-Wall \
 	-Werror
 
Index: detox/tests/unit/Makefile.am
===================================================================
--- detox.orig/tests/unit/Makefile.am
+++ detox/tests/unit/Makefile.am
@@ -7,7 +7,6 @@ AM_CFLAGS = \
 	@CHECK_CFLAGS@ \
 	-DYY_NO_INPUT \
 	-DYY_NO_UNPUT \
-	-D_FORTIFY_SOURCE=2 \
 	-Wall \
 	-Werror