From 0eefec77f9a34bc43d9bd32d43d42ba746bc2af1 Mon Sep 17 00:00:00 2001 From: msun Date: Thu, 4 Feb 2016 10:38:41 +0000 Subject: testing/at: new aport http://packages.qa.debian.org/a/at.html AT and batch delayed command scheduling utility and daemon --- testing/at/10-parsetime.y-1.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/at/10-parsetime.y-1.patch (limited to 'testing/at/10-parsetime.y-1.patch') diff --git a/testing/at/10-parsetime.y-1.patch b/testing/at/10-parsetime.y-1.patch new file mode 100644 index 00000000000..33e3da2f94b --- /dev/null +++ b/testing/at/10-parsetime.y-1.patch @@ -0,0 +1,12 @@ +--- at-3.1.16/parsetime.orig.y ++++ at-3.1.16/parsetime.y +@@ -17,6 +17,9 @@ + extern int yylex(); + + int add_date(int number, int period); ++#ifndef __isleap ++#define __isleap(year) ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) ++#endif + %} + + %union { -- cgit v1.2.3