pkgsrc/comms/fidogate/patches/patch-am
abs ef4d926af1 You are in a maze of twisty little Makefiles, all with short install targets
Somewhat more than 11 rooms later... PKG_DESTDIR_SUPPORT
2009-12-18 01:09:23 +00:00

32 lines
1.3 KiB
Text

$NetBSD: patch-am,v 1.6 2009/12/18 01:09:23 abs Exp $
--- src/common/tick.c.orig 2004-08-22 20:19:11.000000000 +0000
+++ src/common/tick.c
@@ -120,7 +120,7 @@ int tick_put(Tick *tic, char *name)
fprintf(fp, "CRC %08lX\r\n", tic->crc);
fprintf(fp, "Created %s\r\n", tic->created);
fprintf(fp, "Size %lu\r\n", tic->size);
- fprintf(fp, "Date %ld\r\n", tic->date);
+ fprintf(fp, "Date %ld\r\n", (long) tic->date);
for(pl=tic->path.first; pl; pl=pl->next)
fprintf(fp, "Path %s\r\n", pl->line);
for(p=tic->seenby.first; p; p=p->next)
@@ -278,8 +278,8 @@ void tick_debug(Tick *tic, int lvl)
for(p=tic->seenby.first; p; p=p->next)
debug(lvl, "Seenby : %s", znfp1(&p->node));
debug(lvl, "Pw : %s", tic->pw);
- debug(lvl, "Release : %ld", tic->release);
- debug(lvl, "Date : %ld", tic->date);
+ debug(lvl, "Release : %ld", (long) tic->release);
+ debug(lvl, "Date : %ld", (long) tic->date);
for(pl=tic->app.first; pl; pl=pl->next)
debug(lvl, "App : %s", pl->line);
}
@@ -367,6 +367,6 @@ void tick_add_path(Tick *tic)
now = time(NULL);
tl_appendf(&tic->path, "%s %ld %s",
- znf1(cf_addr()), now, date(DATE_TICK_PATH, &now));
+ znf1(cf_addr()), (long) now, date(DATE_TICK_PATH, &now));
}