Subject: CVS commit: [pkgsrc-2012Q1] pkgsrc/net/nasd
From: Matthias Scheler
Date: 2012-06-06 20:11:41
Message id: 20120606181141.90DC2175DD@cvs.netbsd.org

Log Message:
Pullup ticket #3823 - requested by dholland
net/nasd: build fix

Revisions pulled up:
- net/nasd/distinfo                                             1.2
- net/nasd/patches/patch-al                                     1.2
- net/nasd/patches/patch-ay                                     1.2
- net/nasd/patches/patch-common_i386_Imakefile                  1.1
- net/nasd/patches/patch-include_nasd_nasd__timer_h             1.1
- net/nasd/patches/patch-kernel__generate_dux_other_Makefile    1.1
- net/nasd/patches/patch-kernel__generate_dux_other_nasd_Makefile 1.1

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Jun  2 23:34:56 UTC 2012

   Modified Files:
   	pkgsrc/net/nasd: distinfo
   	pkgsrc/net/nasd/patches: patch-al patch-ay
   Added Files:
   	pkgsrc/net/nasd/patches: patch-common_i386_Imakefile
   	    patch-include_nasd_nasd__timer_h
   	    patch-kernel__generate_dux_other_Makefile
   	    patch-kernel__generate_dux_other_nasd_Makefile

   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:
RevisionActionfile
1.1.1.1.60.1modifypkgsrc/net/nasd/distinfo
1.1.1.1.60.1modifypkgsrc/net/nasd/patches/patch-al
1.1.1.1.60.1modifypkgsrc/net/nasd/patches/patch-ay
1.1.2.2addpkgsrc/net/nasd/patches/patch-common_i386_Imakefile
1.1.2.2addpkgsrc/net/nasd/patches/patch-include_nasd_nasd__timer_h
1.1.2.2addpkgsrc/net/nasd/patches/patch-kernel__generate_dux_other_Makefile
1.1.2.2addpkgsrc/net/nasd/patches/patch-kernel__generate_dux_other_nasd_Makefile