Fix arch where char are unsigned by default

from Matthew Martin, ok sthen@
This commit is contained in:
benoit 2018-06-27 20:43:11 +00:00
parent a1efa293de
commit f2fa52a4d9
2 changed files with 17 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.30 2017/07/26 22:45:19 sthen Exp $
# $OpenBSD: Makefile,v 1.31 2018/06/27 20:43:11 benoit Exp $
COMMENT = file editor/viewer/analyzer for executables
DISTNAME = ht-2.1.0
CATEGORIES = editors
REVISION = 3
REVISION = 4
HOMEPAGE = http://hte.sourceforge.net/

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-httag_h,v 1.1 2018/06/27 20:43:11 benoit Exp $
fix arch where char are unsigned by default
--- httag.h.orig Wed Jun 27 22:32:27 2018
+++ httag.h Wed Jun 27 22:33:33 2018
@@ -69,7 +69,7 @@
} PACKED;
struct ht_tag_flags_s {
- char bitidx;
+ signed char bitidx;
const char *desc;
} PACKED;