summaryrefslogtreecommitdiff
path: root/www/tidy/patches
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2003-10-28 12:33:48 +0000
committercube <cube@pkgsrc.org>2003-10-28 12:33:48 +0000
commite6ca13d549c2a5eb44fc598722c78249b941b450 (patch)
treef2b8007a45c5910b11c517661b10b81aa337b852 /www/tidy/patches
parentfa3c31194265ad272ee3e9ed1ecf60ff7ca76cfd (diff)
downloadpkgsrc-e6ca13d549c2a5eb44fc598722c78249b941b450.tar.gz
Update tidy to 20031002, and docs to 20030610. No ChangeLog available,
unfortunately. Tidy now comes with a (static) library, thus a buildlink2.mk file is now provided. There's no need to set PRESERVE_FILE_TIMES in CFLAGS anymore, thus PR pkg/20489 is fixed.
Diffstat (limited to 'www/tidy/patches')
-rw-r--r--www/tidy/patches/patch-aa30
-rw-r--r--www/tidy/patches/patch-ab19
2 files changed, 14 insertions, 35 deletions
diff --git a/www/tidy/patches/patch-aa b/www/tidy/patches/patch-aa
deleted file mode 100644
index bcc5d42d776..00000000000
--- a/www/tidy/patches/patch-aa
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2002/11/22 16:37:07 jschauma Exp $
-
---- Makefile.orig Fri Nov 22 11:14:40 2002
-+++ Makefile Fri Nov 22 11:15:41 2002
-@@ -52,20 +52,20 @@
- # acknowledgment is not required but would be appreciated.
- #
-
--CC= gcc
-+#CC= gcc
-
- INCLDIR= ./include/
- SRCDIR= ./src/
- OBJDIR= ./
-
- DEBUGFLAGS=-g -DDMALLOC
--CFLAGS= -I $(INCLDIR)
-+CFLAGS+= -I $(INCLDIR)
- OTHERCFLAGS=
--LIBS=-lc
-+#LIBS=-lc
- DEBUGLIBS=-ldmalloc
-
--INSTALLDIR= /usr/local/
--MANPAGESDIR= /usr/local/man/
-+INSTALLDIR= ${PREFIX}
-+MANPAGESDIR= ${PREFIX}/man/
-
- OFILES= $(OBJDIR)access.o \
- $(OBJDIR)attrs.o $(OBJDIR)istack.o $(OBJDIR)parser.o $(OBJDIR)tags.o \
diff --git a/www/tidy/patches/patch-ab b/www/tidy/patches/patch-ab
index 4312e850e97..a48592d7a39 100644
--- a/www/tidy/patches/patch-ab
+++ b/www/tidy/patches/patch-ab
@@ -1,13 +1,22 @@
-$NetBSD: patch-ab,v 1.3 2002/03/07 13:33:53 wiz Exp $
+$NetBSD: patch-ab,v 1.4 2003/10/28 12:33:48 cube Exp $
---- include/platform.h.orig Mon Feb 18 08:50:02 2002
+--- include/platform.h.orig 2003-06-10 08:57:04.000000000 +0200
+++ include/platform.h
-@@ -28,7 +28,7 @@
- variable is not set. Contributed by Todd Lewis.
+@@ -48,7 +48,7 @@ extern "C" {
+ Contributed by Todd Lewis.
*/
-/* #define SUPPORT_GETPWNAM */
+#define SUPPORT_GETPWNAM
+
/* Enable/disable support for Big5 and Shift_JIS character encodings */
- #ifndef SUPPORT_ASIAN_ENCODINGS
+@@ -496,7 +496,7 @@ extern "C" {
+ #if !defined(HPUX_OS) && !defined(CYGWIN_OS) && !defined(MAC_OS_X) && !defined(BE_OS) && !defined(SOLARIS_OS) && !defined(BSD_BASED_OS) && !defined(OSF_OS) && !defined(IRIX_OS) && !defined(AIX_OS)
+ typedef unsigned int uint;
+ #endif
+-#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32)
++#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || (defined(BSD_BASED_OS) && !defined(__NetBSD__)) || defined(_WIN32)
+ typedef unsigned long ulong;
+ #endif
+