pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/mule editors/mule: fix build failure by not de...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6564f0524673
branches:  trunk
changeset: 771792:6564f0524673
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Dec 27 04:59:56 2021 +0000

description:
editors/mule: fix build failure by not declaring own strcpy

diffstat:

 editors/mule/distinfo         |   4 ++--
 editors/mule/patches/patch-by |  20 +++++++++++++++-----
 2 files changed, 17 insertions(+), 7 deletions(-)

diffs (67 lines):

diff -r e54a969100c1 -r 6564f0524673 editors/mule/distinfo
--- a/editors/mule/distinfo     Mon Dec 27 04:54:04 2021 +0000
+++ b/editors/mule/distinfo     Mon Dec 27 04:59:56 2021 +0000
@@ -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-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 -r e54a969100c1 -r 6564f0524673 editors/mule/patches/patch-by
--- a/editors/mule/patches/patch-by     Mon Dec 27 04:54:04 2021 +0000
+++ b/editors/mule/patches/patch-by     Mon Dec 27 04:59:56 2021 +0000
@@ -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@localhost, 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;



Home | Main Index | Thread Index | Old Index