diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-07-15 15:12:45 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-07-15 15:12:45 +0200 |
commit | d2d16fc13d21c84edb455a23d30734e503755d9b (patch) | |
tree | 923193d566c6fb970e7e91be617e626958b146e4 /debian/patches/knot-honor-CONFIG_DIR.patch | |
parent | 6e7e890bcdb1f3bf11945312644eeda1a8ebae89 (diff) | |
download | knot-d2d16fc13d21c84edb455a23d30734e503755d9b.tar.gz |
Add upstream patch to honour CONFIG_DIR
Diffstat (limited to 'debian/patches/knot-honor-CONFIG_DIR.patch')
-rw-r--r-- | debian/patches/knot-honor-CONFIG_DIR.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/knot-honor-CONFIG_DIR.patch b/debian/patches/knot-honor-CONFIG_DIR.patch new file mode 100644 index 0000000..835e17d --- /dev/null +++ b/debian/patches/knot-honor-CONFIG_DIR.patch @@ -0,0 +1,20 @@ +From 432027f7cd31be315d267e073e1034c9737fc419 Mon Sep 17 00:00:00 2001 +From: Jan Vcelak <jan.vcelak@nic.cz> +Date: Mon, 15 Jul 2013 14:14:49 +0200 +Subject: [PATCH] config: fix default configuration file load path + +--- + src/knot/conf/conf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- knot.orig/src/knot/conf/conf.c ++++ knot/src/knot/conf/conf.c +@@ -37,7 +37,7 @@ + + /*! \brief Default config paths. */ + static const char *DEFAULT_CONFIG[] = { +- SYSCONFDIR "/" "knot.conf", ++ CONFIG_DIR "/" "knot.conf", + }; + + #define DEFAULT_CONF_COUNT 1 /*!< \brief Number of default config paths. */ |