radhermit 15/03/11 22:38:29 Added: criu-1.5-automagic-libbsd.patch Log: Add setproctitle use flag to fix automagic dep on dev-libs/libbsd (bug #540744). (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path 1.1 sys-process/criu/files/criu-1.5-automagic-libbsd.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/criu/files/criu-1.5-automagic-libbsd.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/criu/files/criu-1.5-automagic-libbsd.patch?rev=1.1&content-type=text/plain Index: criu-1.5-automagic-libbsd.patch =================================================================== Control libbsd dependency via SETPROCTITLE definition. --- criu-1.5/Makefile.config +++ criu-1.5/Makefile.config @@ -3,10 +3,12 @@ CONFIG := include/config.h +ifeq ($(SETPROCTITLE),yes) ifeq ($(call try-cc,$(LIBBSD_DEV_TEST),-lbsd),y) LIBS += -lbsd DEFINES += -DCONFIG_HAS_LIBBSD endif +endif $(CONFIG): scripts/utilities.mak scripts/feature-tests.mak include/config-base.h $(E) " GEN " $@ @@ -33,9 +35,11 @@ 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 $(Q) @echo '#endif /* __CR_CONFIG_H__ */' >> $@ config: $(CONFIG)
