pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-curl/patches py-curl: Remove patch that is not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c4247a54a1c
branches:  trunk
changeset: 372675:0c4247a54a1c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Dec 14 07:32:29 2017 +0000

description:
py-curl: Remove patch that is not in distinfo any longer.

diffstat:

 www/py-curl/patches/patch-src_easy.c |  22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diffs (26 lines):

diff -r ddf88fe6efe4 -r 0c4247a54a1c www/py-curl/patches/patch-src_easy.c
--- a/www/py-curl/patches/patch-src_easy.c      Thu Dec 14 03:38:43 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-src_easy.c,v 1.1 2017/04/18 15:06:22 jperkin Exp $
-
-Avoid "sun" definition.
-
---- src/easy.c.orig    2016-02-04 04:09:31.000000000 +0000
-+++ src/easy.c
-@@ -653,12 +653,12 @@ convert_protocol_address(struct sockaddr
- #if !defined(WIN32)
-     case AF_UNIX:
-         {
--            struct sockaddr_un* sun = (struct sockaddr_un*)saddr;
-+            struct sockaddr_un* sockun = (struct sockaddr_un*)saddr;
- 
- #if PY_MAJOR_VERSION >= 3
--            res_obj = Py_BuildValue("y", sun->sun_path);
-+            res_obj = Py_BuildValue("y", sockun->sun_path);
- #else
--            res_obj = Py_BuildValue("s", sun->sun_path);
-+            res_obj = Py_BuildValue("s", sockun->sun_path);
- #endif
-         }
-         break;



Home | Main Index | Thread Index | Old Index