~ubuntu-branches/ubuntu/vivid/tidy/vivid-updates

« back to all changes in this revision

Viewing changes to debian/patches/01config_file.patch

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2008-01-20 21:46:03 UTC
  • mfrom: (0.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080120214603-oqicq5jwr1exrm55
Tags: 20080116cvs-2
* debian/control: build depends on xsltproc
  (closes: #461608)
* debian/tidy.preinst,postinst: add code to move old config file
  (closes: #461623)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Naur tidy.orig/include/platform.h tidy/include/platform.h
2
 
--- tidy.orig/include/platform.h        2003-06-10 16:57:04.000000000 +1000
3
 
+++ tidy/include/platform.h     2003-07-30 10:55:11.000000000 +1000
4
 
@@ -25,7 +25,7 @@
5
 
 
6
 
 /* #define CONFIG_FILE "/etc/tidy_config.txt" */ /* original */
7
 
 /* #define CONFIG_FILE "/etc/tidyrc" */
8
 
-/* #define CONFIG_FILE "/etc/tidy.conf" */
9
 
+#define CONFIG_FILE "/etc/tidy.conf"
 
1
diff -Naur tidy-cvs20080116.orig/include/platform.h tidy-cvs20080116/include/platform.h
 
2
--- tidy-cvs20080116.orig/include/platform.h    2007-02-11 20:45:52.000000000 +1100
 
3
+++ tidy-cvs20080116/include/platform.h 2008-01-16 13:29:23.000000000 +1100
 
4
@@ -26,6 +26,7 @@
 
5
 /* #define TIDY_CONFIG_FILE "/etc/tidy_config.txt" */ /* original */
 
6
 /* #define TIDY_CONFIG_FILE "/etc/tidyrc" */
 
7
 /* #define TIDY_CONFIG_FILE "/etc/tidy.conf" */
 
8
+#define TIDY_CONFIG_FILE "/etc/tidy.conf"
10
9
 
11
10
 /*
12
11
   Uncomment the following #define if you are on a system
13
 
@@ -33,7 +33,7 @@
14
 
   It enables tidy to find config files named ~/.tidyrc if 
 
12
@@ -34,6 +35,7 @@
15
13
   the HTML_TIDY environment variable is not set.
16
14
 */
17
 
-/* #define USER_CONFIG_FILE "~/.tidyrc" */
18
 
+#define USER_CONFIG_FILE "~/.tidyrc"
 
15
 /* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */
 
16
+#define TIDY_USER_CONFIG_FILE "~/.tidyrc"
19
17
 
20
18
 /*
21
19
   Uncomment the following #define if your
22
 
@@ -48,7 +48,7 @@
23
 
   Contributed by Todd Lewis.
 
20
@@ -49,6 +51,7 @@
24
21
 */
25
22
 
26
 
-/* #define SUPPORT_GETPWNAM */
 
23
 /* #define SUPPORT_GETPWNAM */
27
24
+#define SUPPORT_GETPWNAM
28
25
 
29
26