summaryrefslogtreecommitdiff
path: root/www/tidy/patches
diff options
context:
space:
mode:
authortron <tron>2000-03-28 17:13:34 +0000
committertron <tron>2000-03-28 17:13:34 +0000
commita4dd5d619eed54f51d3907b071b74396405e3028 (patch)
tree8d02cef00f9308208f7afeac59ebad7bb9b4c2cf /www/tidy/patches
parentaae6180f12cc623201cd9384bd3cdb88ce2159c6 (diff)
downloadpkgsrc-a4dd5d619eed54f51d3907b071b74396405e3028.tar.gz
Import "tidy" from FreeBSD ports collection:
Fixes and tidies up HTML files
Diffstat (limited to 'www/tidy/patches')
-rw-r--r--www/tidy/patches/patch-aa13
-rw-r--r--www/tidy/patches/patch-ab22
2 files changed, 35 insertions, 0 deletions
diff --git a/www/tidy/patches/patch-aa b/www/tidy/patches/patch-aa
new file mode 100644
index 00000000000..b07d2911a74
--- /dev/null
+++ b/www/tidy/patches/patch-aa
@@ -0,0 +1,13 @@
+--- Makefile.orig Sun Dec 20 13:43:23 1998
++++ Makefile Sun Dec 20 13:45:24 1998
+@@ -1,8 +1,8 @@
+ # Makefile - for tidy
+
+-CC= gcc
++#CC= gcc
+
+-CFLAGS= -O
++CFLAGS+= -D__USE_MISC
+
+ OFILES= attrs.o istack.o parser.o tags.o \
+ entities.o lexer.o pprint.o clean.o \
diff --git a/www/tidy/patches/patch-ab b/www/tidy/patches/patch-ab
new file mode 100644
index 00000000000..d178ef5b367
--- /dev/null
+++ b/www/tidy/patches/patch-ab
@@ -0,0 +1,22 @@
+--- platform.h.orig Sat Nov 13 23:41:32 1999
++++ platform.h Sat Nov 13 23:42:40 1999
+@@ -17,17 +17,17 @@
+ It enables tidy to find config files named ~/.tidyrc
+ and ~your/.tidyrc etc if the HTML_TIDY environment
+ variable is not set. Contributed by Todd Lewis.
++*/
+
+ #define SUPPORT_GETPWNAM
+-*/
+
++#include <sys/types.h>
+ #include <ctype.h>
+ #include <stdio.h>
+ #include <setjmp.h> /* for longjmp on error exit */
+ #include <stdlib.h>
+ #include <stdarg.h> /* may need <varargs.h> for Unix V */
+ #include <string.h>
+-#include <malloc.h>
+ #include <assert.h>
+
+ #ifdef SUPPORT_GETPWNAM