Path to this page:
Subject: CVS commit: pkgsrc/net/nasd
From: David A. Holland
Date: 2012-06-03 01:34:56
Message id: 20120602233456.B5996175DD@cvs.netbsd.org
Log Message:
Fix broken build.
(1) With gcc 4.5, cpp does not fold lines separated by a escaped
newline in the output. Therefore when nasd_rpcgen runs its rpc
definitions through cpp, what comes out contains syntax errors. The
parser then reports these with SIGSEGV. First fix the cpp plumbing to
use the cpp tool wrapper during build, and then have it use -traditional.
(2) On amd64, roughly half the build thinks it's actually i386. Patch
the other half to agree. This may not turn out to work, but it does
build instead of dumping out bizarre compile errors.
Files: