1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/audio/umurmur/files/patch-src_conf.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

31 lines
981 B
C

--- src/conf.c.orig 2015-04-07 10:01:12 UTC
+++ src/conf.c
@@ -89,23 +89,23 @@ const char *getStrConf(param_t param)
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
- 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
- return "/etc/umurmur/private_key.key";
+ return "%%PREFIX%%/etc/umurmur/private_key.key";
}
break;
case CAPATH: