openbsd-ports/www/tidy/patches/patch-include_platform_h
xsa 26f70e13fe update to 040205 snapshot; based on a diff from new MAINTAINER
Eduardo Alvarenga <eduardo at thrx.org> via and ok rohee@.
2004-03-02 21:20:12 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-include_platform_h,v 1.1 2004/03/02 21:20:12 xsa Exp $
--- include/platform.h.orig 2004-01-11 08:57:03.000000000 +0100
+++ include/platform.h 2004-03-03 00:15:26.000000000 +0100
@@ -33,7 +33,7 @@ extern "C" {
It enables tidy to find config files named ~/.tidyrc if
the HTML_TIDY environment variable is not set.
*/
-/* #define USER_CONFIG_FILE "~/.tidyrc" */
+#define USER_CONFIG_FILE "~/.tidyrc"
/*
Uncomment the following #define if your
@@ -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 */
@@ -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(__OpenBSD__)) || defined(_WIN32)
typedef unsigned long ulong;
#endif