pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/roundcube-plugin-carddav/patches



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Mon Mar  1 12:42:27 UTC 2021

Added Files:
        pkgsrc/mail/roundcube-plugin-carddav/patches: patch-carddav.php

Log Message:
roundcube-plugin-carddav: Add missing patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/roundcube-plugin-carddav/patches/patch-carddav.php

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/mail/roundcube-plugin-carddav/patches/patch-carddav.php
diff -u /dev/null pkgsrc/mail/roundcube-plugin-carddav/patches/patch-carddav.php:1.1
--- /dev/null   Mon Mar  1 12:42:27 2021
+++ pkgsrc/mail/roundcube-plugin-carddav/patches/patch-carddav.php      Mon Mar  1 12:42:26 2021
@@ -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