diff -urN /usr/ports/textproc/unrtf/Makefile textproc/unrtf/Makefile --- /usr/ports/textproc/unrtf/Makefile Sat May 13 14:47:49 2006 +++ textproc/unrtf/Makefile Sun Jun 11 22:10:02 2006 @@ -5,25 +5,20 @@ # $FreeBSD: ports/textproc/unrtf/Makefile,v 1.13 2006/05/13 04:24:50 edwin Exp $ PORTNAME= unrtf -PORTVERSION= 0.19.3 -PORTREVISION= 1 +PORTVERSION= 0.20.1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A converter from RTF to several formats, including HTML and LaTeX -ALL_TARGET= unrtf +USE_GNOME= gnometarget +GNU_CONFIGURE= yes MAN1= unrtf.1 PLIST_FILES= bin/unrtf - -post-patch: - @${REINPLACE_CMD} -e "s|^CC|#CC| ; s|^CFLAGS|#CFLAGS| ; \ - s|||" ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e "s|||" ${WRKSRC}/malloc.c - ${REINPLACE_CMD} -e 's/printf (op->\(.*\))/printf (op->\1 == NULL ? "" : op->\1)/' ${WRKSRC}/convert.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unrtf ${PREFIX}/bin diff -urN /usr/ports/textproc/unrtf/distinfo textproc/unrtf/distinfo --- /usr/ports/textproc/unrtf/distinfo Sat Nov 26 19:32:37 2005 +++ textproc/unrtf/distinfo Sun Jun 11 22:08:49 2006 @@ -1,3 +1,3 @@ -MD5 (unrtf-0.19.3.tar.gz) = e7eedca559efd94baf6f9541d7510a9b -SHA256 (unrtf-0.19.3.tar.gz) = 5aaede80baf733a79deb13210ff332c138f0add9611a51f12ef752298838e24f -SIZE (unrtf-0.19.3.tar.gz) = 127770 +MD5 (unrtf_0.20.1.tar.gz) = 333b77c0db24c221042ef586bffd7a04 +SHA256 (unrtf_0.20.1.tar.gz) = 7fe6cc73320205d8c375980c547e8b8a7c1fcee0a73fd0086445646017722df5 +SIZE (unrtf_0.20.1.tar.gz) = 153124 diff -urN /usr/ports/textproc/unrtf/files/patch-convert.c textproc/unrtf/files/patch-convert.c --- /usr/ports/textproc/unrtf/files/patch-convert.c Fri Feb 11 22:33:02 2005 +++ textproc/unrtf/files/patch-convert.c Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- convert.c.orig Sun Jan 30 13:34:16 2005 -+++ convert.c Sun Jan 30 13:35:36 2005 -@@ -341,7 +341,7 @@ - while(w2) { - tmp = word_string (w2); - if (tmp && tmp[0] != '\\') -- strcat(name,tmp); -+ strncat(name,tmp,sizeof(name)-strlen(name)-1); - - w2=w2->next; - }