commit: 19bd5d1f420c3ad938bfcbd3609d5334dd79010f
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 19 22:37:26 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Dec 19 22:51:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19bd5d1f
app-misc/vlock: re enable tests.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
app-misc/vlock/files/vlock-2.2.2-asneeded.patch | 4 ++--
app-misc/vlock/files/vlock-2.2.2-test_process.patch | 4 ++--
app-misc/vlock/vlock-2.2.3-r1.ebuild | 5 ++++-
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 8baeed37caf..cb4c3f42422 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 83ecd4b14e2..a725e9a5a85 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 503a4388838..fd95f778fbb 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}"