Oops, sorry wrong patch ...
This was for the upstream

Here is the good one for inclusion in the package :
diff -wurN
websvn-2.3.0/debian/patches/24_fix_enscript_single_quote_command.patch
websvn-2.3.0-fix/debian/patches/24_fix_enscript_single_quote_command.patch
---
websvn-2.3.0/debian/patches/24_fix_enscript_single_quote_command.patch
1970-01-01 01:00:00.000000000 +0100
+++
websvn-2.3.0-fix/debian/patches/24_fix_enscript_single_quote_command.patch
2010-02-23 15:09:26.810994219 +0100
@@ -0,0 +1,13 @@
+Index: websvn/include/svnlook.php
+===================================================================
+--- websvn.orig/include/svnlook.php    2009-12-04 06:53:49.000000000 +0100
++++ websvn/include/svnlook.php    2010-02-23 14:57:00.158492440 +0100
+@@ -601,7 +601,7 @@
+             $cmd = quoteCommand($config->getSvnCommand().' cat
'.$this->repConfig->svnParams().quote($path.'@'.$rev).' | '.
+                 $config->enscript.' --language=html '.
+                 ($l ? '--color --pretty-print='.$l : '').' -o - | '.
+-                $config->sed.' -n
'.$config->quote.'1,/^<PRE.$/!{/^<\\/PRE.$/,/^<PRE.$/!p;}'.$config->quote.'
> $tempname');
++                $config->sed.' -n
'.$config->quote.'1,/^<PRE.$/!{/^<\\/PRE.$/,/^<PRE.$/!p;}'.$config->quote.'
> '.$tempname);
+         } else {
+             $highlighted = false;
+             $path = encodepath(str_replace(DIRECTORY_SEPARATOR, '/',
$this->getSvnPath($path)));
diff -wurN websvn-2.3.0/debian/patches/series
websvn-2.3.0-fix/debian/patches/series
--- websvn-2.3.0/debian/patches/series    2010-02-23 14:56:16.000000000
+0100
+++ websvn-2.3.0-fix/debian/patches/series    2010-02-23 15:09:48.526486837
+0100
@@ -1,3 +1,4 @@
 21_fix_conf_file.patch
 22_use_global_geshi.patch
 23_make_enscript_quiet.patch
+24_fix_enscript_single_quote_command.patch


Cheers,
Benoit

Reply via email to