summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2021-12-27 04:59:56 +0000
committerdholland <dholland@pkgsrc.org>2021-12-27 04:59:56 +0000
commitd3820aae78bc4c2d61945d6bb99c5d731a2009ae (patch)
tree00db624f0762f19839c02caacaab87f198f95a7d /editors
parentbe5119b3d50bb19d02d77023a87d9969d991334a (diff)
downloadpkgsrc-d3820aae78bc4c2d61945d6bb99c5d731a2009ae.tar.gz
editors/mule: fix build failure by not declaring own strcpy
Diffstat (limited to 'editors')
-rw-r--r--editors/mule/distinfo4
-rw-r--r--editors/mule/patches/patch-by20
2 files changed, 17 insertions, 7 deletions
diff --git a/editors/mule/distinfo b/editors/mule/distinfo
index 533d2487551..3b2e2422682 100644
--- a/editors/mule/distinfo
+++ b/editors/mule/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 10:21:34 nia Exp $
+$NetBSD: distinfo,v 1.19 2021/12/27 04:59:56 dholland Exp $
BLAKE2s (mule-2.3.tar.gz) = 364dffd69e1ddc45163e74ba82ac29b3f914fae3f7f42e99beae357f85d303e7
SHA512 (mule-2.3.tar.gz) = 5f6a9047e6c9d752787d6cab3573516c6efd65cd901fbab74d314a5967e6c68b2dc7c2aa7454d8588d421553530c87dd3ee9692d523d818e01739580cb1201fd
@@ -53,7 +53,7 @@ SHA1 (patch-bu) = a8ccd87510615e5353bb9525cd0fcfafdf56ea07
SHA1 (patch-bv) = b92611d27a1fc4fc0d4bbe171683e057e6dcaf60
SHA1 (patch-bw) = 460728484379cc4325f7b1836cec9a4b3b25e46a
SHA1 (patch-bx) = 29a53c87e4038ec02ae1710314d36cf58f58855f
-SHA1 (patch-by) = 2b1c42e36d5217208fcc83bb0464c09bc38db933
+SHA1 (patch-by) = b5ebd1e7169fbd84a730883e5a593ed2a5826b7b
SHA1 (patch-bz) = b8030f68f36781583a9eae4a66e3d5e0062f6169
SHA1 (patch-ca) = a98c0d794427e858c6232283f50598d0c55c3f16
SHA1 (patch-cb) = 775c85bceb8aff3248becb22cacad40d398fa925
diff --git a/editors/mule/patches/patch-by b/editors/mule/patches/patch-by
index 6a6e62b2593..a34b294d7fd 100644
--- a/editors/mule/patches/patch-by
+++ b/editors/mule/patches/patch-by
@@ -1,30 +1,40 @@
-$NetBSD: patch-by,v 1.2 2011/12/24 17:07:07 dholland Exp $
+$NetBSD: patch-by,v 1.3 2021/12/27 04:59:56 dholland Exp $
- use standard headers
- don't declare own errno
--- lib-src/timer.c.orig 1995-02-17 07:47:36.000000000 +0000
+++ lib-src/timer.c
-@@ -12,7 +12,9 @@
+@@ -12,7 +12,10 @@
esr@snark.thyrsus.com, Aug 7 1992. */
#include <stdio.h>
+#include <stdlib.h>
++#include <string.h>
#include <signal.h>
+#include <time.h>
#include <errno.h>
#include <sys/types.h> /* time_t */
-@@ -33,12 +35,7 @@
+@@ -33,13 +36,6 @@
#endif
-extern int errno;
- extern char *strerror ();
+-extern char *strerror ();
-#ifndef OSF1
-extern char *malloc ();
-#endif
-extern time_t time ();
-
+-
/*
* The field separator for input. This character shouldn't occur in dates,
+ * and should be printable so event strings are readable by people.
+@@ -82,7 +78,6 @@ schedule (str)
+ char *str;
+ {
+ extern time_t get_date ();
+- extern char *strcpy ();
+ time_t now;
+ register char *p;
+ static struct event *ep;