diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2021-12-01 16:17:10 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2021-12-01 16:17:45 -0800 |
commit | 2cf0d86c1a22dfed20f3dda2601adc96986bca9f (patch) | |
tree | 968bdba0b0e60c4705d88d04682bed61d73ec6c3 /sys-process/criu/files | |
parent | dev-util/idea-community: Version bump, remove old (diff) | |
download | gentoo-2cf0d86c1a22dfed20f3dda2601adc96986bca9f.tar.gz gentoo-2cf0d86c1a22dfed20f3dda2601adc96986bca9f.tar.bz2 gentoo-2cf0d86c1a22dfed20f3dda2601adc96986bca9f.zip |
sys-process/criu: Version bump to 3.16.1 (bug #827955)
Closes: https://bugs.gentoo.org/827955
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-process/criu/files')
-rw-r--r-- | sys-process/criu/files/criu-3.16.1-buildsystem.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sys-process/criu/files/criu-3.16.1-buildsystem.patch b/sys-process/criu/files/criu-3.16.1-buildsystem.patch new file mode 100644 index 000000000000..7b83d1c8fe51 --- /dev/null +++ b/sys-process/criu/files/criu-3.16.1-buildsystem.patch @@ -0,0 +1,56 @@ +diff --git a/Makefile.config b/Makefile.config +index 6e3e1b062..830a66e83 100644 +--- a/Makefile.config ++++ b/Makefile.config +@@ -5,9 +5,6 @@ include scripts/feature-tests.mak + ifeq ($(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),true) + LIBS_FEATURES += -lbsd + FEATURE_DEFINES += -DCONFIG_HAS_LIBBSD +-else +- $(info Note: Building without setproctitle() and strlcpy() support.) +- $(info $(info) To enable these features, please install libbsd-devel (RPM) / libbsd-dev (DEB).) + endif + + ifeq ($(call pkg-config-check,libselinux),y) +@@ -25,8 +22,6 @@ ifeq ($(NO_GNUTLS)x$(call pkg-config-check,gnutls),xy) + LIBS_FEATURES += -lgnutls + export CONFIG_GNUTLS := y + FEATURE_DEFINES += -DCONFIG_GNUTLS +-else +- $(info Note: Building without GnuTLS support) + endif + + ifeq ($(call pkg-config-check,libnftables),y) +@@ -41,9 +36,6 @@ ifeq ($(call pkg-config-check,libnftables),y) + $(warning Warn: you have libnftables installed but it has incompatible API) + $(warning Warn: Building without nftables support) + endif +-else +- $(warning Warn: you have no libnftables installed) +- $(warning Warn: Building without nftables support) + endif + + export LIBS += $(LIBS_FEATURES) +diff --git a/lib/Makefile b/lib/Makefile +index 575a7bad3..af88668c5 100644 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -58,8 +58,6 @@ install: lib-c lib-a lib-py crit/crit lib/c/criu.pc.in + $(Q) mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig + $(Q) sed -e 's,@version@,$(CRIU_VERSION),' -e 's,@libdir@,$(LIBDIR),' -e 's,@includedir@,$(dir $(INCLUDEDIR)/criu/),' lib/c/criu.pc.in > lib/c/criu.pc + $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig +- $(E) " INSTALL " crit +- $(Q) $(PYTHON) scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX) --record $(CRIT_SETUP_FILES) + .PHONY: install + + uninstall: +diff --git a/scripts/crit-setup.py b/scripts/crit-setup.py +index 871e55921..50745c294 100644 +--- a/scripts/crit-setup.py ++++ b/scripts/crit-setup.py +@@ -1,4 +1,4 @@ +-from distutils.core import setup ++from setuptools import setup + + setup(name="crit", + version="0.0.1", |