summaryrefslogblamecommitdiff
path: root/user/docbook2x/sourceforge-url.patch
blob: d6fd4a44a5398d254632f573f68b9379295a5fd1 (plain) (tree)


















                                                                                        
## 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) {