summaryrefslogtreecommitdiff
path: root/user/docbook2x/sourceforge-url.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-11 21:03:45 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-11 21:03:45 +0000
commitb8a4be9e71e9a8768cfa344b64bae186690a5fb1 (patch)
tree464e5f1e1eb69df9d8daaf5d8d59e8b62444fdf4 /user/docbook2x/sourceforge-url.patch
parent4b5db770f22714a3d481f3ab091e28d140e5d053 (diff)
downloadpackages-b8a4be9e71e9a8768cfa344b64bae186690a5fb1.tar.gz
packages-b8a4be9e71e9a8768cfa344b64bae186690a5fb1.tar.bz2
packages-b8a4be9e71e9a8768cfa344b64bae186690a5fb1.tar.xz
packages-b8a4be9e71e9a8768cfa344b64bae186690a5fb1.zip
user/docbook2x: new package
Diffstat (limited to 'user/docbook2x/sourceforge-url.patch')
-rw-r--r--user/docbook2x/sourceforge-url.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/user/docbook2x/sourceforge-url.patch b/user/docbook2x/sourceforge-url.patch
new file mode 100644
index 000000000..d6fd4a44a
--- /dev/null
+++ b/user/docbook2x/sourceforge-url.patch
@@ -0,0 +1,19 @@
+## Ondrej Certik reported a resolver issue: http://bugs.debian.org/418703.
+## The error seems to be caused by using the abbreviated sf.net URLs.
+
+diff -urNad docbook2x-0.8.8~/perl/db2x_xsltproc.pl docbook2x-0.8.8/perl/db2x_xsltproc.pl
+--- docbook2x-0.8.8~/perl/db2x_xsltproc.pl 2004-08-18 16:21:52.000000000 +0200
++++ docbook2x-0.8.8/perl/db2x_xsltproc.pl 2007-04-12 16:07:20.000000000 +0200
+@@ -110,10 +110,10 @@
+
+ if($options->{'stylesheet'} eq 'texi') {
+ $options->{'stylesheet'} =
+- "http://docbook2x.sf.net/latest/xslt/texi/docbook.xsl";
++ "http://docbook2x.sourceforge.net/latest/xslt/texi/docbook.xsl";
+ } elsif($options->{'stylesheet'} eq 'man') {
+ $options->{'stylesheet'} =
+- "http://docbook2x.sf.net/latest/xslt/man/docbook.xsl";
++ "http://docbook2x.sourceforge.net/latest/xslt/man/docbook.xsl";
+ }
+
+ if(scalar(@argv) != 1) {