1 |
commit: a513ac76630b5c4dfe3b37d8757665292d0be101 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 29 02:41:45 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 29 02:43:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a513ac76 |
7 |
|
8 |
sys-process/criu: fix build |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
sys-process/criu/criu-3.12.ebuild | 3 +-- |
14 |
sys-process/criu/files/criu-3.12-automagic-libbsd.patch | 13 +++++++++++++ |
15 |
2 files changed, 14 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-process/criu/criu-3.12.ebuild b/sys-process/criu/criu-3.12.ebuild |
18 |
index 09d8af6c2b8..9001e1cf751 100644 |
19 |
--- a/sys-process/criu/criu-3.12.ebuild |
20 |
+++ b/sys-process/criu/criu-3.12.ebuild |
21 |
@@ -46,8 +46,7 @@ RESTRICT="test" |
22 |
PATCHES=( |
23 |
"${FILESDIR}"/2.2/${PN}-2.2-flags.patch |
24 |
"${FILESDIR}"/2.3/${PN}-2.3-no-git.patch |
25 |
- "${FILESDIR}"/${PN}-2.8-automagic-libbsd.patch |
26 |
- "${FILESDIR}"/2.0/${PN}-2.0-sysroot.patch |
27 |
+ "${FILESDIR}"/${PN}-3.12-automagic-libbsd.patch |
28 |
) |
29 |
|
30 |
criu_arch() { |
31 |
|
32 |
diff --git a/sys-process/criu/files/criu-3.12-automagic-libbsd.patch b/sys-process/criu/files/criu-3.12-automagic-libbsd.patch |
33 |
new file mode 100644 |
34 |
index 00000000000..7794f82e519 |
35 |
--- /dev/null |
36 |
+++ b/sys-process/criu/files/criu-3.12-automagic-libbsd.patch |
37 |
@@ -0,0 +1,13 @@ |
38 |
+diff --git a/Makefile.config b/Makefile.config |
39 |
+index a853705..27bb91f 100644 |
40 |
+--- a/Makefile.config |
41 |
++++ b/Makefile.config |
42 |
+@@ -2,7 +2,7 @@ include $(__nmk_dir)utils.mk |
43 |
+ include $(__nmk_dir)msg.mk |
44 |
+ include scripts/feature-tests.mak |
45 |
+ |
46 |
+-ifeq ($(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),true) |
47 |
++ifeq ($(SETPROCTITLE)$(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),yestrue) |
48 |
+ LIBS_FEATURES += -lbsd |
49 |
+ FEATURE_DEFINES += -DCONFIG_HAS_LIBBSD |
50 |
+ else |