pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xless xless: build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d23fc2295ccd
branches:  trunk
changeset: 313398:d23fc2295ccd
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 29 12:59:24 2018 +0000

description:
xless: build fix

diffstat:

 x11/xless/distinfo                      |   3 ++-
 x11/xless/patches/patch-regexp_regsub.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 6dffc491578a -r d23fc2295ccd x11/xless/distinfo
--- a/x11/xless/distinfo        Sat Sep 29 12:54:16 2018 +0000
+++ b/x11/xless/distinfo        Sat Sep 29 12:59:24 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 03:29:08 agc Exp $
+$NetBSD: distinfo,v 1.7 2018/09/29 12:59:24 tnn Exp $
 
 SHA1 (xless-1.7.tar.gz) = 2fb2c468aa6c0237be1d2bc256fcaf754c98b20e
 RMD160 (xless-1.7.tar.gz) = 87047418d9928df97635b1f2b2908559fe5d2461
 SHA512 (xless-1.7.tar.gz) = 34656719bdf4bf5234348384f5e432e3d74011aa0722ef95bffb425eed23a47db082ba2a24ed1a7d25916bc325585fb38f0f85b66246c3152846314278eb939e
 Size (xless-1.7.tar.gz) = 45559 bytes
 SHA1 (patch-aa) = d76edac759341d472a44eae25b08f8f89271fc5d
+SHA1 (patch-regexp_regsub.c) = 16e703426ab179c187ca3bfa4d16d3abee9c827f
diff -r 6dffc491578a -r d23fc2295ccd x11/xless/patches/patch-regexp_regsub.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xless/patches/patch-regexp_regsub.c   Sat Sep 29 12:59:24 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-regexp_regsub.c,v 1.1 2018/09/29 12:59:24 tnn Exp $
+
+remove wrong extern prototype for strncpy
+
+--- regexp/regsub.c.orig       1994-06-16 22:29:08.000000000 +0000
++++ regexp/regsub.c
+@@ -43,9 +43,6 @@ char *dest;
+       register char c;
+       register int no;
+       register int len;
+-#ifndef AIXV3
+-      extern char *strncpy();
+-#endif
+ 
+       if (prog == NULL || source == NULL || dest == NULL) {
+               regerror("NULL parm to regsub");



Home | Main Index | Thread Index | Old Index