From owner-svn-ports-head@FreeBSD.ORG Thu Jan 16 15:05:25 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A84E435F; Thu, 16 Jan 2014 15:05:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 9483C1579; Thu, 16 Jan 2014 15:05:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0GF5PDR048907; Thu, 16 Jan 2014 15:05:25 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0GF5PXI048905; Thu, 16 Jan 2014 15:05:25 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201401161505.s0GF5PXI048905@svn.freebsd.org> From: Martin Wilke Date: Thu, 16 Jan 2014 15:05:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339915 - in head/net/yconalyzer: . 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.17 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: Thu, 16 Jan 2014 15:05:25 -0000 Author: miwi Date: Thu Jan 16 15:05:24 2014 New Revision: 339915 URL: http://svnweb.freebsd.org/changeset/ports/339915 QAT: https://qat.redports.org/buildarchive/r339915/ Log: - Fix build on FreeBSD 10. PR: 185683 Submitted by: maintainer Added: head/net/yconalyzer/files/ head/net/yconalyzer/files/patch-yconalyzer.cc (contents, props changed) Modified: head/net/yconalyzer/Makefile (contents, props changed) Modified: head/net/yconalyzer/Makefile ============================================================================== --- head/net/yconalyzer/Makefile Thu Jan 16 15:00:30 2014 (r339914) +++ head/net/yconalyzer/Makefile Thu Jan 16 15:05:24 2014 (r339915) @@ -3,6 +3,7 @@ PORTNAME= yconalyzer PORTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,10 +15,10 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/yconalyzer USE_BZIP2= yes USE_GMAKE= yes +NO_STAGE= yes MAN8= yconalyzer.8 -NO_STAGE= yes pre-install: ${CHMOD} a+x ${WRKSRC}/install-sh Added: head/net/yconalyzer/files/patch-yconalyzer.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/yconalyzer/files/patch-yconalyzer.cc Thu Jan 16 15:05:24 2014 (r339915) @@ -0,0 +1,23 @@ +--- yconalyzer.cc.orig 2014-01-12 14:15:17.000000000 +0800 ++++ yconalyzer.cc 2014-01-12 14:17:49.000000000 +0800 +@@ -76,19 +76,11 @@ + + #include + +-#if __GNUC__ > 2 + #include +-using namespace _GLIBCXX_STD; ++using namespace std; + // Linux gcc-3 is not too happy with the format strings we use in BSD. + #define KEY_FMT_STRING "%#8x%#4x" + +-#else /* We are using gnu-c <= 2 */ +- +-#include +-#define KEY_FMT_STRING "%8ux%4hx" +- +-#endif +- + static int debug = 0; + static u_short port = 0; + static int nbuckets;