From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 28 04:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 355CC110 for ; Thu, 28 Nov 2013 04:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0E8E112C9 for ; Thu, 28 Nov 2013 04:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAS4e0vF080509 for ; Thu, 28 Nov 2013 04:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAS4e0Nn080466; Thu, 28 Nov 2013 04:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 28 Nov 2013 04:40:00 GMT Resent-Message-Id: <201311280440.rAS4e0Nn080466@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, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 135EE101 for ; Thu, 28 Nov 2013 04:38:41 +0000 (UTC) Received: from smtpout1.timeweb.ru (smtpout1.timeweb.ru [92.53.117.15]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C254212BE for ; Thu, 28 Nov 2013 04:38:40 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1VltH9-0004eU-Be; Thu, 28 Nov 2013 08:32:27 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 0D7C61C39; Thu, 28 Nov 2013 08:32:27 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 082B6427; Thu, 28 Nov 2013 08:32:27 +0400 (MSK) Message-Id: <20131128043227.082B6427@hades.panopticon> Date: Thu, 28 Nov 2013 08:32:27 +0400 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/184345: [PATCH] graphics/nip2: multiple fixes and bugs Cc: mi@aldan.algebra.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2013 04:40:01 -0000 >Number: 184345 >Category: ports >Synopsis: [PATCH] graphics/nip2: multiple fixes and bugs >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 28 04:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 10.0-BETA3 amd64 >Organization: >Environment: System: FreeBSD hades.panopticon 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r258666: Wed Nov 27 03:06:10 MSK >Description: - Fix build on 10.x - Fix build with recent graphviz - Remove useless REINPLACE The port also has leftovers when build with DOCS disabled (NOPORTDOCS): --- === Checking filesystem state after all packages deleted ================================================================ list of extra files and directories in / (not present on clean system but present after everything was deinstalled) 3052660 8 drwxr-xr-x 3 root wheel 512 Nov 28 01:56 usr/local/share/doc/nip2 3052661 8 drwxr-xr-x 2 root wheel 512 Nov 28 01:56 usr/local/share/doc/nip2/pdf 3052662 3072 -rw-r--r-- 1 root wheel 1517694 Nov 28 01:56 usr/local/share/doc/nip2/pdf/nipguide.pdf ================================================================ --- Port maintainer (mi@aldan.algebra.com) is cc'd. Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- nip2-7.26.3_2.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 335075) +++ Makefile (working copy) @@ -32,8 +32,13 @@ MAN1= nip2.1 +.include + +.if ${OSVERSION} >= 1000013 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-parser.h +.endif + post-patch: - ${REINPLACE_CMD} -e 's, malkovich,,' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|n_bytes|x_n_bytes|g' -e 's|text_size|x_text_size|g' \ ${WRKSRC}/src/gtkitementry.c Index: files/extra-patch-src-parser.h =================================================================== --- files/extra-patch-src-parser.h (revision 0) +++ files/extra-patch-src-parser.h (working copy) @@ -0,0 +1,11 @@ +--- src/parser.h.orig 2011-01-25 19:44:07.000000000 +0300 ++++ src/parser.h 2013-11-28 04:22:09.853554221 +0400 +@@ -54,7 +54,7 @@ + */ + void yyerror( const char *sub, ... ) + __attribute__((format(printf, 1, 2))); +-extern int yyleng; /* lex stuff */ ++extern size_t yyleng; /* lex stuff */ + + /* Lex gathers tokens here for workspace.c + */ Index: files/patch-src-graphwindow.c =================================================================== --- files/patch-src-graphwindow.c (revision 0) +++ files/patch-src-graphwindow.c (working copy) @@ -0,0 +1,11 @@ +--- src/graphwindow.c.orig 2011-01-25 19:44:07.000000000 +0300 ++++ src/graphwindow.c 2013-11-28 03:48:15.996694984 +0400 +@@ -260,7 +260,7 @@ + + IM_FREEF( agclose, graphwindow->graph ); + +- graphwindow->graph = agread( of->fp ); ++ graphwindow->graph = agread( of->fp, NULL ); + + ifile_close( of ); + unlinkf( "%s", tname ); --- nip2-7.26.3_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: