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

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-af,v 1.1.1.1 2009/01/08 00:21:00 jmcneill Exp $
--- lib/packagekit-glib/pk-client.c.orig 2008-12-09 03:22:23.000000000 -0500
+++ lib/packagekit-glib/pk-client.c
@@ -33,7 +33,9 @@
#include <string.h>
#include <sys/types.h>
+#ifdef __linux__
#include <sys/prctl.h>
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
@@ -4493,8 +4495,10 @@ pk_client_new (void)
__attribute__ ((constructor))
void init()
{
+#ifdef __linux__
/* this is a bandaid */
prctl (PR_SET_DUMPABLE, 0);
+#endif
}
/***************************************************************************