1 |
commit: e1a04b44f120ea51aabe2d37b67340ce80a0e548 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 24 18:12:02 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 07:30:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a04b44 |
7 |
|
8 |
sys-kernel/rt-sources: remove unused patch(es) |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/16402 |
11 |
Package-Manager: Portage-2.3.101, Repoman-2.3.22 |
12 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
.../rt-sources/files/rt-sources-posix-printf.patch | 40 ---------------------- |
16 |
1 file changed, 40 deletions(-) |
17 |
|
18 |
diff --git a/sys-kernel/rt-sources/files/rt-sources-posix-printf.patch b/sys-kernel/rt-sources/files/rt-sources-posix-printf.patch |
19 |
deleted file mode 100644 |
20 |
index 81ebcaf0eca..00000000000 |
21 |
--- a/sys-kernel/rt-sources/files/rt-sources-posix-printf.patch |
22 |
+++ /dev/null |
23 |
@@ -1,40 +0,0 @@ |
24 |
-From 651e54953b5d4ad103f0efa54fc6b380807fca3a Mon Sep 17 00:00:00 2001 |
25 |
-From: Thomas Schneider <qsx@×××.re> |
26 |
-Date: Fri, 14 Oct 2016 21:29:49 +0200 |
27 |
-Subject: security/apparmor: Use POSIX-compatible "printf '%s'" |
28 |
- |
29 |
-When using a strictly POSIX-compliant shell, "-n #define ..." gets |
30 |
-written into the file. Use "printf '%s'" to avoid this. |
31 |
- |
32 |
-Signed-off-by: Thomas Schneider <qsx@×××.re> |
33 |
-Signed-off-by: John Johansen <john.johansen@×××××××××.com> |
34 |
---- |
35 |
- security/apparmor/Makefile | 4 ++-- |
36 |
- 1 file changed, 2 insertions(+), 2 deletions(-) |
37 |
- |
38 |
-(limited to 'security/apparmor') |
39 |
- |
40 |
-diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile |
41 |
-index ad369a7..2ded2f1 100644 |
42 |
---- a/security/apparmor/Makefile |
43 |
-+++ b/security/apparmor/Makefile |
44 |
-@@ -20,7 +20,7 @@ cmd_make-caps = echo "static const char *const capability_names[] = {" > $@ ;\ |
45 |
- sed $< >>$@ -r -n -e '/CAP_FS_MASK/d' \ |
46 |
- -e 's/^\#define[ \t]+CAP_([A-Z0-9_]+)[ \t]+([0-9]+)/[\2] = "\L\1",/p';\ |
47 |
- echo "};" >> $@ ;\ |
48 |
-- echo -n '\#define AA_FS_CAPS_MASK "' >> $@ ;\ |
49 |
-+ printf '%s' '\#define AA_FS_CAPS_MASK "' >> $@ ;\ |
50 |
- sed $< -r -n -e '/CAP_FS_MASK/d' \ |
51 |
- -e 's/^\#define[ \t]+CAP_([A-Z0-9_]+)[ \t]+([0-9]+)/\L\1/p' | \ |
52 |
- tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@ |
53 |
-@@ -56,7 +56,7 @@ cmd_make-rlim = echo "static const char *const rlim_names[RLIM_NLIMITS] = {" \ |
54 |
- echo "static const int rlim_map[RLIM_NLIMITS] = {" >> $@ ;\ |
55 |
- sed -r -n "s/^\# ?define[ \t]+(RLIMIT_[A-Z0-9_]+).*/\1,/p" $< >> $@ ;\ |
56 |
- echo "};" >> $@ ; \ |
57 |
-- echo -n '\#define AA_FS_RLIMIT_MASK "' >> $@ ;\ |
58 |
-+ printf '%s' '\#define AA_FS_RLIMIT_MASK "' >> $@ ;\ |
59 |
- sed -r -n 's/^\# ?define[ \t]+RLIMIT_([A-Z0-9_]+).*/\L\1/p' $< | \ |
60 |
- tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@ |
61 |
- |
62 |
--- |
63 |
-cgit v1.1 |