rofs-filtered: fix configuration loading
This commit is contained in:
parent
f8e77843b2
commit
3c6857ccd9
11
srcpkgs/rofs-filtered/patches/sysconf_dir-is-string.patch
Normal file
11
srcpkgs/rofs-filtered/patches/sysconf_dir-is-string.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/rofs-filtered.c
|
||||||
|
+++ b/rofs-filtered.c
|
||||||
|
@@ -136,7 +136,7 @@ enum {
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef SYSCONF_DIR
|
||||||
|
-char *default_config_file = STR(SYSCONF_DIR) "/rofs-filtered.rc";
|
||||||
|
+char *default_config_file = SYSCONF_DIR "/rofs-filtered.rc";
|
||||||
|
#else
|
||||||
|
char *default_config_file = "/etc/rofs-filtered.rc";
|
||||||
|
#endif
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'rofs-filtered'
|
# Template file for 'rofs-filtered'
|
||||||
pkgname=rofs-filtered
|
pkgname=rofs-filtered
|
||||||
version=1.7
|
version=1.7
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="${pkgname}-rel-${version}"
|
wrksrc="${pkgname}-rel-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="fuse-devel"
|
makedepends="fuse-devel"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user