diff options
author | antoine <antoine@FreeBSD.org> | 2016-11-06 17:24:00 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2016-11-06 17:24:00 +0800 |
commit | bd8cb141e3c3073cc479cb7c5ae686c6f554e80d (patch) | |
tree | 3d5dcba7716f7d98b076f5087e6d5c4821b305a0 | |
parent | 4953d26d4f3cbb5e6040b0b07e862dac36f80027 (diff) | |
download | freebsd-ports-gnome-bd8cb141e3c3073cc479cb7c5ae686c6f554e80d.tar.gz freebsd-ports-gnome-bd8cb141e3c3073cc479cb7c5ae686c6f554e80d.tar.zst freebsd-ports-gnome-bd8cb141e3c3073cc479cb7c5ae686c6f554e80d.zip |
Fix build with gcc 4.9
PR: 196712
-rw-r--r-- | benchmarks/polygraph/files/patch-src_xstd_Ring.h | 18 |
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; } |