libgpod (0.7.93-0.3) 25_xsltproc-nonet

Summary

 bindings/python/Makefile.am |    2 +-
 bindings/python/Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 25_xsltproc-nonet.dpatch by  <djpig@dirac.djpig.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Avoid that xsltproc tries to use an internet connection.
## DP: Otherwise sometimes it does, sometimes it doesn't.

@DPATCH@
diff -urNad trunk~/bindings/python/Makefile.am trunk/bindings/python/Makefile.am
--- trunk~/bindings/python/Makefile.am	2009-01-24 13:31:07.000000000 +0100
+++ trunk/bindings/python/Makefile.am	2009-01-24 13:31:07.000000000 +0100
@@ -48,7 +48,7 @@
 	cat $< > $@
 	-if test -x "`which xsltproc 2>/dev/null`"; then \
 	    for xml in $(top_srcdir)/docs/reference/xml/*.xml; do \
-		xsltproc $(srcdir)/gtkdoc-to-swig.xsl $$xml; \
+		xsltproc -nonet $(srcdir)/gtkdoc-to-swig.xsl $$xml; \
 	    done >> $@; \
 	fi
 
diff -urNad trunk~/bindings/python/Makefile.in trunk/bindings/python/Makefile.in
--- trunk~/bindings/python/Makefile.in	2009-01-24 13:31:07.000000000 +0100
+++ trunk/bindings/python/Makefile.in	2009-01-24 13:31:07.000000000 +0100
@@ -789,7 +789,7 @@
 @HAVE_PYTHON_TRUE@	cat $< > $@
 @HAVE_PYTHON_TRUE@	-if test -x "`which xsltproc 2>/dev/null`"; then \
 @HAVE_PYTHON_TRUE@	    for xml in $(top_srcdir)/docs/reference/xml/*.xml; do \
-@HAVE_PYTHON_TRUE@		xsltproc $(srcdir)/gtkdoc-to-swig.xsl $$xml; \
+@HAVE_PYTHON_TRUE@		xsltproc -nonet $(srcdir)/gtkdoc-to-swig.xsl $$xml; \
 @HAVE_PYTHON_TRUE@	    done >> $@; \
 @HAVE_PYTHON_TRUE@	fi