summaryrefslogtreecommitdiff
path: root/www/amaya/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'www/amaya/patches/patch-ao')
-rw-r--r--www/amaya/patches/patch-ao13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/amaya/patches/patch-ao b/www/amaya/patches/patch-ao
new file mode 100644
index 00000000000..17c5a04ebb2
--- /dev/null
+++ b/www/amaya/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1 2008/09/11 04:22:50 dholland Exp $
+
+--- ../thotlib/base/structlist.c~ 2008-01-21 06:24:18.000000000 -0500
++++ ../thotlib/base/structlist.c 2008-09-08 05:45:32.000000000 -0400
+@@ -577,7 +577,7 @@ static void WrTree (PtrElement pNode, in
+ switch (pAttr1->AttrType)
+ {
+ case AtNumAttr:
+- fprintf (fileDescriptor, "%d", pAttr->AeAttrValue);
++ fprintf (fileDescriptor, "%lld", (long long) pAttr->AeAttrValue);
+ break;
+ case AtTextAttr:
+ if (pAttr->AeAttrText)