aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/abacus
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-03-05 03:49:33 +0800
committerdinoex <dinoex@FreeBSD.org>2003-03-05 03:49:33 +0800
commit08a663d2932aa0b7e09d803ee66be16c6bf8ea56 (patch)
tree1988fa29b69a8e87bd9bf47a75dcdf3e9c1ff3ad /deskutils/abacus
parentf49be993eb45573399ce9178d7479aed6ed2fb3c (diff)
downloadfreebsd-ports-gnome-08a663d2932aa0b7e09d803ee66be16c6bf8ea56.tar.gz
freebsd-ports-gnome-08a663d2932aa0b7e09d803ee66be16c6bf8ea56.tar.zst
freebsd-ports-gnome-08a663d2932aa0b7e09d803ee66be16c6bf8ea56.zip
- Fix build for CURRENT
Diffstat (limited to 'deskutils/abacus')
-rw-r--r--deskutils/abacus/Makefile2
-rw-r--r--deskutils/abacus/files/patch-calc-yydefines.h15
2 files changed, 16 insertions, 1 deletions
diff --git a/deskutils/abacus/Makefile b/deskutils/abacus/Makefile
index f54aa9850b79..710adfd9f4eb 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 000000000000..48c23f9ff79f
--- /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 *);
+
+