Subject: pkg/36713: LPRng-core doesn't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <d.den.brok@uni-bonn.de>
List: pkgsrc-bugs
Date: 07/31/2007 18:25:00
>Number:         36713
>Category:       pkg
>Synopsis:       LPRng-core doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 31 18:25:00 +0000 2007
>Originator:     Dennis den Brok
>Release:        4.0_BETA2
>Organization:
>Environment:
NetBSD 4.0_BETA2 i386
>Description:
cd print/LPRng
make

yields:

cc1: warnings being treated as errors
./common/lpq.c: In function 'Term_clear':
./common/lpq.c:452: warning: not enough variable arguments to fit a sentinel
>How-To-Repeat:
see above
>Fix:
Remove "-Werror" from Makefile
Understand the warning and fix lpq.c