summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/PHP_TokenStream')
-rw-r--r--dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild b/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild
index 1abe33f362c5..106234e79bf1 100644
--- a/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild
+++ b/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild
@@ -26,6 +26,11 @@ RDEPEND="dev-php/fedora-autoloader
BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )"
RESTRICT="!test? ( test )"
+src_prepare() {
+ sed -i -e 's/setUp()/setUp():void/' tests/Token/*.php || die
+ default
+}
+
src_install() {
insinto /usr/share/php/PHP/Token
doins -r src/*