summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-06-24 18:06:38 +0800
committerYixun Lan <dlan@gentoo.org>2016-06-24 18:07:22 +0800
commit7e8fcadffb8f78e9a2c4f32543373e096990850a (patch)
treee14590a35d0254004a69933aa325b768dbe96d4f /sys-process/criu/files
parentdev-ml/ocamldsort: drop backward compat dep on camlp4 (diff)
downloadgentoo-7e8fcadffb8f78e9a2c4f32543373e096990850a.tar.gz
gentoo-7e8fcadffb8f78e9a2c4f32543373e096990850a.tar.bz2
gentoo-7e8fcadffb8f78e9a2c4f32543373e096990850a.zip
sys-process/criu: version bump 2.3
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'sys-process/criu/files')
-rw-r--r--sys-process/criu/files/2.3/criu-2.3-no-git.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-process/criu/files/2.3/criu-2.3-no-git.patch b/sys-process/criu/files/2.3/criu-2.3-no-git.patch
new file mode 100644
index 000000000000..86360cdf1a55
--- /dev/null
+++ b/sys-process/criu/files/2.3/criu-2.3-no-git.patch
@@ -0,0 +1,16 @@
+diff --git a/Makefile b/Makefile
+index 97f63eb..0e2636b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -245,9 +245,9 @@ test: zdtm
+ # Generating tar requires tag matched CRIU_VERSION.
+ # If not found then simply use GIT's describe with
+ # "v" prefix stripped.
+-head-name := $(shell git tag -l v$(CRIU_VERSION))
++head-name := $(shell if [ -d ".git" ]; then git tag -l v$(CRIU_VERSION); fi)
+ ifeq ($(head-name),)
+- head-name := $(shell git describe 2>/dev/null)
++ head-name := $(shell if [ -d ".git" ]; then git describe 2>/dev/null; fi)
+ endif
+ # If no git tag could describe current commit,
+ # use pre-defined CRIU_VERSION with GITID (if any).