From 3c6857ccd9d51097cfcd9f2efddd3428c0f5d5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 6 Sep 2022 00:08:17 +0700 Subject: [PATCH] rofs-filtered: fix configuration loading --- .../rofs-filtered/patches/sysconf_dir-is-string.patch | 11 +++++++++++ srcpkgs/rofs-filtered/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/rofs-filtered/patches/sysconf_dir-is-string.patch diff --git a/srcpkgs/rofs-filtered/patches/sysconf_dir-is-string.patch b/srcpkgs/rofs-filtered/patches/sysconf_dir-is-string.patch new file mode 100644 index 00000000000..3e966f31c74 --- /dev/null +++ b/srcpkgs/rofs-filtered/patches/sysconf_dir-is-string.patch @@ -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 diff --git a/srcpkgs/rofs-filtered/template b/srcpkgs/rofs-filtered/template index 2bb8a230431..5bdce99d7a1 100644 --- a/srcpkgs/rofs-filtered/template +++ b/srcpkgs/rofs-filtered/template @@ -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"