mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
rofs-filtered: fix configuration loading
This commit is contained in:
parent
f8e77843b2
commit
3c6857ccd9
2 changed files with 12 additions and 1 deletions
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'
|
||||
pkgname=rofs-filtered
|
||||
version=1.7
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="${pkgname}-rel-${version}"
|
||||
build_style=cmake
|
||||
makedepends="fuse-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue