From 78a88fa73646a0f66aa571ea1538f23679304ed3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 31 Oct 2024 17:13:17 -0700 Subject: [PATCH] gatling: fix compilation with GCC14 Headers are missing. Signed-off-by: Rosen Penev --- net/gatling/Makefile | 2 +- net/gatling/patches/040-gcc14.patch | 30 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 net/gatling/patches/040-gcc14.patch diff --git a/net/gatling/Makefile b/net/gatling/Makefile index 5b64daa9d5..c6c1f75448 100644 --- a/net/gatling/Makefile +++ b/net/gatling/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gatling PKG_VERSION:=0.16 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.fefe.de/gatling/ diff --git a/net/gatling/patches/040-gcc14.patch b/net/gatling/patches/040-gcc14.patch new file mode 100644 index 0000000000..9624e30758 --- /dev/null +++ b/net/gatling/patches/040-gcc14.patch @@ -0,0 +1,30 @@ +--- a/common.c ++++ b/common.c +@@ -9,6 +9,7 @@ + #include + #include + ++#include + #include + #include + #include +--- a/ftp.c ++++ b/ftp.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + + #include "havealloca.h" +--- a/pssl.c ++++ b/pssl.c +@@ -2,6 +2,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- 2.30.2