Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2016 07:57:38 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417913 - head/editors/hte/files
Message-ID:  <201607020757.u627vcXf008104@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sat Jul  2 07:57:38 2016
New Revision: 417913
URL: https://svnweb.freebsd.org/changeset/ports/417913

Log:
  - Fix build with libc++ 3.8.0; this unbreaks hte on CURRENT
  
  PR:		208726
  Submitted by:	dim@

Added:
  head/editors/hte/files/
  head/editors/hte/files/patch-htapp.cc   (contents, props changed)

Added: head/editors/hte/files/patch-htapp.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/hte/files/patch-htapp.cc	Sat Jul  2 07:57:38 2016	(r417913)
@@ -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;
+         }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607020757.u627vcXf008104>