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 <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/40546: "pkg_install" doesn't build under Mac OS X
Date: Tue, 3 Feb 2009 14:20:29 +0100

 --jI8keyz6grp/JLjh
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Tue, Feb 03, 2009 at 10:20:01AM +0000, tron%zhadum.org.uk@localhost 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?
 
 Joerg
 
 --jI8keyz6grp/JLjh
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="parse-config.c.diff"
 
 Index: parse-config.c
 ===================================================================
 RCS file: 
/home/joerg/repo/netbsd/pkgsrc/pkgtools/pkg_install/files/lib/parse-config.c,v
 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;
 
 --jI8keyz6grp/JLjh--
 


Home | Main Index | Thread Index | Old Index