From 0900507d38bfc7963d7b6c1a7b04341ae987f2d2 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sun, 16 Mar 2025 22:50:49 -0700 Subject: [PATCH] samba: don't remove unistd include, gcc14 Fix building with gcc14. musl seems to build fine without the patch. --- .../samba/patches/musl_rm_unistd_incl.patch | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 srcpkgs/samba/patches/musl_rm_unistd_incl.patch diff --git a/srcpkgs/samba/patches/musl_rm_unistd_incl.patch b/srcpkgs/samba/patches/musl_rm_unistd_incl.patch deleted file mode 100644 index 1f4aae2683b..00000000000 --- a/srcpkgs/samba/patches/musl_rm_unistd_incl.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/lib/replace/replace.h -+++ b/lib/replace/replace.h -@@ -168,10 +168,6 @@ - #include - #endif - --#ifdef HAVE_UNISTD_H --#include --#endif -- - #ifdef HAVE_STRING_H - #include - #endif ---- a/lib/replace/system/network.h -+++ b/lib/replace/system/network.h -@@ -31,10 +31,6 @@ - #error "AC_LIBREPLACE_NETWORK_CHECKS missing in configure" - #endif - --#ifdef HAVE_UNISTD_H --#include --#endif -- - #ifdef HAVE_SYS_SOCKET_H - #include - #endif ---- a/source3/rpc_server/mdssvc/mdssvc.c -+++ b/source3/rpc_server/mdssvc/mdssvc.c -@@ -18,6 +18,8 @@ - along with this program. If not, see . - */ - -+#include -+ - #include "includes.h" - #include "librpc/gen_ndr/auth.h" - #include "dbwrap/dbwrap.h"