svn commit: r406827 - head/devel/pure-stldict/files
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Jan 21 06:43:11 UTC 2016
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 at 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>
More information about the svn-ports-all
mailing list