pkgsrc-Bugs archive

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

Re: pkg/40546: "pkg_install" doesn't build under Mac OS X

The following reply was made to PR pkg/40546; it has been noted by GNATS.

From: Joerg Sonnenberger <>
Subject: Re: pkg/40546: "pkg_install" doesn't build under Mac OS X
Date: Tue, 3 Feb 2009 14:20:29 +0100

 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 On Tue, Feb 03, 2009 at 10:20:01AM +0000, wrote:
 > It looks like a problem caused by an undefined symbol that an ELF linker
 > doesn't detect.
 Bad analysis. This seems to be another case of "Stupid Mac OS X linker
 can't deal with BSS in static libraries". Can you check if the attached
 patch works?
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="parse-config.c.diff"
 Index: parse-config.c
 RCS file: 
 retrieving revision 1.2
 diff -u -p -r1.2 parse-config.c
 --- parse-config.c     2 Feb 2009 12:35:01 -0000       1.2
 +++ parse-config.c     3 Feb 2009 13:20:06 -0000
 @@ -49,7 +49,7 @@ __RCSID("$NetBSD: parse-config.c,v 1.2 2
  const char     *config_file = SYSCONFDIR"/pkg_install.conf";
 -char fetch_flags[10];
 +char fetch_flags[10] = "";
  static const char *active_ftp;
  static const char *verbose_netio;
  static const char *ignore_proxy;

Home | Main Index | Thread Index | Old Index