summaryrefslogtreecommitdiff
path: root/www-apps/gallery/gallery-2.3.2.ebuild
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2017-06-11 09:39:59 +0200
committerMarcin Deranek <marcin.deranek@slonko.net>2017-06-11 09:40:05 +0200
commitb5ea462adfe66727c763543a677325909e29296b (patch)
treea887c14aed1f4009cc4c56e303284ce49f36f3bc /www-apps/gallery/gallery-2.3.2.ebuild
parent2c867ff5f7b592f52d9f1a18292b6e5b2f4c1c99 (diff)
downloadportage-b5ea462adfe66727c763543a677325909e29296b.tar.gz
portage-b5ea462adfe66727c763543a677325909e29296b.tar.bz2
portage-b5ea462adfe66727c763543a677325909e29296b.zip
Support for PHP7 in gallery 2.3.2
Diffstat (limited to 'www-apps/gallery/gallery-2.3.2.ebuild')
-rw-r--r--www-apps/gallery/gallery-2.3.2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/www-apps/gallery/gallery-2.3.2.ebuild b/www-apps/gallery/gallery-2.3.2.ebuild
index 05c84a2..7d3a730 100644
--- a/www-apps/gallery/gallery-2.3.2.ebuild
+++ b/www-apps/gallery/gallery-2.3.2.ebuild
@@ -35,6 +35,11 @@ pkg_setup() {
confutils_require_any mysql postgres sqlite
}
+src_prepare() {
+ epatch "${FILESDIR}/0001-Fixing-PHP-7-issues.patch"
+ epatch "${FILESDIR}/0002-Adding-more-static-s-to-get-rid-of-PHP-7-warnings.patch"
+}
+
src_install() {
webapp_src_preinst