+Cc MAINTAINER

On Thu, Aug 17, 2023 at 04:42:35PM +0900, YASUOKA Masahiko wrote:
> ok?
> 
> Prepare the libc bump.  stderr will become unable to be initialized
> when compile time.

I no longer have a machine with guenther's wip diff, but this looks
reasonable. Assuming this builds

ok tb

but please give Paul some time to react.

> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/elm/Makefile,v
> retrieving revision 1.34
> diff -u -p -r1.34 Makefile
> --- Makefile  11 Mar 2022 19:34:35 -0000      1.34
> +++ Makefile  17 Aug 2023 07:36:02 -0000
> @@ -1,7 +1,7 @@
>  COMMENT=     once-popular mail user agent
>  
>  DISTNAME=    elm-2.4ME+66
> -REVISION=    3
> +REVISION=    4
>  CATEGORIES=  mail
>  
>  MASTER_SITES=        ftp://ftp.ozone.fmi.fi/KEH/
> Index: patches/patch-src_elm_c
> ===================================================================
> RCS file: /cvs/ports/mail/elm/patches/patch-src_elm_c,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-src_elm_c
> --- patches/patch-src_elm_c   11 Mar 2022 19:34:35 -0000      1.2
> +++ patches/patch-src_elm_c   17 Aug 2023 07:36:02 -0000
> @@ -1,5 +1,6 @@
> ---- src/elm.c.orig   Sat Dec  7 23:51:21 2013
> -+++ src/elm.c        Sat Dec  7 23:51:36 2013
> +Index: src/elm.c
> +--- src/elm.c.orig
> ++++ src/elm.c
>  @@ -21,10 +21,6 @@ static char rcsid[] = "@(#)$Id: elm.c,v 1.12.2.1 1999/
>   #include "s_elm.h"
>   #include "elmlib.h"
> @@ -11,3 +12,20 @@
>   #include "mime.h"
>   #include "me.h"
>   
> +@@ -35,6 +31,8 @@ static void do_check_only P_((char *argv[])); /* Proto
> + static void debug_screen P_((void));
> + static void debug_message P_((void));
> + 
> ++FILE *debugfile;
> ++
> + int main(argc, argv)
> +      int argc;
> +      char *argv[];
> +@@ -47,6 +45,7 @@ int main(argc, argv)
> +     long num;               /** another variable for fun..               **/
> +     extern int errno;
> + 
> ++    debugfile = stderr;
> +     locale_init();
> +     
> +     req_mfile = parse_arguments(argc, argv, &to_whom, 
> 

Reply via email to