From 8c738af332441aa392081becbc32baf9cf378f37 Mon Sep 17 00:00:00 2001 From: cube Date: Sat, 12 Jun 2004 14:23:10 +0000 Subject: Add a patch to fix build on platforms where long is not like time_t. Reported by Ole Hellqvist in PR 25895. --- www/amaya/distinfo | 3 ++- www/amaya/patches/patch-ah | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 www/amaya/patches/patch-ah (limited to 'www') diff --git a/www/amaya/distinfo b/www/amaya/distinfo index a643855540c..edd18f794a1 100644 --- a/www/amaya/distinfo +++ b/www/amaya/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2004/05/13 03:47:29 xtraeme Exp $ +$NetBSD: distinfo,v 1.12 2004/06/12 14:23:10 cube Exp $ SHA1 (amaya-src-8.5.tgz) = 58d9cc29328883f788c962f623f9c345828cfee6 Size (amaya-src-8.5.tgz) = 9713795 bytes @@ -6,3 +6,4 @@ SHA1 (patch-aa) = daa3b4ad4e00d6e6ca855bb638cc8ec8d2565791 SHA1 (patch-ab) = 7a3dbdff2acc18202cd31b7516b1f645a1bc0f68 SHA1 (patch-ac) = 5d9df3fc894f06c981b26d82f216ff223a821954 SHA1 (patch-ad) = 19a895425342fa5379ed24953cf0c0ce2eda0760 +SHA1 (patch-ah) = 1f164968815f70c9f8b2dbe0516fcc26c6bce776 diff --git a/www/amaya/patches/patch-ah b/www/amaya/patches/patch-ah new file mode 100644 index 00000000000..57c701096b0 --- /dev/null +++ b/www/amaya/patches/patch-ah @@ -0,0 +1,15 @@ +$NetBSD: patch-ah,v 1.1 2004/06/12 14:23:10 cube Exp $ + +--- ../thotlib/presentation/presvariables.c.orig 2004-01-29 17:06:46.000000000 +0100 ++++ ../thotlib/presentation/presvariables.c +@@ -909,8 +909,8 @@ ThotBool NewVariable (int varNum, PtrSSc + { + int f, l; + int i; +- long tod; +- long *pt; ++ time_t tod; ++ time_t *pt; + struct tm *ptm; + PtrTextBuffer isOld, isNew; + PtrAttribute pA; -- cgit v1.2.3