From c48c1b5658a2cb33130987a3f3278929441b4a8a Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Sat, 16 Aug 2014 21:14:54 +0000 Subject: audio/umurmur: update to 0.2.15 PR: 192177 Submitted by: truckman Approved by: maintainer (timeout) --- audio/umurmur/files/patch-src-conf.c | 52 ++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'audio/umurmur/files/patch-src-conf.c') diff --git a/audio/umurmur/files/patch-src-conf.c b/audio/umurmur/files/patch-src-conf.c index 2f3e1a9440e9..3e6d203007ff 100644 --- a/audio/umurmur/files/patch-src-conf.c +++ b/audio/umurmur/files/patch-src-conf.c @@ -1,30 +1,30 @@ ---- src/conf.c.old 2011-12-04 19:11:54.718388035 +0200 -+++ src/conf.c 2011-12-04 19:13:08.845299535 +0200 -@@ -87,23 +87,23 @@ - case CERTIFICATE: - setting = config_lookup(&configuration, "certificate"); - if (!setting) -- return "/etc/umurmur/certificate.crt"; -+ return "%%PREFIX%%/etc/umurmur/certificate.crt"; - else { - if ((strsetting = config_setting_get_string(setting)) != NULL) - return strsetting; - else +--- src/conf.c.orig 2014-08-07 23:37:03.000000000 -0700 ++++ src/conf.c 2014-08-14 11:47:27.000000000 -0700 +@@ -89,23 +89,23 @@ + case CERTIFICATE: + setting = config_lookup(&configuration, "certificate"); + if (!setting) - return "/etc/umurmur/certificate.crt"; + return "%%PREFIX%%/etc/umurmur/certificate.crt"; - } - break; - case KEY: - setting = config_lookup(&configuration, "private_key"); - if (!setting) -- return "/etc/umurmur/private_key.key"; -+ return "%%PREFIX%%/etc/umurmur/private_key.key"; - else { - if ((strsetting = config_setting_get_string(setting)) != NULL) - return strsetting; - else + else { + if ((strsetting = config_setting_get_string(setting)) != NULL) + return strsetting; + else +- return "/etc/umurmur/certificate.crt"; ++ return "%%PREFIX%%/etc/umurmur/certificate.crt"; + } + break; + case KEY: + setting = config_lookup(&configuration, "private_key"); + if (!setting) - return "/etc/umurmur/private_key.key"; + return "%%PREFIX%%/etc/umurmur/private_key.key"; - } - break; - case PASSPHRASE: + else { + if ((strsetting = config_setting_get_string(setting)) != NULL) + return strsetting; + else +- return "/etc/umurmur/private_key.key"; ++ return "%%PREFIX%%/etc/umurmur/private_key.key"; + } + break; + case CAPATH: -- cgit v1.2.3