Update to 030319.
This fixes a bunch of worrisome warnings on 64-bit platforms. PR: 49121 Submitted by: Thierry Thomas <thierry@pompo.net>
This commit is contained in:
parent
28837497a9
commit
dae75295f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77253
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME?= tidy
|
||||
PORTVERSION= 030302
|
||||
PORTVERSION= 030319
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://tidy.sourceforge.net/src/%SUBDIR%/ \
|
||||
http://tidy.sourceforge.net/docs/:docs
|
||||
@ -38,10 +38,12 @@ DESCR= ${.CURDIR}/pkg-descr
|
||||
|
||||
BIN2STRIP= tidy tab2space
|
||||
|
||||
#MAN1= tidy.1
|
||||
.if !defined(WITH_SHLIB)
|
||||
MAN1= tidy.1
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DOCVER= 030216
|
||||
DOCVER= 030319
|
||||
DISTFILES+= tidy_docs_${DOCVER}${EXTRACT_SUFX}:docs
|
||||
DOCFILES= Overview.html faq.html grid.gif pending.html \
|
||||
quickref.html release-notes.html tidy.css tidy.gif
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (tidy_src_030302.tgz) = f798fa041a58ecbb91841a8271d94078
|
||||
MD5 (tidy_docs_030216.tgz) = b832e6a78836bf31b3eadca3d5301106
|
||||
MD5 (tidy_src_030319.tgz) = 867f70873f4f260320a8402221b62b5b
|
||||
MD5 (tidy_docs_030319.tgz) = 5605799d3450dbf24420068f0a4fb22d
|
||||
|
@ -1,11 +1,38 @@
|
||||
--- ./include/platform.h.orig Mon Jul 8 08:50:02 2002
|
||||
+++ ./include/platform.h Sat Jul 27 10:55:37 2002
|
||||
@@ -28,7 +28,7 @@
|
||||
variable is not set. Contributed by Todd Lewis.
|
||||
--- include/platform.h.orig Thu Mar 20 08:57:01 2003
|
||||
+++ include/platform.h Fri Mar 21 10:34:00 2003
|
||||
@@ -33,7 +33,7 @@
|
||||
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 @@
|
||||
Contributed by Todd Lewis.
|
||||
*/
|
||||
|
||||
-/* #define SUPPORT_GETPWNAM */
|
||||
+#define SUPPORT_GETPWNAM
|
||||
|
||||
|
||||
/* Enable/disable support for Big5 and Shift_JIS character encodings */
|
||||
#ifndef SUPPORT_ASIAN_ENCODINGS
|
||||
@@ -443,16 +443,14 @@
|
||||
/* hack for gnu sys/types.h file which defines uint and ulong */
|
||||
/* you may need to delete the #ifndef and #endif on your system */
|
||||
|
||||
-#ifndef __USE_MISC
|
||||
#if defined(BE_OS) || defined(SOLARIS_OS) || defined(BSD_BASED_OS) || defined(MAC_OS_X) || defined(OSF_OS) || defined(IRIX_OS) || defined(AIX_OS)
|
||||
#include <sys/types.h>
|
||||
+typedef unsigned long ulong;
|
||||
#else
|
||||
#if !defined(HPUX_OS) && !defined(CYGWIN_OS)
|
||||
typedef unsigned int uint;
|
||||
#endif
|
||||
-typedef unsigned long ulong;
|
||||
#endif
|
||||
-#endif /* __USE_MISC */
|
||||
|
||||
#ifndef TIDY_EXPORT /* Define it away for most builds */
|
||||
#define TIDY_EXPORT
|
||||
|
Loading…
Reference in New Issue
Block a user