pkgsrc-Bugs archive

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

Re: pkg/46390: graphics/feh fails to compile on Linux because PATH_MAX is undeclared



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/46390: graphics/feh fails to compile on Linux because
 PATH_MAX is undeclared
Date: Tue, 1 May 2012 01:05:25 +0000

 On Mon, Apr 30, 2012 at 01:30:01PM +0000, slitvinov%gmail.com@localhost wrote:
  > graphics/feh fails to compile on Linux with the following error. I
  > think it related to POSIX/ANSI c headers.
  > 
  > [...]
  >  
  > +.include "../../mk/bsd.prefs.mk"
  > +.if ${OPSYS} != "Linux"
  >  CFLAGS+=                   -std=c99
  > +.endif
 
 That seems bizarre. <limits.h> should always define those symbols,
 unless some Linux idiot things -std=c99 means "hide all posix symbols".
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index