Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxc/files/
Date: Wed, 03 Jan 2018 11:06:52
Message-Id: 1514977603.82fc7433c33e2356188503b0e58e4c74bb2e8542.monsieurp@gentoo
1 commit: 82fc7433c33e2356188503b0e58e4c74bb2e8542
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 27 08:32:51 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 11:06:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fc7433
7
8 app-emulation/lxc: remove unused patch.
9
10 Closes: https://github.com/gentoo/gentoo/pull/6648
11
12 app-emulation/lxc/files/lxc-2.0.6-major.patch | 74 ---------------------------
13 1 file changed, 74 deletions(-)
14
15 diff --git a/app-emulation/lxc/files/lxc-2.0.6-major.patch b/app-emulation/lxc/files/lxc-2.0.6-major.patch
16 deleted file mode 100644
17 index beb379a5388..00000000000
18 --- a/app-emulation/lxc/files/lxc-2.0.6-major.patch
19 +++ /dev/null
20 @@ -1,74 +0,0 @@
21 -Adapt to future removal of major()/minor()/makedev() from <sys/types.h>
22 -
23 -Gentoo removed it in glibc-2.24.
24 -
25 -https://bugs.gentoo.org/575232
26 -https://bugs.gentoo.org/604360
27 -diff --git a/configure.ac b/configure.ac
28 -index 4640c0d..71e6450 100644
29 ---- a/configure.ac
30 -+++ b/configure.ac
31 -@@ -620,4 +620,7 @@ AC_CHECK_DECLS([PR_CAPBSET_DROP], [], [], [#include <sys/prctl.h>])
32 - AC_CHECK_HEADERS([sys/signalfd.h pty.h ifaddrs.h sys/capability.h sys/personality.h utmpx.h sys/timerfd.h])
33 -
34 -+# lookup major()/minor()/makedev()
35 -+AC_HEADER_MAJOR
36 -+
37 - # Check for some syscalls functions
38 - AC_CHECK_FUNCS([setns pivot_root sethostname unshare rand_r confstr faccessat])
39 -diff --git a/src/lxc/bdev/lxclvm.c b/src/lxc/bdev/lxclvm.c
40 -index 3d41b10..419d1c2 100644
41 ---- a/src/lxc/bdev/lxclvm.c
42 -+++ b/src/lxc/bdev/lxclvm.c
43 -@@ -33,8 +33,17 @@
44 -
45 - #include "bdev.h"
46 -+#include "config.h"
47 - #include "log.h"
48 - #include "lxclvm.h"
49 - #include "utils.h"
50 -
51 -+/* major()/minor() */
52 -+#ifdef MAJOR_IN_MKDEV
53 -+# include <sys/mkdev.h>
54 -+#endif
55 -+#ifdef MAJOR_IN_SYSMACROS
56 -+# include <sys/sysmacros.h>
57 -+#endif
58 -+
59 - lxc_log_define(lxclvm, lxc);
60 -
61 -diff --git a/src/lxc/conf.c b/src/lxc/conf.c
62 -index c54ee41..9a00e7f 100644
63 ---- a/src/lxc/conf.c
64 -+++ b/src/lxc/conf.c
65 -@@ -40,4 +40,12 @@
66 - #include <time.h>
67 -
68 -+/* makedev() */
69 -+#ifdef MAJOR_IN_MKDEV
70 -+# include <sys/mkdev.h>
71 -+#endif
72 -+#ifdef MAJOR_IN_SYSMACROS
73 -+# include <sys/sysmacros.h>
74 -+#endif
75 -+
76 - #ifdef HAVE_STATVFS
77 - #include <sys/statvfs.h>
78 -diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c
79 -index 3a9e1e3..fe75fcc 100644
80 ---- a/src/lxc/lxccontainer.c
81 -+++ b/src/lxc/lxccontainer.c
82 -@@ -62,4 +62,12 @@
83 - #include "version.h"
84 -
85 -+/* major()/minor() */
86 -+#ifdef MAJOR_IN_MKDEV
87 -+# include <sys/mkdev.h>
88 -+#endif
89 -+#ifdef MAJOR_IN_SYSMACROS
90 -+# include <sys/sysmacros.h>
91 -+#endif
92 -+
93 - #if HAVE_IFADDRS_H
94 - #include <ifaddrs.h>