summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-08-25 09:29:43 +0800
committerYixun Lan <dlan@gentoo.org>2016-08-25 13:28:14 +0800
commit47f05b40812efe00118e59167b158084b2ecd34c (patch)
tree99b4b8270a43d75eab1626d28f9e90892b3f21fc /sys-process/criu/files
parentdev-ruby/maxitest: add 2.2.0 (diff)
downloadgentoo-47f05b40812efe00118e59167b158084b2ecd34c.tar.gz
gentoo-47f05b40812efe00118e59167b158084b2ecd34c.tar.bz2
gentoo-47f05b40812efe00118e59167b158084b2ecd34c.zip
sys-process/criu: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-process/criu/files')
-rw-r--r--sys-process/criu/files/2.5/criu-2.5-automagic-libbsd.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-process/criu/files/2.5/criu-2.5-automagic-libbsd.patch b/sys-process/criu/files/2.5/criu-2.5-automagic-libbsd.patch
new file mode 100644
index 000000000000..de6509a745c2
--- /dev/null
+++ b/sys-process/criu/files/2.5/criu-2.5-automagic-libbsd.patch
@@ -0,0 +1,17 @@
+diff --git a/criu/Makefile.config b/criu/Makefile.config
+index f531b3b..23a3b23 100644
+--- a/criu/Makefile.config
++++ b/criu/Makefile.config
+@@ -2,10 +2,12 @@ include $(__nmk_dir)/utils.mk
+ include $(__nmk_dir)msg.mk
+ include $(SRC_DIR)/scripts/feature-tests.mak
+
++ifeq ($(SETPROCTITLE),yes)
+ ifeq ($(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),true)
+ LIBS += -lbsd
+ FEATURE_DEFINES += -DCONFIG_HAS_LIBBSD
+ endif
++endif
+
+ ifeq ($(call pkg-config-check,libselinux),y)
+ LIBS += -lselinux