]> git.pld-linux.org Git - packages/libidn.git/commitdiff
- fix python module build
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Apr 2004 18:49:30 +0000 (18:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libidn-python.patch -> 1.1

libidn-python.patch [new file with mode: 0644]

diff --git a/libidn-python.patch b/libidn-python.patch
new file mode 100644 (file)
index 0000000..e44588a
--- /dev/null
@@ -0,0 +1,20 @@
+--- libidn-0.4.3/contrib/idn-python/idn.c.orig 2004-04-05 22:52:12.000000000 +0200
++++ libidn-0.4.3/contrib/idn-python/idn.c      2004-04-24 20:50:51.796764136 +0200
+@@ -26,7 +26,7 @@
+   PyObject *outstr;
+   if (!PyArg_ParseTuple (args, "s", &instr))
+     onError ("Invalid argument");
+-  rc = idna_to_ascii_8z (instr, &result);
++  rc = idna_to_ascii_8z (instr, &result, 0);
+   if (rc != IDNA_SUCCESS)
+     {
+       switch (rc)
+@@ -56,7 +56,7 @@
+   PyObject *outstr;
+   if (!PyArg_ParseTuple (args, "s", &instr))
+     onError ("Invalid argument");
+-  rc = idna_to_unicode_8z8z (instr, &result);
++  rc = idna_to_unicode_8z8z (instr, &result, 0);
+   if (rc != IDNA_SUCCESS)
+     {
+       result = malloc (MESSAGE_SIZE);
This page took 0.044912 seconds and 4 git commands to generate.