From 08a663d2932aa0b7e09d803ee66be16c6bf8ea56 Mon Sep 17 00:00:00 2001 From: dinoex Date: Tue, 4 Mar 2003 19:49:33 +0000 Subject: - Fix build for CURRENT --- deskutils/abacus/Makefile | 2 +- deskutils/abacus/files/patch-calc-yydefines.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 deskutils/abacus/files/patch-calc-yydefines.h (limited to 'deskutils/abacus') 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 ++void yyrestart(FILE *); + int yyerror(char *); +-int yylex(); ++int yylex(void); + char *yysave(char *); + + -- cgit