1 --- alpine-0.9999/configure.ac.orig 2007-08-22 00:13:29.000000000 +0200
2 +++ alpine-0.9999/configure.ac 2007-11-05 15:24:56.000000000 +0100
7 +AC_CHECK_LIB(home_etc, get_home_etc_static,
9 + AC_CHECK_HEADER([home_etc.h])
10 + LIBS="$LIBS -lhome_etc"
12 + AC_DEFINE(HAVE_HOME_ETC,1,[ Define if want to use the HOME-ETC library. ])
14 + AC_MSG_ERROR([could not find libhome_etc]))
16 if test x$enable_dmalloc = "xyes" ; then
17 if test "x$with_pthread" = "xyes" ; then
19 --- alpine-0.9999/alpine/pine-use.c~ 2006-09-22 22:06:05.000000000 +0200
20 +++ alpine-0.9999/alpine/pine-use.c 2007-11-05 15:13:10.000000000 +0100
22 #include <sys/types.h>
26 +# include <home_etc.h>
27 +# define HOMEDIR _HEdir
29 +# define HOMEDIR pw->pw_dir
33 #define MAILSPOOLPCTS "/usr/spool/mail/%s"
34 /* #define MAILSPOOLPCTS "/usr/mail/%s" */
36 if(strcmp(pw->pw_dir, "/") == 0)
39 - sprintf(filename, "%s/.pinerc", pw->pw_dir);
40 + sprintf(filename, "%s/.pinerc", HOMEDIR);
41 if(stat(filename, &statb) < 0)
43 if(statb.st_mtime + 7 * DAYSEC > now)
44 --- alpine-0.9999/pith/conf.c~ 2007-11-02 16:19:06.000000000 +0100
45 +++ alpine-0.9999/pith/conf.c 2007-11-05 15:12:00.000000000 +0100
47 #include "../pico/osdep/mswin.h"
51 +# include <home_etc.h>
52 +# define HOMEDIR _HEdir
54 +# define HOMEDIR ps->home_dir
57 #define TO_BAIL_THRESHOLD 60
63 - build_path(buf, ps->home_dir, ".pinerc", sizeof(buf));
64 + build_path(buf, HOMEDIR, ".pinerc", sizeof(buf));
65 ps->pinerc = cpystr(buf);