summarylogtreecommitdiffstats
path: root/rb39193.patch
diff options
context:
space:
mode:
authorBjörn Bidar2016-05-16 03:58:50 +0200
committerBjörn Bidar2016-05-16 03:58:50 +0200
commit36b4d43b864bcd4829abd3059c673ef03cacce8d (patch)
treed1d0f5e00d4866a63361f95565dd14706085ca58 /rb39193.patch
parent572f16b8afe951ab1e72b003a049d081be91c6a5 (diff)
downloadaur-36b4d43b864bcd4829abd3059c673ef03cacce8d.tar.gz
urel: added gcc6 fixes, builds fine but segfaults
Diffstat (limited to 'rb39193.patch')
-rw-r--r--rb39193.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/rb39193.patch b/rb39193.patch
new file mode 100644
index 000000000000..c3f06f19aae2
--- /dev/null
+++ b/rb39193.patch
@@ -0,0 +1,23 @@
+diff --git a/gfx/graphite2/src/Collider.cpp b/gfx/graphite2/src/Collider.cpp
+--- a/gfx/graphite2/src/Collider.cpp
++++ b/gfx/graphite2/src/Collider.cpp
+@@ -21,17 +21,17 @@
+
+ Alternatively, the contents of this file may be used under the terms of the
+ Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
+ License, as published by the Free Software Foundation, either version 2
+ of the License or (at your option) any later version.
+ */
+ #include <algorithm>
+ #include <limits>
+-#include <math.h>
++#include <cmath>
+ #include <string>
+ #include <functional>
+ #include "inc/Collider.h"
+ #include "inc/Segment.h"
+ #include "inc/Slot.h"
+ #include "inc/GlyphCache.h"
+ #include "inc/Sparse.h"
+
+