diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-03-05 03:49:33 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-03-05 03:49:33 +0800 |
commit | 08a663d2932aa0b7e09d803ee66be16c6bf8ea56 (patch) | |
tree | 1988fa29b69a8e87bd9bf47a75dcdf3e9c1ff3ad /deskutils/abacus | |
parent | f49be993eb45573399ce9178d7479aed6ed2fb3c (diff) | |
download | freebsd-ports-graphics-08a663d2932aa0b7e09d803ee66be16c6bf8ea56.tar.gz freebsd-ports-graphics-08a663d2932aa0b7e09d803ee66be16c6bf8ea56.tar.zst freebsd-ports-graphics-08a663d2932aa0b7e09d803ee66be16c6bf8ea56.zip |
- Fix build for CURRENT
Diffstat (limited to 'deskutils/abacus')
-rw-r--r-- | deskutils/abacus/Makefile | 2 | ||||
-rw-r--r-- | deskutils/abacus/files/patch-calc-yydefines.h | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/deskutils/abacus/Makefile b/deskutils/abacus/Makefile index f54aa9850b7..710adfd9f4e 100644 --- a/deskutils/abacus/Makefile +++ b/deskutils/abacus/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www-cad.eecs.berkeley.edu/HomePages/aml/abacus/ \ PATCH_SITES= ${MASTER_SITE_LOCAL} PATCH_SITE_SUBDIR= steve -PATCHFILES= ${PKGNAME}.patch.gz +PATCHFILES= ${PORTNAME}-${PORTVERSION}.patch.gz MAINTAINER= ports@FreeBSD.org COMMENT= Spread sheet for X Window System diff --git a/deskutils/abacus/files/patch-calc-yydefines.h b/deskutils/abacus/files/patch-calc-yydefines.h new file mode 100644 index 00000000000..48c23f9ff79 --- /dev/null +++ b/deskutils/abacus/files/patch-calc-yydefines.h @@ -0,0 +1,15 @@ +--- calc/yydefines.h.orig Thu Aug 20 23:49:19 1998 ++++ calc/yydefines.h Tue Mar 4 20:40:04 2003 +@@ -7,9 +7,10 @@ + extern int parse_return_code; + double gettime(char *); + +-void yyrestart(); ++#include <stdio.h> ++void yyrestart(FILE *); + int yyerror(char *); +-int yylex(); ++int yylex(void); + char *yysave(char *); + + |