Bug 185683 - [MAINTAINER] net/yconalyzer: Fix build in FreeBSD 10
Summary: [MAINTAINER] net/yconalyzer: Fix build in FreeBSD 10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-12 13:50 UTC by gslin
Modified: 2014-01-25 10:40 UTC (History)
0 users

See Also:


Attachments
yconalyzer-1.0.4_1.patch (1.23 KB, patch)
2014-01-12 13:50 UTC, gslin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2014-01-12 13:50:00 UTC
* Fix build in FreeBSD 10.
* Remove NO_STAGE.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2014-01-16 15:05:25 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-16 15:05:32 UTC
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;
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-25 10:32:59 UTC
Author: miwi
Date: Sat Jan 25 10:32:51 2014
New Revision: 341001
URL: http://svnweb.freebsd.org/changeset/ports/341001
QAT: https://qat.redports.org/buildarchive/r341001/

Log:
  MFH: r339915
  
  - Fix build on FreeBSD 10.
  
  PR:		185683
  Submitted by:	maintainer

Added:
  branches/2014Q1/net/yconalyzer/files/
     - copied from r339915, head/net/yconalyzer/files/
Modified:
  branches/2014Q1/net/yconalyzer/Makefile   (contents, props changed)
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/net/yconalyzer/Makefile
==============================================================================
--- branches/2014Q1/net/yconalyzer/Makefile	Sat Jan 25 09:28:51 2014	(r341000)
+++ branches/2014Q1/net/yconalyzer/Makefile	Sat Jan 25 10:32:51 2014	(r341001)
@@ -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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"