commit: fab1531be3c5fb51d0058c3b382000d13c3fc985
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 6 18:47:54 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Oct 6 18:48:08 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab1531b
fix tests with patch from Dustin Polke (bug #527270)
Package-Manager: portage-2.2.20.1
media-libs/devil/devil-1.7.8-r2.ebuild | 2 +-
media-libs/devil/files/devil-1.7.8-fix-test.patch | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/media-libs/devil/devil-1.7.8-r2.ebuild
b/media-libs/devil/devil-1.7.8-r2.ebuild
index c20974c..43a592e 100644
--- a/media-libs/devil/devil-1.7.8-r2.ebuild
+++ b/media-libs/devil/devil-1.7.8-r2.ebuild
@@ -38,7 +38,7 @@ DEPEND="${RDEPEND}
X? ( x11-proto/xextproto )"
src_prepare() {
- epatch
"${FILESDIR}"/${P}-{CVE-2009-3994,libpng14,nvtt-glut,ILUT,restrict}.patch
+ epatch
"${FILESDIR}"/${P}-{CVE-2009-3994,libpng14,nvtt-glut,ILUT,restrict,fix-test}.patch
eautoreconf
}
diff --git a/media-libs/devil/files/devil-1.7.8-fix-test.patch
b/media-libs/devil/files/devil-1.7.8-fix-test.patch
new file mode 100644
index 0000000..44af2fc
--- /dev/null
+++ b/media-libs/devil/files/devil-1.7.8-fix-test.patch
@@ -0,0 +1,10 @@
+--- a/devil-1.7.8/test/Makefile.am
++++ b/devil-1.7.8/test/Makefile.am
+@@ -12,5 +12,6 @@ else
+ testil_LDADD += ../lib/libIL.la
+ endif
+
+-TESTS_ENVIRONMENT = /bin/bash
++TESTS_ENVIRONMENT =
+ TESTS = $(check_SCRIPTS)
++LOG_COMPILER = $(SHELL)