- use a signed int instead of long int; (now it works on sparc64)

- regen patches

requested and ok by naddy@
This commit is contained in:
robert 2005-03-16 20:26:51 +00:00
parent efcd59df1a
commit f78d86f930
4 changed files with 20 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2005/02/07 19:01:49 pvalchev Exp $ # $OpenBSD: Makefile,v 1.8 2005/03/16 20:26:51 robert Exp $
COMMENT= "multi-radix integer desk calculator" COMMENT= "multi-radix integer desk calculator"
DISTNAME= hc DISTNAME= hc
PKGNAME= hc-1.1 PKGNAME= hc-1.1p0
CATEGORIES= math CATEGORIES= math
HOMEPAGE= http://www.geocities.com/connorbd/software/hc.html HOMEPAGE= http://www.geocities.com/connorbd/software/hc.html

View File

@ -1,5 +1,6 @@
--- hc.1~ Sun Dec 16 22:39:09 2001 $OpenBSD: patch-hc_1,v 1.2 2005/03/16 20:26:51 robert Exp $
+++ hc.1 Sun Dec 16 22:39:35 2001 --- hc.1.orig Thu Sep 14 04:41:14 2000
+++ hc.1 Wed Mar 16 21:21:59 2005
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
.Os .Os
.Sh NAME .Sh NAME

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-hc_y,v 1.1 2005/03/16 20:26:51 robert Exp $
--- hc.y.orig Thu Sep 14 04:50:45 2000
+++ hc.y Wed Mar 16 21:21:59 2005
@@ -133,7 +133,7 @@ int yylex() {
if (isdigit(c)) {
ungetc(c, stdin);
- scanf("%li",&yylval);
+ scanf("%i",&yylval);
return NUMBER;
}
if (c == '\n')

View File

@ -1,5 +1,6 @@
--- makefile~ Sun Dec 16 22:23:47 2001 $OpenBSD: patch-makefile,v 1.2 2005/03/16 20:26:51 robert Exp $
+++ makefile Sun Dec 16 22:23:56 2001 --- makefile.orig Thu Sep 14 04:45:41 2000
+++ makefile Wed Mar 16 21:18:52 2005
@@ -1,3 +1,5 @@ @@ -1,3 +1,5 @@
+all: hc +all: hc
+ +