diff options
author | dholland <dholland> | 2008-08-02 21:32:30 +0000 |
---|---|---|
committer | dholland <dholland> | 2008-08-02 21:32:30 +0000 |
commit | 90d5fd4075fced3956da4ec41a18599310b93e5a (patch) | |
tree | 2929e69ea5ece6ffc6fde8a7de4a1a4fcd82e346 /databases/metakit-lib/patches | |
parent | 146c987f896aaaa79ee2634d00d839c2187d1582 (diff) | |
download | pkgsrc-90d5fd4075fced3956da4ec41a18599310b93e5a.tar.gz |
Fix broken 64-bit build of py-metakit.
Diffstat (limited to 'databases/metakit-lib/patches')
-rw-r--r-- | databases/metakit-lib/patches/patch-aa | 23 | ||||
-rw-r--r-- | databases/metakit-lib/patches/patch-ac | 19 |
2 files changed, 42 insertions, 0 deletions
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, "<PyView object at %x>", (int)o); ++ fprintf(f, "<PyView object at %p>", o); + return 0; + } + static int PyViewer_print(PyView *o, FILE *f, int) { +- fprintf(f, "<PyViewer object at %x>", (int)o); ++ fprintf(f, "<PyViewer object at %p>", o); + return 0; + } + static int PyROViewer_print(PyView *o, FILE *f, int) { +- fprintf(f, "<PyROViewer object at %x>", (int)o); ++ fprintf(f, "<PyROViewer object at %p>", 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, "<PyRowRef object at %x>", (int)o); ++ fprintf(f, "<PyRowRef object at %p>", o); + return 0; + } + + static int PyRORowRef_print(PyRowRef *o, FILE *f, int) { +- fprintf(f, "<PyRORowRef object at %x>", (int)o); ++ fprintf(f, "<PyRORowRef object at %p>", o); + return 0; + } + |