summaryrefslogtreecommitdiff
path: root/lang/python20/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-01-28 09:07:23 +0000
committerdrochner <drochner@pkgsrc.org>2002-01-28 09:07:23 +0000
commit8d19facba57f8929ea5974c80f1efa6d87431e57 (patch)
treea56feac78ff498ba05e6a5787a07fdfbe901895c /lang/python20/patches
parentb165e0fea48c292101c041d64c8af16568f153b0 (diff)
downloadpkgsrc-8d19facba57f8929ea5974c80f1efa6d87431e57.tar.gz
-don't build modules which are known not to work on 64-bit boxes
on any platform (we can make a separate pkg for it later) -pull in a patch which used to be in devel/py-readline here because it is Python version specific -bump PKGREVISION
Diffstat (limited to 'lang/python20/patches')
-rw-r--r--lang/python20/patches/patch-ac23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/python20/patches/patch-ac b/lang/python20/patches/patch-ac
new file mode 100644
index 00000000000..b2eb980f313
--- /dev/null
+++ b/lang/python20/patches/patch-ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1 2002/01/28 09:07:25 drochner Exp $
+
+--- Modules/readline.c.orig Mon Oct 16 23:49:34 2000
++++ Modules/readline.c Tue Aug 7 17:00:33 2001
+@@ -26,18 +26,6 @@
+ #include <unistd.h>
+ #else
+ #include <readline/readline.h> /* You may need to add an -I option to Setup */
+-
+-extern int rl_parse_and_bind(char *);
+-extern int rl_read_init_file(char *);
+-extern int rl_insert_text(char *);
+-extern int rl_bind_key(int, Function *);
+-extern int rl_bind_key_in_map(int, Function *, Keymap);
+-extern int rl_initialize(void);
+-extern int add_history(char *);
+-extern int read_history(char *);
+-extern int write_history(char *);
+-extern int history_truncate_file(char *, int);
+-extern Function *rl_event_hook;
+ #endif
+
+ /* Pointers needed from outside (but not declared in a header file). */