pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib Fix PR 40456: Mac OS X ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/659ac3eea07a
branches:  trunk
changeset: 553926:659ac3eea07a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 03 13:44:34 2009 +0000

description:
Fix PR 40456: Mac OS X can't deal well with BSS in static libraries.

diffstat:

 pkgtools/pkg_install/files/lib/parse-config.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6e494757d42b -r 659ac3eea07a pkgtools/pkg_install/files/lib/parse-config.c
--- a/pkgtools/pkg_install/files/lib/parse-config.c     Tue Feb 03 13:18:03 2009 +0000
+++ b/pkgtools/pkg_install/files/lib/parse-config.c     Tue Feb 03 13:44:34 2009 +0000
@@ -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@localhost>.
@@ -49,7 +49,7 @@
 
 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;



Home | Main Index | Thread Index | Old Index