summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2015-10-09 12:20:54 +0800
committerYixun Lan <dlan@gentoo.org>2015-10-09 12:24:44 +0800
commit5e480fbea3092065653bd04cdbf0c257f687985f (patch)
treed1b1e3609c1df79254b96ae41d6cf1ab59891ec4 /sys-process/criu/files
parentwww-client/opera-developer: Version bump. (diff)
downloadgentoo-5e480fbea3092065653bd04cdbf0c257f687985f.tar.gz
gentoo-5e480fbea3092065653bd04cdbf0c257f687985f.tar.bz2
gentoo-5e480fbea3092065653bd04cdbf0c257f687985f.zip
sys-process/criu: version bump 1.7, drop 1.6-r1
Package-Manager: portage-2.2.22
Diffstat (limited to 'sys-process/criu/files')
-rw-r--r--sys-process/criu/files/criu-1.7-automagic-libbsd.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-process/criu/files/criu-1.7-automagic-libbsd.patch b/sys-process/criu/files/criu-1.7-automagic-libbsd.patch
new file mode 100644
index 000000000000..4dadf95daa1a
--- /dev/null
+++ b/sys-process/criu/files/criu-1.7-automagic-libbsd.patch
@@ -0,0 +1,29 @@
+diff --git a/Makefile.config b/Makefile.config
+index ce4b8d8..2ef64d3 100644
+--- a/Makefile.config
++++ b/Makefile.config
+@@ -3,10 +3,12 @@ include scripts/feature-tests.mak
+
+ CONFIG := include/config.h
+
++ifeq ($(SETPROCTITLE),yes)
+ ifeq ($(call try-cc,$(LIBBSD_DEV_TEST),-lbsd),y)
+ LIBS += -lbsd
+ DEFINES += -DCONFIG_HAS_LIBBSD
+ endif
++endif
+
+ ifeq ($(call pkg-config-check,libselinux),y)
+ LIBS := -lselinux $(LIBS)
+@@ -38,9 +40,11 @@ endif
+ ifeq ($(VDSO),y)
+ $(Q) @echo '#define CONFIG_VDSO' >> $@
+ endif
++ifeq ($(SETPROCTITLE),yes)
+ ifeq ($(call try-cc,$(SETPROCTITLE_INIT_TEST),-lbsd),y)
+ $(Q) @echo '#define CONFIG_HAS_SETPROCTITLE_INIT' >> $@
+ endif
++endif
+ ifeq ($(piegen-y),y)
+ $(Q) @echo '#define CONFIG_PIEGEN' >> $@
+ endif