Subject: pkg/25733: mail/deliver doesn't compile on -current
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jbernard@mines.edu>
List: pkgsrc-bugs
Date: 05/27/2004 15:52:05
>Number: 25733
>Category: pkg
>Synopsis: mail/deliver doesn't compile on -current
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 27 21:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Jim Bernard
>Release: NetBSD 2.0E
>Organization:
>Environment:
System: NetBSD knox 2.0E NetBSD 2.0E (KNOX-$Revision: 1.6 $) #0: Sat May 22 10:43:07 MDT 2004 jim@roc:/wd1/var/tmp/compile/sys/arch/i386/compile/KNOX i386
Architecture: i386
Machine: i386
>Description:
The -current version of gcc grouses about the use of a symbol
named "log" in the code (conflicts with the name of the built-in
function):
===> Building for deliver-2.1.14
cc -O2 -Werror -Iconf -DOSINCLUDE=\"os-netbsd.h\" -c addr.c
In file included from addr.c:21:
deliver.h:100: warning: built-in function `log' declared as non-function
*** Error code 1
>How-To-Repeat:
Try to build it.
>Fix:
I just changed occurrences of "log" (a FILE *) to "logfile".
This introduces 4 new patch files, ai -- al, and it doesn't
require any changes to existing patches.
Please note: While this will produce a compilable version of the
deliver package, the result will not actually work unless the fix
in PR 20978 is also applied.
begin 644 deliver_new_patches.tar.bz2
M0EIH.3%!6293652WPHP`!SU_A>XZ`"!_____WZ?>3O__W_X``0!`@`A@!E\\
M0`*`4```!P-&C$&C3)A!B`Q&)HT:-`&FF@```'`T:,0:-,F$&(#$8FC1HT`:
M::````<#1HQ!HTR808@,1B:-&C0!IIH````S4D$D\@$8`-!#31@,@```A@(,
M`<#1HQ!HTR808@,1B:-&C0!IIH````51"")M)BFT`$#5/Q34;2;4S4]&0(8C
M931X03&FI>]!Z//Z/1T'I,/=$1.8B#8.[U=77UBI7KM2>NYH,PS1$)A"44)"
M2/]^?A3[\+NSKF)BD.%"$Q,)VYBA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