summaryrefslogtreecommitdiffstats
path: root/swoole-syslib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'swoole-syslib.patch')
-rw-r--r--swoole-syslib.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/swoole-syslib.patch b/swoole-syslib.patch
deleted file mode 100644
index 0c58430..0000000
--- a/swoole-syslib.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 27141691462ed49e42968d77192df62e89f72156 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Wed, 26 Apr 2023 17:17:43 +0200
-Subject: [PATCH] use system headers for system libnghttp2
-
----
- config.m4 | 1 +
- ext-src/php_swoole_http.h | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/config.m4 b/config.m4
-index da62b9a704..19fb0698d3 100644
---- a/config.m4
-+++ b/config.m4
-@@ -744,6 +744,7 @@ EOF
- thirdparty/hiredis/sds.c"
-
- if test "$PHP_NGHTTP2_DIR" = "no"; then
-+ PHP_ADD_INCLUDE([$ext_srcdir/thirdparty])
- swoole_source_file="$swoole_source_file \
- thirdparty/nghttp2/nghttp2_hd.c \
- thirdparty/nghttp2/nghttp2_rcbuf.c \
-diff --git a/ext-src/php_swoole_http.h b/ext-src/php_swoole_http.h
-index b43982e5c6..717c2ee4d3 100644
---- a/ext-src/php_swoole_http.h
-+++ b/ext-src/php_swoole_http.h
-@@ -34,7 +34,7 @@
- #define SW_ZLIB_ENCODING_ANY 0x2f
- #endif
-
--#include "thirdparty/nghttp2/nghttp2.h"
-+#include <nghttp2/nghttp2.h>
-
- enum swHttpHeaderFlag {
- HTTP_HEADER_SERVER = 1u << 1,