From ec6c97f1783f5ffe0a5e272ea9fd810949bb7aa1 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 2 Aug 2008 21:32:30 +0000 Subject: Fix broken 64-bit build of py-metakit. --- databases/metakit-lib/distinfo | 4 +++- databases/metakit-lib/patches/patch-aa | 23 +++++++++++++++++++++++ databases/metakit-lib/patches/patch-ac | 19 +++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 databases/metakit-lib/patches/patch-aa create mode 100644 databases/metakit-lib/patches/patch-ac (limited to 'databases') diff --git a/databases/metakit-lib/distinfo b/databases/metakit-lib/distinfo index 511bd5ee24c..514701a11b9 100644 --- a/databases/metakit-lib/distinfo +++ b/databases/metakit-lib/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.6 2006/03/02 19:19:43 drochner Exp $ +$NetBSD: distinfo,v 1.7 2008/08/02 21:32:30 dholland Exp $ SHA1 (metakit-2.4.9.5.tar.gz) = 26f693c857ef530988a927bd3c964a4e9e60ce9b RMD160 (metakit-2.4.9.5.tar.gz) = 330cd3e096b7492bd6eda1b1682277dfe06311f0 Size (metakit-2.4.9.5.tar.gz) = 877426 bytes +SHA1 (patch-aa) = 07b31ce305aeececb5403f1707d54f2a2a87f338 SHA1 (patch-ab) = 920485d14cfac6f10d1cb52332c54b1800d22d97 +SHA1 (patch-ac) = f16a3fd5c1e8ac435c49c5e1c430978b1e29a6bb diff --git a/databases/metakit-lib/patches/patch-aa b/databases/metakit-lib/patches/patch-aa new file mode 100644 index 00000000000..03eed58fa32 --- /dev/null +++ b/databases/metakit-lib/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD + +--- python/PyView.cpp~ 2005-04-15 02:27:22.000000000 -0400 ++++ python/PyView.cpp 2008-08-02 17:32:18.000000000 -0400 +@@ -977,15 +977,15 @@ static void PyView_dealloc(PyView *o) { + } + + static int PyView_print(PyView *o, FILE *f, int) { +- fprintf(f, "", (int)o); ++ fprintf(f, "", o); + return 0; + } + static int PyViewer_print(PyView *o, FILE *f, int) { +- fprintf(f, "", (int)o); ++ fprintf(f, "", o); + return 0; + } + static int PyROViewer_print(PyView *o, FILE *f, int) { +- fprintf(f, "", (int)o); ++ fprintf(f, "", o); + return 0; + } + diff --git a/databases/metakit-lib/patches/patch-ac b/databases/metakit-lib/patches/patch-ac new file mode 100644 index 00000000000..1c6c73d6724 --- /dev/null +++ b/databases/metakit-lib/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1 2008/08/02 21:32:30 dholland Exp $ + +--- python/PyRowRef.cpp~ 2004-04-26 06:18:13.000000000 -0400 ++++ python/PyRowRef.cpp 2008-08-02 17:28:54.000000000 -0400 +@@ -24,12 +24,12 @@ static void PyRowRef_dealloc(PyRowRef *o + } + + static int PyRowRef_print(PyRowRef *o, FILE *f, int) { +- fprintf(f, "", (int)o); ++ fprintf(f, "", o); + return 0; + } + + static int PyRORowRef_print(PyRowRef *o, FILE *f, int) { +- fprintf(f, "", (int)o); ++ fprintf(f, "", o); + return 0; + } + -- cgit v1.2.3