Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
@@ -0,0 +1,15 @@
$NetBSD: patch-piping_c,v 1.1 2011/10/02 01:20:55 dholland Exp $
- fix foolish pointer manipulation that breaks on LP64
--- piping.c~ 2001-12-15 11:07:34.000000000 +0000
+++ piping.c
@@ -590,7 +590,7 @@ int piping_isvalid_exec(char *exec)
char *absolute;
char *next=strchr(current,':');
if (!next)
- next=(char*)(strlen(current)+(unsigned int)current);
+ next = current + strlen(current);
*next=0;
next++;