pkgsrc-Bugs archive

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

Re: pkg/43733



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

From: Staffan =?iso-8859-1?Q?Thom=E9n?= <duck%shangtai.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43733
Date: Wed, 28 Mar 2012 23:14:31 +0300

 I bumped into this while building libidn 1.22 on IRIX today (pkgsrc-2011Q3), 
and
 MIPSPro appears to produce the exact same error.
 
 Changing the #if 1 in .../work/libidn-1.22/gl/getopt.h (line 30, enclosing an
 #include_next <getopt.h>) to 0 made it compile and it seems to work as it
 should. This "1" comes from HAVE_GETOPT_H from configure.
 
 I'm too confused by this software's weird doings to see what it's trying to do
 here, so I won't attempt to make a proper patch. It checks arbitrarily for
 getopt.h (something that is pretty much guaranteed to be 1), uses libgetopt and
 then conflicts with it when it's not gcc doing the compiling...
 
 Regards,
 
 -- 
 Staffan Thomén - ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8
 


Home | Main Index | Thread Index | Old Index