Updated compatibility patch

This commit is contained in:
Torsten Kurbad 2012-10-30 21:34:10 +01:00
parent 8d0901cbfb
commit 90ab8a6c54
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- squirrelmail.devel/functions/strings.php.orig 2012-04-01 22:09:11.000000000 +0200
+++ squirrelmail.devel/functions/strings.php 2012-10-30 21:31:01.231496016 +0100
@@ -12,6 +12,8 @@
* @package squirrelmail
*/
+include_once(SM_PATH . 'plugins/compatibility/functions.php');
+
/**
* Appends citation markers to the string.
* Also appends a trailing space.

View File

@ -92,11 +92,11 @@ src_unpack() {
src_prepare() {
cd "${S}"
epatch "${FILESDIR}/${P}-compatibility.patch
sed -i "s:'/var/local/squirrelmail/data/':SM_PATH . 'data/':" \
config/config.php || die
epatch "${S}"/plugins/compatibility/patches/compatibility_patch-1.5.0.diff
cd "${S}/plugins" || die
if use ldap; then
epatch "${FILESDIR}"/ldapuserdata-${LDAP_USERDATA_VER}-gentoo.patch