File unbundle-http-parser.patch of Package python-aiohttp

Index: aiohttp-3.7.2/aiohttp/_cparser.pxd
===================================================================
--- aiohttp-3.7.2.orig/aiohttp/_cparser.pxd
+++ aiohttp-3.7.2/aiohttp/_cparser.pxd
@@ -1,7 +1,7 @@
 from libc.stdint cimport uint16_t, uint32_t, uint64_t
 
 
-cdef extern from "../vendor/http-parser/http_parser.h":
+cdef extern from "http_parser.h":
     ctypedef int (*http_data_cb) (http_parser*,
                                   const char *at,
                                   size_t length) except -1
Index: aiohttp-3.7.2/setup.py
===================================================================
--- aiohttp-3.7.2.orig/setup.py
+++ aiohttp-3.7.2/setup.py
@@ -27,7 +27,6 @@ extensions = [
         "aiohttp._http_parser",
         [
             "aiohttp/_http_parser.c",
-            "vendor/http-parser/http_parser.c",
             "aiohttp/_find_header.c",
         ],
         define_macros=[("HTTP_PARSER_STRICT", 0)],
openSUSE Build Service is sponsored by