From owner-svn-ports-head@freebsd.org Tue Jul 14 14:47:32 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48C449A109A; Tue, 14 Jul 2015 14:47:32 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E9397D2; Tue, 14 Jul 2015 14:47:32 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6EElVb4041790; Tue, 14 Jul 2015 14:47:31 GMT (envelope-from skreuzer@FreeBSD.org) Received: (from skreuzer@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6EElVkl041785; Tue, 14 Jul 2015 14:47:31 GMT (envelope-from skreuzer@FreeBSD.org) Message-Id: <201507141447.t6EElVkl041785@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: skreuzer set sender to skreuzer@FreeBSD.org using -f From: Steven Kreuzer Date: Tue, 14 Jul 2015 14:47:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392009 - in head/net/drawterm: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 14:47:32 -0000 Author: skreuzer Date: Tue Jul 14 14:47:30 2015 New Revision: 392009 URL: https://svnweb.freebsd.org/changeset/ports/392009 Log: r285140 introduced a fdclose(3) function which shadows a net/drawterm function definition. Shadow the stdio prototype with a macro and undef it after including stdio.h Convert port to the USES framework Regenerate the patch-Make.pthread file using makepatch PR: 201444 Submitted by: winston@ml1.net (maintainer) Added: head/net/drawterm/files/patch-include_unix.h (contents, props changed) Modified: head/net/drawterm/Makefile head/net/drawterm/files/patch-Make.pthread Modified: head/net/drawterm/Makefile ============================================================================== --- head/net/drawterm/Makefile Tue Jul 14 14:47:24 2015 (r392008) +++ head/net/drawterm/Makefile Tue Jul 14 14:47:30 2015 (r392009) @@ -3,9 +3,9 @@ PORTNAME= drawterm PORTVERSION= 20140106 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://swtch.com/drawterm/ -EXTRACT_SUFX= .tgz MAINTAINER= winston@ml1.net COMMENT= Plan9 cpu client @@ -13,6 +13,7 @@ COMMENT= Plan9 cpu client # Additionally the Lucent Public License LICENSE= MIT +USES= tar:tgz USE_XORG= x11 xt PLIST_FILES= bin/drawterm Modified: head/net/drawterm/files/patch-Make.pthread ============================================================================== --- head/net/drawterm/files/patch-Make.pthread Tue Jul 14 14:47:24 2015 (r392008) +++ head/net/drawterm/files/patch-Make.pthread Tue Jul 14 14:47:30 2015 (r392009) @@ -1,6 +1,6 @@ ---- Make.pthread.orig 2009-08-26 00:44:41.000000000 -0500 -+++ Make.pthread 2012-02-15 14:04:26.020899861 -0600 -@@ -4,14 +4,14 @@ +--- Make.pthread.orig 2009-08-26 05:44:41 UTC ++++ Make.pthread +@@ -4,14 +4,14 @@ PTHREAD=-pthread -DPTHREAD AR=ar AS=no-as-here RANLIB=ranlib Added: head/net/drawterm/files/patch-include_unix.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/drawterm/files/patch-include_unix.h Tue Jul 14 14:47:30 2015 (r392009) @@ -0,0 +1,12 @@ +--- include/unix.h.orig 2015-07-13 22:14:41 UTC ++++ include/unix.h +@@ -11,7 +11,9 @@ + #define _FILE_OFFSET_BITS 64 + + ++#define fdclose sysfdclose + #include ++#undef fdclose + #include + #include + #include