diff options
author | TBK <tbk@jjtc.eu> | 2020-02-24 11:33:56 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-25 18:00:21 -0300 |
commit | 49fbe56b0a52ef1f3117688f45096b53433ca235 (patch) | |
tree | 11e89f704516ec4b7909a2305350e1486f391c9d /testing/snapper/musl-__isleap.patch | |
parent | 48d608564cc17601a290e7a27dc3e85bacb08eae (diff) | |
download | aports-49fbe56b0a52ef1f3117688f45096b53433ca235.tar.bz2 aports-49fbe56b0a52ef1f3117688f45096b53433ca235.tar.xz |
testing/snapper: upgrade to 0.8.9
Diffstat (limited to 'testing/snapper/musl-__isleap.patch')
-rw-r--r-- | testing/snapper/musl-__isleap.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/testing/snapper/musl-__isleap.patch b/testing/snapper/musl-__isleap.patch deleted file mode 100644 index 5997247cf1..0000000000 --- a/testing/snapper/musl-__isleap.patch +++ /dev/null @@ -1,19 +0,0 @@ -The macro __isleap() is defined in glibc's time.h -If it is not defined, define it the same (for musl libc). - ---- a/client/utils/equal-date.h 2014-12-11 18:21:17.000000000 +0100 -+++ b/client/utils/equal-date.h 2015-08-30 11:18:08.181207315 +0200 -@@ -19,6 +19,13 @@ - * find current contact information at www.novell.com. - */ - -+#if !defined(__isleap) -+/* Nonzero if YEAR is a leap year (every 4 years, -+ except every 100th isn't, and every 400th is). */ -+# define __isleap(year) \ -+ ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) -+#endif -+ - - bool - equal_year(const struct tm& tmp1, const struct tm& tmp2); |