diff --git a/math/xspread/Makefile b/math/xspread/Makefile index e59edda7b823..8025c603540e 100644 --- a/math/xspread/Makefile +++ b/math/xspread/Makefile @@ -1,6 +1,6 @@ PORTNAME= xspread PORTVERSION= 3.1.1c -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= http://archive.debian.org/%SUBDIR%/ \ http://mirror.safehostnet.com/debian-archive/%SUBDIR%/ \ diff --git a/math/xspread/files/patch-interp.c b/math/xspread/files/patch-interp.c index b3b52477548e..03306f8858f3 100644 --- a/math/xspread/files/patch-interp.c +++ b/math/xspread/files/patch-interp.c @@ -1,6 +1,15 @@ ---- interp.c.orig 1995-11-07 02:17:26 UTC +--- interp.c.orig +++ interp.c -@@ -516,7 +516,7 @@ int mo, day, yr; +@@ -33,7 +33,7 @@ + #include + #include + +-extern int errno; /* set by math functions */ ++#include + + #include "sc.h" + +@@ -516,7 +516,7 @@ mdays[1] = 28 + (yr%4 == 0); if (mo < 1 || mo > 12 || day < 1 || day > mdays[--mo] ||