pkgsrc/www/tidy/patches/patch-ab
wiz e604e31d45 Update to 20050921, provided by Jeroen Ruigrok/asmodai in PR 31220.
fix crashes with nested framesets
fix dmalloc conflicts
fix crashes with invalid x/html tags
fix memory corruptions
fix attributes with null values
replace tabs with spaces
a lot generic stability fixes
fix accessibility crashes
accessibility missing output added
use id= instead of a name=
fix crashes with mixed php-like code in html
fix memory leaks
xml: was stripped from xml:lang
make sure id and name are identical when used
do not add xml:lang for XHTML 1.1
check validity of id/name values
a lot of new options for finegrained control
support align="char"
fix 64 bit portability issues
fix support for nested <sub> and <sup>
make sure id's are unique
be more resistant against malformed comments
make sure attribute values are lowercase for xhtml specified values
ensure xml declarations are present
allow empty action="" to form
area does not need a mandatory href
2005-10-04 18:00:49 +00:00

37 lines
1.2 KiB
Text

$NetBSD: patch-ab,v 1.6 2005/10/04 18:00:49 wiz Exp $
--- include/platform.h.orig 2005-06-16 08:58:05.000000000 +0200
+++ include/platform.h 2005-07-03 15:02:26.000000000 +0200
@@ -48,7 +48,7 @@
Contributed by Todd Lewis.
*/
-/* #define SUPPORT_GETPWNAM */
+#define SUPPORT_GETPWNAM
/* Enable/disable support for Big5 and Shift_JIS character encodings */
@@ -105,7 +105,13 @@
/* Convenience defines for BSD like platforms */
-#if defined(__FreeBSD__)
+#if defined(__DragonFly__)
+#define BSD_BASED_OS
+#ifndef PLATFORM_NAME
+#define PLATFORM_NAME "DragonFly"
+#endif
+
+#elif defined(__FreeBSD__)
#define BSD_BASED_OS
#ifndef PLATFORM_NAME
#define PLATFORM_NAME "FreeBSD"
@@ -504,7 +510,7 @@
#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) && !defined(LINUX_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