0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-11 22:08:58 +00:00
Files
packages/net/nfs-kernel-server/patches/210-nfsdctl.c-add-missing-basename.patch
John Audia c851cf35c5 nfs-kernel-server: update to v2.8.3
Update to v2.8.3
Removed upstreamed: 210-patch-for-broken-libnfsimapd-static-and-regex-plugins.patch
Added: 210-nfsdctl.c-add-missing-basename.patch

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-05-10 09:00:41 +03:00

23 lines
600 B
Diff

From fb6601e3a5746013ff4c1fc023f5f49a27fbdf8a Mon Sep 17 00:00:00 2001
From: John Audia <therealgraysky@proton.me>
Date: Fri, 11 Apr 2025 10:11:20 -0400
Subject: [PATCH] nfsdctl.c: add missing basename
Fix an error when cross compiling due to an implicit declaration
of the basename function in the nfsdctl.c file.
---
utils/nfsdctl/nfsdctl.c | 1 +
1 file changed, 1 insertion(+)
--- a/utils/nfsdctl/nfsdctl.c
+++ b/utils/nfsdctl/nfsdctl.c
@@ -4,6 +4,7 @@
#include <config.h>
#endif
+#include <libgen.h>
#include <linux/module.h>
#include <linux/version.h>
#include <netlink/genl/genl.h>