From 231a7ba9e000754523a657b8c64d9e6b9a4b1434 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Mon, 24 Aug 2020 05:37:50 +0000 Subject: [PATCH] Fix build with -fno-common. --- deskutils/plan/files/patch-holiday.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 deskutils/plan/files/patch-holiday.c diff --git a/deskutils/plan/files/patch-holiday.c b/deskutils/plan/files/patch-holiday.c new file mode 100644 index 000000000000..a1b932c9fe2b --- /dev/null +++ b/deskutils/plan/files/patch-holiday.c @@ -0,0 +1,11 @@ +--- holiday.c.orig 2005-05-17 13:22:27.000000000 -0700 ++++ holiday.c 2020-08-23 22:19:14.336458000 -0700 +@@ -50,7 +50,7 @@ + extern int yyparse(void); + + +-#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(__FreeBSD__)||defined(HPGCC)||defined(__EMX__)||defined(__OpenBSD__)||defined(MACOSX) ++#if defined(bsdi)||defined(linux)||defined(__NetBSD__)||defined(HPGCC)||defined(__EMX__)||defined(__OpenBSD__)||defined(MACOSX) + int yylineno; + #else + extern int yylineno; /* current line # being parsed */