Thanks, but the patch doesn't seem to work:
MacBook-Pro:gamin-0.1.9 jackal$ patch -p1 < mods.diff
patching file server/gam_poll_basic.c
Hunk #1 FAILED at 335.
1 out of 1 hunk FAILED -- saving rejects to file server/gam_poll_basic.c.rej
MacBook-Pro:gamin-0.1.9 jackal$
MacBook-Pro:gamin-0.1.9 jackal$
MacBook-Pro:gamin-0.1.9 jackal$
MacBook-Pro:gamin-0.1.9 jackal$
MacBook-Pro:gamin-0.1.9 jackal$ cat server/gam_poll_basic.c.rej
***************
*** 335,342 ****
} else {
#ifdef VERBOSE_POLL
GAM_DEBUG(DEBUG_INFO, "Poll: poll_file %s unchanged\n", path);
GAM_DEBUG(DEBUG_INFO, "%d %d : %d %d\n", node->sbuf.st_mtim.tv_sec,
node->sbuf.st_mtim.tv_nsec, sbuf.st_mtim.tv_sec, sbuf.st_mtim.tv_nsec);
- #endif
}
/*
--- 335,346 ----
} else {
#ifdef VERBOSE_POLL
GAM_DEBUG(DEBUG_INFO, "Poll: poll_file %s unchanged\n", path);
+ #ifdef ST_MTIM_NSEC
GAM_DEBUG(DEBUG_INFO, "%d %d : %d %d\n", node->sbuf.st_mtim.tv_sec,
node->sbuf.st_mtim.tv_nsec, sbuf.st_mtim.tv_sec, sbuf.st_mtim.tv_nsec);
+ #else
+ GAM_DEBUG(DEBUG_INFO, "%d : %d\n", node->sbuf.st_mtime,
sbuf.st_mtime);
+ #endif /* ST_MTIM_NSEC */
+ #endif /* VERBOSE_POLL */
}
/*
On Wed, Mar 5, 2008 at 12:03 PM, Alexander Hansen <
[EMAIL PROTECTED]> wrote:
> I didn't find anything on my archives of the mailing lists. I did find
> the following:
>
> http://mail.gnome.org/archives/gamin-list/2007-May/msg00004.html
>
> Where the poster is one of of our package maintainers.
>
> Brad Allison wrote:
> > When I'm done I'm gonna write up a huge wiki page on all the
> > roadblocks I've hit with garnome-2.21.92 and how to get around them.
> >
> > I'll just wipe everything i've done. remove fink, reinstall it all
> > from scratch and document how I got through each one.
> >
> > Now if only I know how to fix gam_poll_basic.c inside
> > gamin-0.1.9/server . :/
> >
> > -b
> >
> > On Tue, Mar 4, 2008 at 11:22 PM, Brad Allison <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > MacBook-Pro:server jackal$ pwd
> > /Users/jackal/source/garnome-2.21.92
> /bootstrap/gamin/work/main.d/gamin-0.1.9/server
> >
> > MacBook-Pro:server jackal$ make
> > make all-am
> > if cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libgamin
> > -I../protocol -I../lib -I../libgamin
> > -I/Users/jackal/garnome/include/glib-2.0
> > -I/Users/jackal/garnome/lib/glib-2.0/include
> > -DBINDIR=\""/Users/jackal/garnome/libexec"\"
> > -DG_DISABLE_DEPRECATED -DGAM_DEBUG_ENABLED -I/opt/local/include
> > -I/Users/jackal/garnome/include -Wall -Wchar-subscripts
> > -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> > -Wsign-compare -Wno-sign-compare -g -MT gam_poll_basic.o -MD -MP
> > -MF ".deps/gam_poll_basic.Tpo" -c -o gam_poll_basic.o
> > gam_poll_basic.c; \
> > then mv -f ".deps/gam_poll_basic.Tpo"
> > ".deps/gam_poll_basic.Po"; else rm -f ".deps/gam_poll_basic.Tpo";
> > exit 1; fi
> > gam_poll_basic.c: In function 'gam_poll_basic_poll_file':
> > gam_poll_basic.c:348: error: 'struct stat' has no member named
> > 'st_mtim'
> > make[1]: *** [gam_poll_basic.o] Error 1
> > make: *** [all] Error 2
> >
> >
> >
> > Any ideas how to fix?
> >
> >
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users