Bug 49121

Summary: www/tidy-devel: upgrading to 030310.
Product: Ports & Packages Reporter: Thierry Thomas <thierry>
Component: Individual Port(s)Assignee: Christian Weisgerber <naddy>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Thierry Thomas 2003-03-11 20:50:17 UTC
	Upgrading www/tidy-devel (and www/tidy-lib) to 030310.

Fix: Please apply the following patch:

How-To-Repeat: 	N/A.
Comment 1 Thierry Thomas 2003-03-21 11:04:43 UTC
Le Mar 11 mar 03 à 21:45:10 +0100, Thierry Thomas <thierry@pompo.net>
 écrivait :
> 
> >Number:         49121
> >Category:       ports
> >Synopsis:       www/tidy-devel: upgrading to 030310.

Please replace the submitted patch to the following one, in order to
upgrade to 030319.



diff -urN www/tidy-devel.orig/Makefile www/tidy-devel/Makefile
--- www/tidy-devel.orig/Makefile	Wed Mar  5 00:01:35 2003
+++ www/tidy-devel/Makefile	Fri Mar 21 11:14:58 2003
@@ -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 @@
 
 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 -urN www/tidy-devel.orig/distinfo www/tidy-devel/distinfo
--- www/tidy-devel.orig/distinfo	Mon Mar  3 21:57:58 2003
+++ www/tidy-devel/distinfo	Fri Mar 21 09:56:49 2003
@@ -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 -urN www/tidy-devel.orig/files/patch-include_platform.h www/tidy-devel/files/patch-include_platform.h
--- www/tidy-devel.orig/files/patch-include_platform.h	Sun Feb  2 00:24:54 2003
+++ www/tidy-devel/files/patch-include_platform.h	Fri Mar 21 10:34:18 2003
@@ -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


-- 
Th. Thomas.
Comment 2 Christian Weisgerber freebsd_committer freebsd_triage 2003-03-22 23:31:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->naddy

In my queue.
Comment 3 Christian Weisgerber freebsd_committer freebsd_triage 2003-03-23 13:44:13 UTC
State Changed
From-To: open->closed

Committed, thanks!