pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-expect Fixed obscure C code.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b445790ca20
branches: trunk
changeset: 534001:2b445790ca20
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Oct 10 18:09:31 2007 +0000
description:
Fixed obscure C code.
diffstat:
devel/py-expect/distinfo | 3 ++-
devel/py-expect/patches/patch-ag | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 9821b801b900 -r 2b445790ca20 devel/py-expect/distinfo
--- a/devel/py-expect/distinfo Wed Oct 10 17:12:51 2007 +0000
+++ b/devel/py-expect/distinfo Wed Oct 10 18:09:31 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 22:24:31 agc Exp $
+$NetBSD: distinfo,v 1.7 2007/10/10 18:09:31 rillig Exp $
SHA1 (ExpectPy-1.9b1.tar.gz) = f43fcd53901f327dc8acf0650dbfe45b274a8d7d
RMD160 (ExpectPy-1.9b1.tar.gz) = d0e586a987db1c6eb22008519483081f7278be20
@@ -9,3 +9,4 @@
SHA1 (patch-ad) = 267c2e93f89f786b415c7fa2645913c40541bc38
SHA1 (patch-ae) = 0f5190724d3b17e7b7f06f6408e1c9e7a3e66868
SHA1 (patch-af) = 130de0f91370a49db5c9236445d2cb258303b190
+SHA1 (patch-ag) = 7e43133aeebee5c63716aefba8fd4e0d4b1ff6ce
diff -r 9821b801b900 -r 2b445790ca20 devel/py-expect/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expect/patches/patch-ag Wed Oct 10 18:09:31 2007 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ag,v 1.1 2007/10/10 18:09:31 rillig Exp $
+
+--- expect.c.orig 2000-11-04 01:35:57.000000000 +0000
++++ expect.c 2007-10-10 18:07:13.000000000 +0000
+@@ -1412,6 +1412,8 @@ ExpSet_reset(self, args)
+ return Py_None;
+ }
+
++static PyObject *ExpSet_getattr(ExpSetObject *, char *);
++
+ /* Convert the registered Expect variables to a Python dictionary.
+ Changing the dictionary will not affect the Expect variables.
+ */
+@@ -1421,7 +1423,6 @@ ExpSet_todict(self, args)
+ PyObject *args;
+ { struct pyexp_variable_map *var;
+ PyObject *dict, *item;
+- static PyObject *ExpSet_getattr(ExpSetObject *, char *);
+
+ if ((dict = PyDict_New()) == NULL)
+ return NULL;
Home |
Main Index |
Thread Index |
Old Index