pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/roundcube-plugin-carddav/patches roundcube-plugin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/958c0e297226
branches:  trunk
changeset: 447957:958c0e297226
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Mon Mar 01 12:42:26 2021 +0000

description:
roundcube-plugin-carddav: Add missing patch

diffstat:

 mail/roundcube-plugin-carddav/patches/patch-carddav.php |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 3fbf30d39371 -r 958c0e297226 mail/roundcube-plugin-carddav/patches/patch-carddav.php
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/roundcube-plugin-carddav/patches/patch-carddav.php   Mon Mar 01 12:42:26 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-carddav.php,v 1.1 2021/03/01 12:42:26 triaxx Exp $
+
+* Make pkgsrc-compliant the path of configuration file.
+
+--- carddav.php.orig   2020-11-29 16:41:48.000000000 +0000
++++ carddav.php
+@@ -1043,7 +1043,7 @@ class carddav extends rcube_plugin
+         }
+ 
+         $prefs = [];
+-        $configfile = dirname(__FILE__) . "/config.inc.php";
++        $configfile = "@PKG_SYSCONFDIR@/config.inc.php";
+         if (file_exists($configfile)) {
+             include($configfile);
+         }



Home | Main Index | Thread Index | Old Index