From 52168317e247ec826988d7f6116ea1a42ed3e076 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 13 Feb 2004 09:37:20 +0000 Subject: [PATCH] - Update to 1.3.2 and unbreak on 5.x - Switch maintainer to ports@FreeBSD.org PR: ports/62390 Submitted by: hrs --- textproc/html2text/Makefile | 8 ++------ textproc/html2text/distinfo | 3 ++- textproc/html2text/files/patch-format.C | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 textproc/html2text/files/patch-format.C diff --git a/textproc/html2text/Makefile b/textproc/html2text/Makefile index dd2cdec7f170..708bdd926b80 100644 --- a/textproc/html2text/Makefile +++ b/textproc/html2text/Makefile @@ -6,12 +6,12 @@ # PORTNAME= html2text -PORTVERSION= 1.3.1 +PORTVERSION= 1.3.2 CATEGORIES= textproc MASTER_SITES= http://userpage.fu-berlin.de/~mbayer/tools/ \ ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/ -MAINTAINER= corecode@corecode.ath.cx +MAINTAINER= ports@FreeBSD.org COMMENT= Converts HTML documents into plain text USE_REINPLACE= yes @@ -25,10 +25,6 @@ DOCS= CHANGES COPYING CREDITS KNOWN_BUGS README TODO .include -.if ${OSVERSION} >= 502000 -BROKEN= "Does not compile" -.endif - post-patch: @${REINPLACE_CMD} -e '/echo=/s/ -e//' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^DEBUG/s/^/#/; /^CXXFLAGS/s/=/+=/' \ diff --git a/textproc/html2text/distinfo b/textproc/html2text/distinfo index 4da2e5b50a66..5d7a6d2b801b 100644 --- a/textproc/html2text/distinfo +++ b/textproc/html2text/distinfo @@ -1 +1,2 @@ -MD5 (html2text-1.3.1.tar.gz) = faa3eaeb062540e72d251d6c3fa6cc71 +MD5 (html2text-1.3.2.tar.gz) = 14b091c7c5cb5c3bc2ce19298a0c0e27 +SIZE (html2text-1.3.2.tar.gz) = 131336 diff --git a/textproc/html2text/files/patch-format.C b/textproc/html2text/files/patch-format.C new file mode 100644 index 000000000000..c1942c85f553 --- /dev/null +++ b/textproc/html2text/files/patch-format.C @@ -0,0 +1,19 @@ +--- format.C Mon Jul 29 20:12:13 2002 ++++ format.C Thu Feb 5 22:47:07 2004 +@@ -34,7 +34,7 @@ + /***************************************************************************/ + + +-#include ++#include + + #include + #include +@@ -50,6 +50,7 @@ + + using std::endl; + using std::flush; ++using std::ostrstream; + + #ifndef nelems + #define nelems(array) (sizeof(array) / sizeof((array)[0]))