summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2012-05-20 11:26:26 +0200
committerJonas Smedegaard <dr@jones.dk>2012-05-20 11:26:26 +0200
commitcb4cfb06ffb1a143d3e4a9267f830a67de24123c (patch)
tree80683690db6cc2fc46994a4adedea4f9d9cedf05 /debian/patches
parent4f130a76fd7562dfca7dd3866ba3698a764f0975 (diff)
Add patch 1001 to support setting language in slidy output.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/1001_slidy_support_lang.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/1001_slidy_support_lang.patch b/debian/patches/1001_slidy_support_lang.patch
new file mode 100644
index 000000000..64213c063
--- /dev/null
+++ b/debian/patches/1001_slidy_support_lang.patch
@@ -0,0 +1,15 @@
+Description: support setting language in slidy output
+Author: Jonas Smedegaard <dr@jones.dk>
+Last-Update: 2012-05-20
+
+--- a/templates/default.slidy
++++ b/templates/default.slidy
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" encoding="utf-8"?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
++<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Style-Type" content="text/css" />
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 000000000..ec947c441
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001_slidy_support_lang.patch