File: Avoid-that-xsltproc-tries-to-use-an-internet-connect.patch

package info (click to toggle)
libgpod 0.8.3-23
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,824 kB
  • sloc: ansic: 26,992; sh: 11,435; cs: 1,400; python: 1,251; makefile: 448; cpp: 300; xml: 100
file content (36 lines) | stat: -rw-r--r-- 1,449 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Frank Lichtenheld <djpig@dirac.djpig.de>
Date: Sun, 24 Nov 2013 05:43:13 +0800
Subject: Avoid that xsltproc tries to use an internet connection

Otherwise sometimes it does, sometimes it doesn't.
---
 bindings/python/Makefile.am | 2 +-
 bindings/python/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index 2dfe30c..f25f6ea 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -48,7 +48,7 @@ gpod_doc.i: $(srcdir)/gpod_doc.i.in $(srcdir)/gtkdoc-to-swig.xsl
 	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 --git a/bindings/python/Makefile.in b/bindings/python/Makefile.in
index 511cf99..7140d05 100644
--- a/bindings/python/Makefile.in
+++ b/bindings/python/Makefile.in
@@ -1009,7 +1009,7 @@ README: README.in gpod.i
 @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