Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-system.h,v 1.2 2013/09/20 17:26:14 ryoon Exp $
* Detect setprogname(3) in configure script.
--- system.h.orig 2013-01-30 15:33:12.000000000 +0000
+++ system.h
@@ -112,7 +112,7 @@ typedef char * security_context_t;
#define _free(_ptr) rfree((_ptr))
/* Retrofit glibc __progname */
-#if defined __GLIBC__ && __GLIBC__ >= 2
+#if (defined __GLIBC__ && __GLIBC__ >= 2) || defined(HAVE_SETPROGNAME)
#if __GLIBC_MINOR__ >= 1
#define __progname __assert_program_name
#endif