aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/08_test_patch_data/dep3-iso8859-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tests/08_test_patch_data/dep3-iso8859-1.patch')
-rw-r--r--tests/08_test_patch_data/dep3-iso8859-1.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/08_test_patch_data/dep3-iso8859-1.patch b/tests/08_test_patch_data/dep3-iso8859-1.patch
new file mode 100644
index 00000000..518ce556
--- /dev/null
+++ b/tests/08_test_patch_data/dep3-iso8859-1.patch
@@ -0,0 +1,15 @@
+Author: Roland Rosenfeld <roland@debian.org>
+Description: Replace all -- in man page by \-\- to make lintian happy.
+
+--- a/GNUmakefile.in
++++ b/GNUmakefile.in
+@@ -484,8 +484,7 @@ man: dok-release
+ perl -pi.bak -e "s/\[ /\[/g;s/á/\\\\['a]/g;s/é/\\\\['e]/g" $(MAN_PAGE); \
+ perl -pi.bak -e "s/ö/\\\\[:o]/g" $(MAN_PAGE); \
+ perl -pi.bak -e 's/([ {])-([a-z])/$$1\\-$$2/g' $(MAN_PAGE); \
+- perl -pi.bak -e 's/ --([a-z])/ \\-\\-$$1/g' $(MAN_PAGE); \
+- perl -pi.bak -e 's/\\fB--/\\fB\\-\\-/g' $(MAN_PAGE); \
++ perl -pi.bak -e 's/--/\\-\\-/g' $(MAN_PAGE); \
+ $(DB) ../privoxy-man-page.sgml && $(MV) -f $(MAN_PAGE) ../../../$(MAN_PAGE)
+
+ # For those with man2html ala RH7s.