Subject: pkg/35324: print/transfig does not build for NetBSD-4.0
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/26/2006 16:20:01
>Number:         35324
>Category:       pkg
>Synopsis:       print/transfig won't compile under NetBSD-4.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 26 16:20:01 +0000 2006
>Originator:     Peter Bex
>Release:        NetBSD 4.0_BETA2
System: NetBSD 4.0_BETA2 NetBSD 4.0_BETA2 (BYERS) #0: Sun Dec 24 14:53:15 CET 2006 macppc
Architecture: powerpc
Machine: macppc
	When building print/transfig on NetBSD 4.0_BETA2, it errors out.
	Imakefiles use the -ansi flag to the compiler, but the current
	package also uses the 'inline' keyword in code.  This is not
	accepted by gcc when using -ansi.
	Build print/transfig on a 4.0_BETA2 system.  Watch it break.
	Remove the uncommenting line of USE_INLINE from patch-aa.  In the
	distfile it's ok, there USE_INLINE is commented out.  The patch
	removes the comment, which it should *not* do.

	I tried generating a patch, but somehow pkgdiff creates patches
	for this pkg that don't apply cleanly.