pkgsrc/time/plan/patches/patch-ai
2007-08-08 21:07:48 +00:00

25 lines
796 B
Text

$NetBSD: patch-ai,v 1.3 2007/08/08 21:07:49 joerg Exp $
--- holiday.c.orig 2005-01-09 09:44:34.000000000 +0000
+++ holiday.c
@@ -20,11 +20,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
-#ifndef NEWSOS4
-#ifndef STDLIBMALLOC
-#include <malloc.h>
-#endif
-#endif
#ifdef CPP_PATH
#include <sys/types.h>
#include <sys/stat.h>
@@ -52,7 +47,7 @@ static int calc_pascha(int);
extern int yyparse(void);
-#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(__FreeBSD__)||defined(HPGCC)||defined(__EMX__)||defined(__OpenBSD__)
+#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(__FreeBSD__)||defined(HPGCC)||defined(__EMX__)||defined(__OpenBSD__)||defined(__DragonFly__)
int yylineno;
#else
extern int yylineno; /* current line # being parsed */