svn commit: r417913 - head/editors/hte/files

Marcus von Appen mva at FreeBSD.org
Sat Jul 2 07:57:39 UTC 2016


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;
+         }


More information about the svn-ports-all mailing list