termux-packages/packages/loksh/clock_monotonic.patch
Leonid Pliushch 0d1920a061 move some packages from unstable repository
New packages that will be added:

 * antiword
 * beanshell
 * cabextract
 * deutex
 * direnv
 * exiv2
 * git-lfs
 * gitea
 * hoedown
 * httrack
 * iverilog
 * links
 * loksh
 * mksh
 * mktorrent
 * pdfgrep
 * shellharden
 * swig
 * tidy
 * tweego
 * wordgrinder
2019-05-11 18:36:47 +03:00

34 lines
912 B
Diff

diff -uNr loksh-6.4/c_sh.c loksh-6.4.mod/c_sh.c
--- loksh-6.4/c_sh.c 2018-10-18 19:25:07.000000000 +0300
+++ loksh-6.4.mod/c_sh.c 2019-02-20 21:08:11.282582629 +0200
@@ -8,6 +8,7 @@
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/time.h>
+#include <linux/time.h>
#include <ctype.h>
#include <errno.h>
diff -uNr loksh-6.4/mail.c loksh-6.4.mod/mail.c
--- loksh-6.4/mail.c 2018-10-18 19:25:07.000000000 +0300
+++ loksh-6.4.mod/mail.c 2019-02-20 21:08:16.325940697 +0200
@@ -7,6 +7,7 @@
#include <sys/stat.h>
#include <sys/time.h>
+#include <linux/time.h>
#include <string.h>
#include <time.h>
diff -uNr loksh-6.4/var.c loksh-6.4.mod/var.c
--- loksh-6.4/var.c 2018-10-18 19:25:07.000000000 +0300
+++ loksh-6.4.mod/var.c 2019-02-20 21:08:21.149297670 +0200
@@ -2,6 +2,7 @@
#include <sys/stat.h>
#include <sys/time.h>
+#include <linux/time.h>
#include <ctype.h>
#include <errno.h>