Closed sezero closed 3 years ago
Yes, we should apply this: See https://github.com/libxmp/xmp-cli/blob/master/src/Makefile.am#L89
where /${PACKAGE_NAME}
is appended to ${sysconfdir}
And we probably should do the following too, just in case:
diff --git a/src/read_config.c b/src/read_config.c
index 6e38c76..83c16be 100644
--- a/src/read_config.c
+++ b/src/read_config.c
@@ -17,6 +17,10 @@
#include <sys/unistd.h>
#endif
+#if !defined(SYSCONFDIR)
+#define SYSCONFDIR "."
+#endif
+
static char driver[32];
static char instrument_path[256];
https://src.fedoraproject.org/rpms/xmp/blob/rawhide/f/xmp-path-to-xmp-conf.patch original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1365321
Should we apply? (Patch that applies to current git inlined below)