summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-11-06 09:24:00 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-11-06 09:24:00 +0000
commit1b563cf909d42db890bc7f9ea513992cc9d5b08e (patch)
tree3d5dcba7716f7d98b076f5087e6d5c4821b305a0 /benchmarks
parent- update to 3.2-20161106 (diff)
Fix build with gcc 4.9
PR: 196712
Notes
Notes: svn path=/head/; revision=425476
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/polygraph/files/patch-src_xstd_Ring.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/benchmarks/polygraph/files/patch-src_xstd_Ring.h b/benchmarks/polygraph/files/patch-src_xstd_Ring.h
new file mode 100644
index 000000000000..4082eced6195
--- /dev/null
+++ b/benchmarks/polygraph/files/patch-src_xstd_Ring.h
@@ -0,0 +1,18 @@
+commit a1b938b85e2b9aabb95fb09b9f7137b27135ea72
+Author: Alex Rousskov <rousskov@measurement-factory.com>
+Date: Thu Jan 7 08:20:34 2016 -0700
+
+ lp:1380660: Make failed if gcc 4.9 is used.
+
+ Merged POLY-43-lp1380660-make-failed-if-gcc-49-.
+
+--- src/xstd/Ring.h.orig 2014-10-22 23:22:22 UTC
++++ src/xstd/Ring.h
+@@ -19,6 +19,7 @@ class Ring: protected Array<Item> {
+
+ using Array<Item>::capacity;
+ using Array<Item>::size;
++ using Array<Item>::Value;
+
+ int count() const { return theInOff - theOutOff; }
+ bool empty() const { return theInOff <= theOutOff; }