Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xscribble xscribble: Avoid defining own strcpy(), ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6342a67b7c46
branches: trunk
changeset: 430810:6342a67b7c46
user: nia <nia%pkgsrc.org@localhost>
date: Mon May 04 14:09:22 2020 +0000
description:
xscribble: Avoid defining own strcpy(), should help builds with newer gcc
diffstat:
x11/xscribble/distinfo | 4 ++--
x11/xscribble/patches/patch-ae | 12 ++++++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r ec1f815892de -r 6342a67b7c46 x11/xscribble/distinfo
--- a/x11/xscribble/distinfo Mon May 04 13:49:28 2020 +0000
+++ b/x11/xscribble/distinfo Mon May 04 14:09:22 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2015/11/04 03:29:12 agc Exp $
+$NetBSD: distinfo,v 1.10 2020/05/04 14:09:22 nia Exp $
SHA1 (xscribble.tgz) = 9983577533c6b6f482e2bfe863f54604337562c7
RMD160 (xscribble.tgz) = 49f5a5339819a76e303a135d54fb8ffd4f88febb
@@ -8,5 +8,5 @@
SHA1 (patch-ab) = 6da2e1ba900c05d428de74b44e369c0e0c242190
SHA1 (patch-ac) = 61557798a2ea575862e9c0a14761465491ec6ac5
SHA1 (patch-ad) = 9fe0ce4f137975cd380280e13ccfa1543016b5b7
-SHA1 (patch-ae) = 794a20d07760403be3fd90fef5de604732834771
+SHA1 (patch-ae) = 7147f7bfbeaeb9afdcf71c4a48ed67e8598becb2
SHA1 (patch-lirec_sc.c) = c53184fc5161ce5484f5e6139bae411727538f41
diff -r ec1f815892de -r 6342a67b7c46 x11/xscribble/patches/patch-ae
--- a/x11/xscribble/patches/patch-ae Mon May 04 13:49:28 2020 +0000
+++ b/x11/xscribble/patches/patch-ae Mon May 04 14:09:22 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ae,v 1.2 2012/07/30 04:08:53 dholland Exp $
+$NetBSD: patch-ae,v 1.3 2020/05/04 14:09:23 nia Exp $
- Use standard headers.
-- Don't declare own malloc.
+- Don't declare own malloc or strcpy.
--- lirec/util.c.orig 2000-06-12 22:20:14.000000000 +0000
+++ lirec/util.c
@@ -21,3 +21,11 @@
register unsigned int bytes = nitems * itemsize;
register char *p = malloc(bytes);
if(p == NULL)
+@@ -52,7 +52,6 @@ scopy(s)
+ char *s;
+ {
+ register char *p = allocate(strlen(s) + 1, char);
+- char *strcpy();
+ (void) strcpy(p, s);
+ return p;
+ }
Home |
Main Index |
Thread Index |
Old Index