Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2016 06:43:09 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406827 - head/devel/pure-stldict/files
Message-ID:  <201601210643.u0L6h94f003600@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Jan 21 06:43:09 2016
New Revision: 406827
URL: https://svnweb.freebsd.org/changeset/ports/406827

Log:
  Fix build with gcc4.9.
  
  PR:		204385
  Submitted by:	gerald@, w.schwarzenfeld@aon.at
  Approved by: 	maintainer via twitter.

Added:
  head/devel/pure-stldict/files/patch-hashdict.cc   (contents, props changed)
  head/devel/pure-stldict/files/patch-orddict.cc   (contents, props changed)
Modified:
  head/devel/pure-stldict/files/patch-Makefile

Modified: head/devel/pure-stldict/files/patch-Makefile
==============================================================================
--- head/devel/pure-stldict/files/patch-Makefile	Thu Jan 21 06:07:09 2016	(r406826)
+++ head/devel/pure-stldict/files/patch-Makefile	Thu Jan 21 06:43:09 2016	(r406827)
@@ -1,4 +1,4 @@
---- Makefile.orig	2016-01-21 03:17:01 UTC
+--- Makefile.orig	2014-03-22 20:23:33 UTC
 +++ Makefile
 @@ -30,7 +30,7 @@ objects = $(patsubst %.cc, %$(DLL), $(cp
  all: $(objects)

Added: head/devel/pure-stldict/files/patch-hashdict.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pure-stldict/files/patch-hashdict.cc	Thu Jan 21 06:43:09 2016	(r406827)
@@ -0,0 +1,11 @@
+--- hashdict.cc.orig	2016-01-21 06:37:40 UTC
++++ hashdict.cc
+@@ -1,6 +1,8 @@
+ 
+ // This uses unordered_map, so a recent C++ library is required for now.
+ 
++#include <stddef.h>
++#include <cstddef>
+ #include <assert.h>
+ #include <stdlib.h>
+ #include <string.h>

Added: head/devel/pure-stldict/files/patch-orddict.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pure-stldict/files/patch-orddict.cc	Thu Jan 21 06:43:09 2016	(r406827)
@@ -0,0 +1,11 @@
+--- orddict.cc.orig	2016-01-21 06:38:47 UTC
++++ orddict.cc
+@@ -1,6 +1,8 @@
+ 
+ // This is completely analogous to hashdict.cc (which see).
+ 
++#include <stddef.h>
++#include <cstddef>
+ #include <assert.h>
+ #include <stdlib.h>
+ #include <string.h>



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