summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-12-19 23:37:26 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-12-19 23:51:03 +0100
commit19bd5d1f420c3ad938bfcbd3609d5334dd79010f (patch)
tree1b41152e553317812058d5cfa14c1744619fbc3a /app-misc
parentapp-misc/vlock: specify commit hash to retrieve archive. (diff)
downloadgentoo-19bd5d1f420c3ad938bfcbd3609d5334dd79010f.tar.gz
gentoo-19bd5d1f420c3ad938bfcbd3609d5334dd79010f.tar.bz2
gentoo-19bd5d1f420c3ad938bfcbd3609d5334dd79010f.zip
app-misc/vlock: re enable tests.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/vlock/files/vlock-2.2.2-asneeded.patch4
-rw-r--r--app-misc/vlock/files/vlock-2.2.2-test_process.patch4
-rw-r--r--app-misc/vlock/vlock-2.2.3-r1.ebuild5
3 files changed, 8 insertions, 5 deletions
diff --git a/app-misc/vlock/files/vlock-2.2.2-asneeded.patch b/app-misc/vlock/files/vlock-2.2.2-asneeded.patch
index 8baeed37caf6..cb4c3f42422b 100644
--- a/app-misc/vlock/files/vlock-2.2.2-asneeded.patch
+++ b/app-misc/vlock/files/vlock-2.2.2-asneeded.patch
@@ -1,5 +1,5 @@
---- tests/Makefile.old 2008-10-16 13:48:37.000000000 +0200
-+++ tests/Makefile 2008-10-16 13:48:53.000000000 +0200
+--- a/tests/Makefile 2008-10-16 13:48:37.000000000 +0200
++++ b/tests/Makefile 2008-10-16 13:48:53.000000000 +0200
@@ -16,7 +16,7 @@
TEST_SOURCES = $(TESTED_SOURCES:%=test_%)
TEST_OBJECTS = $(TEST_SOURCES:.c=.o)
diff --git a/app-misc/vlock/files/vlock-2.2.2-test_process.patch b/app-misc/vlock/files/vlock-2.2.2-test_process.patch
index 83ecd4b14e2c..a725e9a5a851 100644
--- a/app-misc/vlock/files/vlock-2.2.2-test_process.patch
+++ b/app-misc/vlock/files/vlock-2.2.2-test_process.patch
@@ -1,5 +1,5 @@
---- tests/test_process.c.old 2008-10-16 14:10:16.000000000 +0200
-+++ tests/test_process.c 2008-10-16 14:11:26.000000000 +0200
+--- a/tests/test_process.c 2008-10-16 14:10:16.000000000 +0200
++++ b/tests/test_process.c 2008-10-16 14:11:26.000000000 +0200
@@ -12,6 +12,7 @@
#include "test_process.h"
diff --git a/app-misc/vlock/vlock-2.2.3-r1.ebuild b/app-misc/vlock/vlock-2.2.3-r1.ebuild
index 503a4388838a..fd95f778fbb6 100644
--- a/app-misc/vlock/vlock-2.2.3-r1.ebuild
+++ b/app-misc/vlock/vlock-2.2.3-r1.ebuild
@@ -25,7 +25,10 @@ DEPEND="
DOCS=( ChangeLog PLUGINS README README.X11 SECURITY STYLE TODO )
-RESTRICT="test"
+PATCHES=(
+ "${FILESDIR}/${PN}-2.2.2-asneeded.patch"
+ "${FILESDIR}/${PN}-2.2.2-test_process.patch"
+)
pkg_setup() {
enewgroup "${PN}"