summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2019-09-02 08:53:32 +0000
committerchristos <christos@pkgsrc.org>2019-09-02 08:53:32 +0000
commit870e58268690bb7298116827feebfb41e3aaa5d8 (patch)
treec7e70857a9ffc35571b205d9e95b744553bbd7e4
parent0b924c31661949027d4d642e3a2e4c184efcfc98 (diff)
downloadpkgsrc-870e58268690bb7298116827feebfb41e3aaa5d8.tar.gz
PR/54519: Greywolf: jove crashes on redraw or time update (include <time.h>)
-rw-r--r--editors/jove/patches/patch-jove.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/jove/patches/patch-jove.h b/editors/jove/patches/patch-jove.h
new file mode 100644
index 00000000000..e36dcd258d1
--- /dev/null
+++ b/editors/jove/patches/patch-jove.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-jove.h,v 1.1 2019/09/02 08:53:32 christos Exp $
+
+- modern os's need time.h for time(3)
+
+--- jove.h.orig 2015-10-15 14:21:55.000000000 -0400
++++ jove.h 2019-09-02 04:39:50.417825060 -0400
+@@ -16,6 +16,7 @@
+
+ #ifndef MAC
+ # include <sys/types.h>
++# include <time.h>
+ #else
+ # include <types.h>
+ # include <time.h> /* for time_t */