I'll take your word for it since I don't have access to any BSD machines.

Patch accepted and applied. Thanks.

Christoph Schug wrote:
> Hi,
> 
> As I had problems with multiple definitions of __progname on FreeBSD
> 6.2/i386 and NetBSD 4.0_RC3/i386 I want to discuss following issue.
> 
> On the one hand, in debug.c there's a check regarding BSD4_4 which
> is defined in /usr/include/sys/param.h on FreeBSD and NetBSD. On the
> other hand I don't see /usr/include/sys/param.h included anywhere in
> the source of DBMail 2.2.7. Either this should be included of following
> patch fixes build (at least for me) on those platforms.
> 
> --- debug.c.orig        2007-10-20 13:21:16 +0200
> +++ debug.c     2007-10-20 17:07:11 +0200
> @@ -23,7 +23,7 @@
>   * Debugging and memory checking functions */
>  
>  #include "dbmail.h"
> -#if defined(BSD4_4)
> +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(BSD4_4)
>  extern char     *__progname;            /* Program name, from crt0. */
>  #else
>  char            *__progname = NULL;
> 
> -cs
> _______________________________________________
> DBmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to