Files
nixpkgs/pkgs/by-name/lx/lxsession/repect-xml-catalog-file-var.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
555 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
--- a/acinclude.m4 2025-08-24 00:39:08.807857027 +0200
+++ b/acinclude.m4 2025-08-24 00:49:23.043780737 +0200
@@ -40,8 +40,8 @@
[
AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl
AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog])
- if $jh_found_xmlcatalog && \
- AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then
+ # empty argument forces libxml to use XML_CATALOG_FILES variable
+ if AC_RUN_LOG([$XMLCATALOG --noout "" "$1" >&2]); then
AC_MSG_RESULT([found])
ifelse([$3],,,[$3
])dnl