From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 18 17:40:10 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3433F16A4D2 for ; Wed, 18 Aug 2004 17:40:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EF7843D2F for ; Wed, 18 Aug 2004 17:40:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7IHeArv050090 for ; Wed, 18 Aug 2004 17:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7IHe9VU050089; Wed, 18 Aug 2004 17:40:09 GMT (envelope-from gnats) Resent-Date: Wed, 18 Aug 2004 17:40:09 GMT Resent-Message-Id: <200408181740.i7IHe9VU050089@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1557E16A4CE for ; Wed, 18 Aug 2004 17:32:02 +0000 (GMT) Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ED1443D46 for ; Wed, 18 Aug 2004 17:32:00 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([61.198.217.228]) by hfep06.dion.ne.jp with SMTP id <20040818173156238.HQTC@hfep06.dion.ne.jp> for ; Thu, 19 Aug 2004 02:31:56 +0900 Message-Id: <20040819023029.3240d60d.tkato432@yahoo.com> Date: Thu, 19 Aug 2004 02:30:29 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70635: Update port: textproc/xmlppm to 0.98.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 17:40:10 -0000 >Number: 70635 >Category: ports >Synopsis: Update port: textproc/xmlppm to 0.98.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 18 17:40:09 GMT 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 0.98.1 Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/textproc/xmlppm/Makefile textproc/xmlppm/Makefile --- /usr/ports/textproc/xmlppm/Makefile Mon Aug 16 22:46:06 2004 +++ textproc/xmlppm/Makefile Tue Aug 17 23:14:45 2004 @@ -7,8 +7,7 @@ # PORTNAME= xmlppm -PORTVERSION= 0.97 -PORTREVISION= 2 +PORTVERSION= 0.98.1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.cs.cornell.edu/People/jcheney/xmlppm/ @@ -22,16 +21,22 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src -USE_GMAKE= yes USE_ICONV= yes -MAKE_ARGS= CC="${CXX}" OPT_FLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ +USE_REINPLACE= yes +USE_GMAKE= yes +MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lexpat -liconv" -.include +PORTDOCS= README +PLIST_FILES= bin/xmlppm bin/xmlunppm -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile with gcc 3.4.2" -.endif +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CC|#CC|g ; \ + s|^CPPFLAGS|#CPPFLAGS|g ; \ + s|^CFLAGS|#CFLAGS|g ; \ + s|$$(CC)|$$(CXX)|g ; \ + s|$$(CFLAGS)|$$(CXXFLAGS)|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xmlppm ${PREFIX}/bin @@ -41,4 +46,4 @@ ${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR} .endif -.include +.include diff -urN /usr/ports/textproc/xmlppm/distinfo textproc/xmlppm/distinfo --- /usr/ports/textproc/xmlppm/distinfo Fri Jan 30 14:54:45 2004 +++ textproc/xmlppm/distinfo Tue Aug 17 22:42:46 2004 @@ -1,2 +1,2 @@ -MD5 (xmlppm-0.97-src.tar.gz) = 89a5aa7f2ff5a96e3894f3a97aec0f1d -SIZE (xmlppm-0.97-src.tar.gz) = 36440 +MD5 (xmlppm-0.98.1-src.tar.gz) = 242c073527ec09c70669bf2b22b692e3 +SIZE (xmlppm-0.98.1-src.tar.gz) = 38197 diff -urN /usr/ports/textproc/xmlppm/files/patch-IFile.cpp textproc/xmlppm/files/patch-IFile.cpp --- /usr/ports/textproc/xmlppm/files/patch-IFile.cpp Fri Jul 25 00:10:05 2003 +++ textproc/xmlppm/files/patch-IFile.cpp Tue Aug 17 23:21:10 2004 @@ -1,11 +1,11 @@ ---- IFile.cpp.orig Wed Jul 23 04:32:54 2003 -+++ IFile.cpp Wed Jul 23 04:35:43 2003 -@@ -100,7 +100,7 @@ - while(insz > 0) { - size_t result; - outsz = BUFFSIZE; -- result = iconv(ifile->iconv, &(char*)inptr, &insz, &outptr, &outsz); -+ result = iconv(ifile->iconv, &inptr, &insz, &outptr, &outsz); - total += fwrite(outbuf, sizeof(char), BUFFSIZE-outsz, ifile->file); - if(result == (size_t)-1 && errno != E2BIG) { - return total; +--- IFile.cpp.orig Thu Jun 10 04:16:13 2004 ++++ IFile.cpp Tue Aug 17 23:21:02 2004 +@@ -73,7 +73,7 @@ + writing the output. Then flush the file. */ + void ifflush(IFILE* ifile) { + static char outbuf[BUFFSIZE]; +- char* inptr = ifile->buf; ++ const char* inptr = ifile->buf; + char* outptr = outbuf; + size_t insz = ifile->bufsiz; + size_t outsz; diff -urN /usr/ports/textproc/xmlppm/pkg-descr textproc/xmlppm/pkg-descr --- /usr/ports/textproc/xmlppm/pkg-descr Tue May 15 13:09:08 2001 +++ textproc/xmlppm/pkg-descr Tue Aug 17 22:35:43 2004 @@ -5,4 +5,4 @@ approach to modeling tree-structured data called Multiplexed Hierarchical Modeling (MHM) that I have developed. -WWW: http://xmlppm.sourceforge.net/ +WWW: http://www.cs.cornell.edu/People/jcheney/xmlppm/xmlppm.html diff -urN /usr/ports/textproc/xmlppm/pkg-plist textproc/xmlppm/pkg-plist --- /usr/ports/textproc/xmlppm/pkg-plist Fri Jul 25 10:40:36 2003 +++ textproc/xmlppm/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1,4 +0,0 @@ -bin/xmlppm -bin/xmlunppm -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted: