nickle: fix musl.
This commit is contained in:
parent
952978e522
commit
76c6ccc1c1
2 changed files with 12 additions and 1 deletions
11
srcpkgs/nickle/patches/timelocal.patch
Normal file
11
srcpkgs/nickle/patches/timelocal.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- builtin-date.c.orig
|
||||
+++ builtin-date.c
|
||||
@@ -143,7 +143,7 @@
|
||||
time_t seconds;
|
||||
|
||||
from_date(v, &tm);
|
||||
- seconds = timelocal(&tm);
|
||||
+ seconds = mktime(&tm);
|
||||
RETURN(Reduce(NewSignedDigitInteger((signed_digit) seconds)));
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nickle'
|
||||
pkgname=nickle
|
||||
version=2.81
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="readline-devel"
|
||||
short_desc="Powerful desk calculator language"
|
||||
|
|
Loading…
Reference in a new issue