pkgsrc/lang/gcc46/patches/patch-include_libiberty.h
maya 7a7f4aa99f gcc46: use a more reasonable specfile for netbsd
disable libssp on netbsd - it conflicts with native libssp (PR pkg/47213)

build fix by using stdarg instead of VA_*, cherry picked from
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=206881
fixes PR pkg/50042

bump PKGREVISION
2016-09-06 13:57:02 +00:00

24 lines
798 B
C

$NetBSD: patch-include_libiberty.h,v 1.1 2016/09/06 13:57:02 maya Exp $
Don't use PARAMS
cherry picked necessary parts from
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=206881
fixes PR pkg/50042
--- include/libiberty.h.orig 2011-01-03 20:52:22.000000000 +0000
+++ include/libiberty.h
@@ -85,11 +85,11 @@ extern char **dupargv (char **) ATTRIBUT
/* Expand "@file" arguments in argv. */
-extern void expandargv PARAMS ((int *, char ***));
+extern void expandargv (int *, char ***);
/* Write argv to an @-file, inserting necessary quoting. */
-extern int writeargv PARAMS ((char **, FILE *));
+extern int writeargv (char **, FILE *);
/* Return the last component of a path name. Note that we can't use a
prototype here because the parameter is declared inconsistently