aboutsummaryrefslogtreecommitdiffstats
path: root/testing/at/10-parsetime.y-1.patch
diff options
context:
space:
mode:
authormsun <msun00@yandex.ru>2016-02-04 10:38:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-09 17:20:33 +0000
commit0eefec77f9a34bc43d9bd32d43d42ba746bc2af1 (patch)
treebbda493f67a5bc2f3d6363c3266fc624d94bf922 /testing/at/10-parsetime.y-1.patch
parent2f61c1d9268c76e386a63145b02b5cc8d578b530 (diff)
downloadaports-0eefec77f9a34bc43d9bd32d43d42ba746bc2af1.tar.gz
aports-0eefec77f9a34bc43d9bd32d43d42ba746bc2af1.tar.bz2
aports-0eefec77f9a34bc43d9bd32d43d42ba746bc2af1.tar.xz
testing/at: new aport
http://packages.qa.debian.org/a/at.html AT and batch delayed command scheduling utility and daemon
Diffstat (limited to 'testing/at/10-parsetime.y-1.patch')
-rw-r--r--testing/at/10-parsetime.y-1.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/at/10-parsetime.y-1.patch b/testing/at/10-parsetime.y-1.patch
new file mode 100644
index 0000000000..33e3da2f94
--- /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 {