[EMAIL PROTECTED] writes:

> Patched 1.3.24i ok, but doesn't build.
> Bombs out at this point:
>
> gcc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"      
>-DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\"  
>-DHAVE_CONFIG_H=1 -I. -I.  -Iintl  -I./intl -I/usr/local/include  -Wall -pedantic -g 
>-O2 -c init.c
> In file included from init.c:41:
> init.h:1867: `ScoreHeader' undeclared here (not in a function)
> init.h:1867: initializer element is not constant
> init.h:1867: (near initialization for `MuttVars[171].data')
> init.c: In function `mutt_init':
> init.c:1844: warning: implicit declaration of function `getsid'
>
> I am not good at this stuff, so could my fault.
>
> Thanks anyway!

Oops, sorry.  That patch didn't have the whole set of changes in it.

You'll also need the declaration of the variable:

--- globals.h.orig      Wed Dec 12 13:31:11 2001
+++ globals.h   Wed Dec 12 13:31:14 2001
@@ -152,6 +152,7 @@
 WHERE short ScoreThresholdDelete;
 WHERE short ScoreThresholdRead;
 WHERE short ScoreThresholdFlag;
+WHERE char *ScoreHeader;
 
 #ifdef USE_IMAP
 WHERE short ImapKeepalive;


It builds for me with this, but you'll have to test it yourself :)

-- 
Josh Huber                                     | [EMAIL PROTECTED] |

Reply via email to