mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
gatling: fix compilation with GCC14
Headers are missing. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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/
|
||||
|
||||
30
net/gatling/patches/040-gcc14.patch
Normal file
30
net/gatling/patches/040-gcc14.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
--- a/common.c
|
||||
+++ b/common.c
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <libowfat/ip6.h>
|
||||
#include <libowfat/fmt.h>
|
||||
|
||||
+#include <alloca.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
--- a/ftp.c
|
||||
+++ b/ftp.c
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <time.h>
|
||||
#include <dirent.h>
|
||||
#include <fnmatch.h>
|
||||
+#include <alloca.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "havealloca.h"
|
||||
--- a/pssl.c
|
||||
+++ b/pssl.c
|
||||
@@ -2,6 +2,7 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <sys/uio.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/poll.h>
|
||||
#include <netdb.h>
|
||||
Reference in New Issue
Block a user