aboutsummaryrefslogtreecommitdiffstats
path: root/www/tidy-devel
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-03-23 21:46:34 +0800
committernaddy <naddy@FreeBSD.org>2003-03-23 21:46:34 +0800
commit50b016899b478cd0afddfdf39e39d086bd3ae6c6 (patch)
tree09cf84b6ed1e3f249c5517ab9d4df54996689b6a /www/tidy-devel
parent6719650b0e81f9486433682c643f30b62358b05c (diff)
downloadfreebsd-ports-gnome-50b016899b478cd0afddfdf39e39d086bd3ae6c6.tar.gz
freebsd-ports-gnome-50b016899b478cd0afddfdf39e39d086bd3ae6c6.tar.zst
freebsd-ports-gnome-50b016899b478cd0afddfdf39e39d086bd3ae6c6.zip
Update to 030319.
This fixes a bunch of worrisome warnings on 64-bit platforms. PR: 49121 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'www/tidy-devel')
-rw-r--r--www/tidy-devel/Makefile8
-rw-r--r--www/tidy-devel/distinfo4
-rw-r--r--www/tidy-devel/files/patch-include_platform.h37
3 files changed, 39 insertions, 10 deletions
diff --git a/www/tidy-devel/Makefile b/www/tidy-devel/Makefile
index 6fbc57bbcd14..39b16bc7e012 100644
--- a/www/tidy-devel/Makefile
+++ b/www/tidy-devel/Makefile
@@ -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
diff --git a/www/tidy-devel/distinfo b/www/tidy-devel/distinfo
index 65cf759d6c53..cf0e46b12a7b 100644
--- a/www/tidy-devel/distinfo
+++ b/www/tidy-devel/distinfo
@@ -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
diff --git a/www/tidy-devel/files/patch-include_platform.h b/www/tidy-devel/files/patch-include_platform.h
index 762d43b18fc4..1d0addca3cfb 100644
--- a/www/tidy-devel/files/patch-include_platform.h
+++ b/www/tidy-devel/files/patch-include_platform.h
@@ -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