Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-cpp.c,v 1.1 2015/09/30 16:39:45 richard Exp $
patch borrowed from libreoffice for more information in options processing.
--- cpp.c.orig 2011-08-09 05:13:15.000000000 +0000
+++ cpp.c
@@ -2464,7 +2464,9 @@ static int parse_opt(int argc, char *arg
warning(-1, "unknown option '%s'", argv[i]);
} else {
if (filename != 0) {
- error(-1, "spurious filename '%s'", argv[i]);
+ error(-1, "spurious duplicate filename '%s' - vs. '%s'",
+ argv[i], filename);
+
return 2;
}
filename = argv[i];