summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-03 13:44:34 +0000
committerjoerg <joerg>2009-02-03 13:44:34 +0000
commit3b62e5b3d58413e4130bb8b1840b539fd43cf1a7 (patch)
tree0d91eeb5b7e74b471e731676b5eedd75e08b93ef
parent80ead5b59bf1f7041ada87beb8e32a3112e20874 (diff)
downloadpkgsrc-3b62e5b3d58413e4130bb8b1840b539fd43cf1a7.tar.gz
Fix PR 40456: Mac OS X can't deal well with BSS in static libraries.
-rw-r--r--pkgtools/pkg_install/files/lib/parse-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/lib/parse-config.c b/pkgtools/pkg_install/files/lib/parse-config.c
index 66e9ac6f41f..9ec6d783dc6 100644
--- a/pkgtools/pkg_install/files/lib/parse-config.c
+++ b/pkgtools/pkg_install/files/lib/parse-config.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse-config.c,v 1.2 2009/02/02 12:35:01 joerg Exp $ */
+/* $NetBSD: parse-config.c,v 1.3 2009/02/03 13:44:34 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -7,7 +7,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: parse-config.c,v 1.2 2009/02/02 12:35:01 joerg Exp $");
+__RCSID("$NetBSD: parse-config.c,v 1.3 2009/02/03 13:44:34 joerg Exp $");
/*-
* Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>.
@@ -49,7 +49,7 @@ __RCSID("$NetBSD: parse-config.c,v 1.2 2009/02/02 12:35:01 joerg Exp $");
const char *config_file = SYSCONFDIR"/pkg_install.conf";
-char fetch_flags[10];
+char fetch_flags[10] = ""; /* Workaround Mac OS X linker issues with BSS */
static const char *active_ftp;
static const char *verbose_netio;
static const char *ignore_proxy;