mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
nsutils: fix compilation with GCC14
Missing header. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nsutils
|
||||
BASE_VERSION:=0.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/rd235/nsutils.git
|
||||
|
||||
10
utils/nsutils/patches/010-gcc14.patch
Normal file
10
utils/nsutils/patches/010-gcc14.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/nslist.c
|
||||
+++ b/nslist.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
+#include <libgen.h>
|
||||
#include <limits.h>
|
||||
#include <dirent.h>
|
||||
#include <getopt.h>
|
||||
Reference in New Issue
Block a user