aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2016-07-02 15:57:38 +0800
committermva <mva@FreeBSD.org>2016-07-02 15:57:38 +0800
commit6b26b75811bc8f16f44efa8ec8de84aeb7509e0f (patch)
treee17e6b705897d3be041b163b6e78b22c0107b7e1 /editors
parent5e475a2fdec10585f9ede6f863cc2fad289dac7d (diff)
downloadfreebsd-ports-gnome-6b26b75811bc8f16f44efa8ec8de84aeb7509e0f.tar.gz
freebsd-ports-gnome-6b26b75811bc8f16f44efa8ec8de84aeb7509e0f.tar.zst
freebsd-ports-gnome-6b26b75811bc8f16f44efa8ec8de84aeb7509e0f.zip
- Fix build with libc++ 3.8.0; this unbreaks hte on CURRENT
PR: 208726 Submitted by: dim@
Diffstat (limited to 'editors')
-rw-r--r--editors/hte/files/patch-htapp.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/hte/files/patch-htapp.cc b/editors/hte/files/patch-htapp.cc
new file mode 100644
index 000000000000..0b90d4ea3910
--- /dev/null
+++ b/editors/hte/files/patch-htapp.cc
@@ -0,0 +1,11 @@
+--- htapp.cc.orig 2016-07-02 07:48:11 UTC
++++ htapp.cc
+@@ -3023,7 +3023,7 @@ static uint isqr(uint u)
+ {
+ uint a = 2;
+ uint b = u/a;
+- while (abs(a - b) > 1) {
++ while (abs((int)(a - b)) > 1) {
+ a = (a+b)/2;
+ b = u/a;
+ }