summaryrefslogtreecommitdiff
path: root/dev-php/swoole/files/swoole-4.8.7-gcc13.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-26 06:14:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-26 06:14:16 +0100
commitd5d36fc823b7189d033e69314ae2764f1eed9168 (patch)
tree7ad153046482fd6c121d0654933c134a72aab4d6 /dev-php/swoole/files/swoole-4.8.7-gcc13.patch
parent81a92c310907a51d2a03b6d470f4276a7d7ac00c (diff)
gentoo auto-resync : 26:04:2023 - 06:14:16
Diffstat (limited to 'dev-php/swoole/files/swoole-4.8.7-gcc13.patch')
-rw-r--r--dev-php/swoole/files/swoole-4.8.7-gcc13.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-php/swoole/files/swoole-4.8.7-gcc13.patch b/dev-php/swoole/files/swoole-4.8.7-gcc13.patch
new file mode 100644
index 000000000000..a99088af87cf
--- /dev/null
+++ b/dev-php/swoole/files/swoole-4.8.7-gcc13.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/895232
+https://github.com/swoole/swoole-src/issues/4983
+https://github.com/swoole/swoole-src/commit/402eec43ec385b63307b3ba772f871f0f86fa299
+
+From 402eec43ec385b63307b3ba772f871f0f86fa299 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Sun, 19 Feb 2023 13:00:01 +0100
+Subject: [PATCH] Fix #4983 Add missing header for GCC 13 (#4985)
+
+--- a/include/swoole_proxy.h
++++ b/include/swoole_proxy.h
+@@ -17,6 +17,7 @@
+ #pragma once
+
+ #include <string>
++#include <cstdint>
+
+ #define SW_SOCKS5_VERSION_CODE 0x05
+