mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
add py-unicorn
This commit is contained in:
11
python/py-httptools/files/patch-httptools-parser-parser.c
Normal file
11
python/py-httptools/files/patch-httptools-parser-parser.c
Normal file
@@ -0,0 +1,11 @@
|
||||
--- httptools/parser/parser.c.orig 2019-02-25 19:54:42 UTC
|
||||
+++ httptools/parser/parser.c
|
||||
@@ -609,7 +609,7 @@ static CYTHON_INLINE float __PYX_NAN() {
|
||||
#include <stdio.h>
|
||||
#include "pythread.h"
|
||||
#include <stdint.h>
|
||||
-#include "../../vendor/http-parser/http_parser.h"
|
||||
+#include "http_parser.h"
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#endif /* _OPENMP */
|
||||
11
python/py-httptools/files/patch-setup.py
Normal file
11
python/py-httptools/files/patch-setup.py
Normal file
@@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2020-02-08 00:30:40 UTC
|
||||
+++ setup.py
|
||||
@@ -44,7 +44,7 @@ class httptools_build_ext(build_ext):
|
||||
return
|
||||
|
||||
super().initialize_options()
|
||||
- self.use_system_http_parser = False
|
||||
+ self.use_system_http_parser = True
|
||||
self.cython_always = False
|
||||
self.cython_annotate = None
|
||||
self.cython_directives = None
|
||||
Reference in New Issue
Block a user