Browse Source

upgrade with the most greatest patch :-(

Ralf S. Engelschall 23 years ago
parent
commit
cea92f95b0
2 changed files with 35 additions and 3 deletions
  1. 30 0
      tidy/tidy.patch
  2. 5 3
      tidy/tidy.spec

+ 30 - 0
tidy/tidy.patch

@@ -0,0 +1,30 @@
+--- src/pprint.c.orig	2002-12-21 08:57:02.000000000 +0100
++++ src/pprint.c	2002-12-22 10:18:05.000000000 +0100
+@@ -1444,27 +1444,6 @@
+ }
+ 
+ 
+-#if 0
+-**
+-** Print script and style elements. For XHTML, wrap the content as follows:
+-**     JavaScript:
+-**         //<![CDATA[
+-**             content
+-**         //]]>
+-**     VBScript:
+-**         '<![CDATA[
+-**             content
+-**         ']]>
+-**     CSS:
+-**         /*<![CDATA[*/
+-**             content
+-**         /*]]>*/
+-**     other:
+-**         <![CDATA[
+-**             content
+-**         ]]>
+-**
+-#endif
+ 
+ static ctmbstr CDATA_START           = "<![CDATA[";
+ static ctmbstr CDATA_END             = "]]>";

+ 5 - 3
tidy/tidy.spec

@@ -23,8 +23,8 @@
 ##  SUCH DAMAGE.
 ##
 
-%define       V_here 20021217
-%define       V_real 021217
+%define       V_here 20021220
+%define       V_real 021220
 
 #   package information
 Name:         tidy
@@ -36,10 +36,11 @@ Distribution: OpenPKG [PLUS]
 Group:        Text
 License:      GPL
 Version:      %{V_here}
-Release:      20021219
+Release:      20021222
 
 #   list of sources
 Source0:      http://tidy.sourceforge.net/src/tidy_src_%{V_real}.tgz
+Patch0:       tidy.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -56,6 +57,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q -n tidy
+    %patch -p0
 
 %build
     %{l_make} %{l_mflags -O} \