diff options
author | mva <mva@FreeBSD.org> | 2016-07-02 15:57:38 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2016-07-02 15:57:38 +0800 |
commit | 6b26b75811bc8f16f44efa8ec8de84aeb7509e0f (patch) | |
tree | e17e6b705897d3be041b163b6e78b22c0107b7e1 /editors | |
parent | 5e475a2fdec10585f9ede6f863cc2fad289dac7d (diff) | |
download | freebsd-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.cc | 11 |
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; + } |