summaryrefslogtreecommitdiff
path: root/editors/jove/patches
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
commit960b8b3197a96a874c3b1c8dea5f243827b4d1c9 (patch)
treefa378c4ae0aa5c66daff47bbf0b8ffa31a9668f8 /editors/jove/patches
parent7a6c530bb8ab78a294d355ae669c6795c9162461 (diff)
downloadpkgsrc-960b8b3197a96a874c3b1c8dea5f243827b4d1c9.tar.gz
PR/54519: Greywolf: jove crashes on redraw or time update (include <time.h>)
Diffstat (limited to 'editors/jove/patches')
-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 */