Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 15:05:25 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339915 - in head/net/yconalyzer: . files
Message-ID:  <201401161505.s0GF5PXI048905@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <string>
+ 
+-#if __GNUC__ > 2
+ #include <map>
+-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 <hash_map.h>
+-#define KEY_FMT_STRING "%8ux%4hx"
+-
+-#endif
+-
+ static int debug = 0;
+ static u_short port = 0;
+ static int nbuckets;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161505.s0GF5PXI048905>