unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 710f208285b8a844770a1b0b8a62ee8e4c5f46e9 658 bytes (raw)
name: packages/patches/gtk-doc-respect-xml-catalog.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
Taken from here:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/documentation/gtk-doc/respect-xml-catalog-files-var.patch.

--- a/m4/gtkdoc_jh_check_xml_catalog.m4
+++ b/m4/gtkdoc_jh_check_xml_catalog.m4
@@ -5,8 +5,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])
 	else

debug log:

solving 710f208285b8a844770a1b0b8a62ee8e4c5f46e9 ...
found 710f208285b8a844770a1b0b8a62ee8e4c5f46e9 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).