Codebase list netplan.io / 6f165ef
[ Debian Janitor ] [ ] Drop patch 0002-Makefile-fix-escaping-in-_features.h-103.patch, present upstream. Debian Janitor 4 years ago
3 changed file(s) with 5 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
00 netplan.io (0.99-1) UNRELEASED; urgency=medium
11
2 [ Debian Janitor ]
23 * New upstream release.
4
5 [ ]
6 * Drop patch 0002-Makefile-fix-escaping-in-_features.h-103.patch,
7 present upstream.
38
49 -- Debian Janitor <janitor@jelmer.uk> Tue, 21 Apr 2020 17:05:58 +0000
510
+0
-25
debian/patches/0002-Makefile-fix-escaping-in-_features.h-103.patch less more
0 From 43d80a655a450b9855b14477f1c921e5ebc05281 Mon Sep 17 00:00:00 2001
1 From: Kexy Biscuit <kexybiscuit@outlook.com>
2 Date: Thu, 3 Oct 2019 04:37:18 +0800
3 Subject: [PATCH 2/3] Makefile: fix escaping in _features.h (#103)
4
5 ---
6 Makefile | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/Makefile b/Makefile
10 index d89eb26..c9921ed 100644
11 --- a/Makefile
12 +++ b/Makefile
13 @@ -36,7 +36,7 @@ netplan-dbus: src/dbus.c src/_features.h
14 $(CC) $(BUILDFLAGS) $(CFLAGS) -o $@ $^ `pkg-config --cflags --libs libsystemd glib-2.0`
15
16 src/_features.h: src/[^_]*.[hc]
17 - echo "#include <stddef.h>\nstatic const char *feature_flags[] __attribute__((__unused__)) = {" > $@
18 + printf "#include <stddef.h>\nstatic const char *feature_flags[] __attribute__((__unused__)) = {\n" > $@
19 awk 'match ($$0, /netplan-feature:.*/ ) { $$0=substr($$0, RSTART, RLENGTH); print "\""$$2"\"," }' $^ >> $@
20 echo "NULL, };" >> $@
21
22 --
23 2.20.1
24
00 0001-Refresh-devices-after-restarting-backends-some-new-d.patch
1 0002-Makefile-fix-escaping-in-_features.h-103.patch
21 0003-Honor-LDFLAGS-when-building-netplan-dbus-105.patch