ht: fix build
This commit is contained in:
parent
e238b94b99
commit
e7197207f1
|
@ -0,0 +1,11 @@
|
|||
--- htapp.cc.orig 2018-01-10 18:38:43.062092621 +0100
|
||||
+++ htapp.cc 2018-01-10 18:39:04.732035497 +0100
|
||||
@@ -3023,7 +3023,7 @@ static uint isqr(uint u)
|
||||
{
|
||||
uint a = 2;
|
||||
uint b = u/a;
|
||||
- while (abs(a - b) > 1) {
|
||||
+ while (abs((long int)a - (long int)b) > 1) {
|
||||
a = (a+b)/2;
|
||||
b = u/a;
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ht'
|
||||
pkgname=ht
|
||||
version=2.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="ncurses-devel lzo-devel"
|
||||
short_desc="File editor/viewer/analyzer for executables"
|
||||
|
|
Loading…
Reference in New Issue