diff options
author | tnn <tnn@pkgsrc.org> | 2018-09-29 12:59:24 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2018-09-29 12:59:24 +0000 |
commit | 0f69c53e3d6eaf4aa36ab925809544948e350529 (patch) | |
tree | 2153bb8e48a18a91b7c35f350267664b65a532f8 /x11/xless | |
parent | e6f9f6b757ee2c0ce7946447f631b62fc1248ead (diff) | |
download | pkgsrc-0f69c53e3d6eaf4aa36ab925809544948e350529.tar.gz |
xless: build fix
Diffstat (limited to 'x11/xless')
-rw-r--r-- | x11/xless/distinfo | 3 | ||||
-rw-r--r-- | x11/xless/patches/patch-regexp_regsub.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/x11/xless/distinfo b/x11/xless/distinfo index 9b587e260ce..cf2a7f27d8e 100644 --- a/x11/xless/distinfo +++ b/x11/xless/distinfo @@ -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 --git a/x11/xless/patches/patch-regexp_regsub.c b/x11/xless/patches/patch-regexp_regsub.c new file mode 100644 index 00000000000..26dbf55b75d --- /dev/null +++ b/x11/xless/patches/patch-regexp_regsub.c @@ -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"); |