summaryrefslogtreecommitdiff
path: root/databases/py-PgSQL/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-PgSQL/patches/patch-aa')
-rw-r--r--databases/py-PgSQL/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/databases/py-PgSQL/patches/patch-aa b/databases/py-PgSQL/patches/patch-aa
new file mode 100644
index 00000000000..982b370a344
--- /dev/null
+++ b/databases/py-PgSQL/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/09 13:46:24 recht Exp $
+
+--- libpqmodule.c.orig 2003-06-17 03:28:30.000000000 +0200
++++ libpqmodule.c 2003-07-26 15:26:34.000000000 +0200
+@@ -791,7 +791,7 @@
+ return PgInt8_FromString(s, (char **)NULL, 10);
+ }
+
+- PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed");
++ PyErr_SetString(PyExc_TypeError, "a string or numeric is required");
+ return (PyObject *)NULL;
+ }
+ #endif
+@@ -855,7 +855,7 @@
+ return PgInt2_FromString(s, (char **)NULL, 10);
+ }
+
+- PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed");
++ PyErr_SetString(PyExc_TypeError, "a string or numeric is required");
+ return (PyObject *)NULL;
+ }
+
+@@ -907,7 +907,7 @@
+ return libPQbool_FromString(self, args);
+ }
+
+- PyErr_SetString(PyExc_TypeError, "a string or numeric is requireed");
++ PyErr_SetString(PyExc_TypeError, "a string or numeric is required");
+ return (PyObject *)NULL;
+ }
+