Subject: pkg/35324: print/transfig does not build for NetBSD-4.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <Peter.Bex@xs4all.nl>
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
>Organization:
	
>Environment:
	
	
System: NetBSD byers.homeunix.org 4.0_BETA2 NetBSD 4.0_BETA2 (BYERS) #0: Sun Dec 24 14:53:15 CET 2006 sjamaan@byers.homeunix.org:/usr/obj/sys/arch/macppc/compile/BYERS macppc
Architecture: powerpc
Machine: macppc
>Description:
	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.
>How-To-Repeat:
	Build print/transfig on a 4.0_BETA2 system.  Watch it break.
>Fix:
	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.

>Unformatted: