blob: 18c4641b221de7fffaa17267fc61a8588d0ff07b [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From 891076c2cf4298b5d587545497f4831f0d21caa1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 16 Sep 2022 20:04:43 -0700
4Subject: [PATCH 2/2] interactive-helper: Undefine _FORTIFY_SOURCE
5
6This ensures that it compiles when clang compiler is passing
7-DFORTIFY_SOURCES=2
8
9Upstream-Status: Submitted [https://salsa.debian.org/apt-team/apt/-/merge_requests/259]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 test/interactive-helper/libnoprofile.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/test/interactive-helper/libnoprofile.c b/test/interactive-helper/libnoprofile.c
16index f11b898..b26ec2a 100644
17--- a/test/interactive-helper/libnoprofile.c
18+++ b/test/interactive-helper/libnoprofile.c
19@@ -1,4 +1,5 @@
20 #define _GNU_SOURCE
21+#undef _FORTIFY_SOURCE
22 #include <stdarg.h>
23 #include <stdlib.h>
24 #include <string.h>
25--
262.37.3
27