summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-21 19:15:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-21 19:15:18 +0000
commitcd495875e147dea4ad09ca786109d35e80c724d1 (patch)
tree681dd27a9bee25f493b1f33d27fb625dca4f4d19 /net-fs
parent41acd1fc9170cb5dbb6216621dc06e6a4b498809 (diff)
downloadbaldeagleos-repo-cd495875e147dea4ad09ca786109d35e80c724d1.tar.gz
baldeagleos-repo-cd495875e147dea4ad09ca786109d35e80c724d1.tar.xz
baldeagleos-repo-cd495875e147dea4ad09ca786109d35e80c724d1.zip
Adding metadata
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/files/samba-4.20.8-dont-use-deprecated-readline-CPPFunction-cast.patch74
1 files changed, 0 insertions, 74 deletions
diff --git a/net-fs/samba/files/samba-4.20.8-dont-use-deprecated-readline-CPPFunction-cast.patch b/net-fs/samba/files/samba-4.20.8-dont-use-deprecated-readline-CPPFunction-cast.patch
deleted file mode 100644
index 21048bb8c7a0..000000000000
--- a/net-fs/samba/files/samba-4.20.8-dont-use-deprecated-readline-CPPFunction-cast.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 81fc67cce2a076236a82ab5336ed3a9260f12af1 Mon Sep 17 00:00:00 2001
-From: Andreas Schneider <asn@samba.org>
-Date: Tue, 21 Jan 2025 17:59:27 +0100
-Subject: [PATCH] lib:replace: Don't use deprecated readline CPPFunction cast
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-HAVE_RL_COMPLETION_FUNC_T was unused and not checking for the right
-function.
-
-libcli/smbreadline/smbreadline.c: In function ‘smb_readline’:
-libcli/smbreadline/smbreadline.c:139:17: warning: ‘CPPFunction’ is deprecated [-Wdeprecated-declarations]
- 139 | rl_attempted_completion_function = RL_COMPLETION_CAST completion_fn;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-libcli/smbreadline/smbreadline.c:139:50: error: assignment to ‘char ** (*)(const char *, int, int)’ from incompatible pointer type ‘char ** (*)(void)’ [-Wincompatible-pointer-types]
- 139 | rl_attempted_completion_function = RL_COMPLETION_CAST completion_fn;
- | ^
-
-BUG: https://bugzilla.samba.org/show_bug.cgi?id=15788
-
-Signed-off-by: Andreas Schneider <asn@samba.org>
-Reviewed-by: Alexander Bokovoy <ab@samba.org>
-
-Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
-Autobuild-Date(master): Tue Jan 21 19:38:37 UTC 2025 on atb-devel-224
-
-(cherry picked from commit 9aa5c43315d83c19514251a11c4fba5a137f2821)
-
-Autobuild-User(v4-21-test): Jule Anger <janger@samba.org>
-Autobuild-Date(v4-21-test): Thu Jan 23 15:15:06 UTC 2025 on atb-devel-224
----
- lib/replace/system/readline.h | 4 +++-
- libcli/smbreadline/wscript_configure | 8 +++++---
- 2 files changed, 8 insertions(+), 4 deletions(-)
-
-diff --git a/lib/replace/system/readline.h b/lib/replace/system/readline.h
-index 9a9af266ca6d..ac3604fc12e0 100644
---- a/lib/replace/system/readline.h
-+++ b/lib/replace/system/readline.h
-@@ -46,7 +46,9 @@
- #endif
-
- #ifdef HAVE_NEW_LIBREADLINE
--#ifdef HAVE_CPPFUNCTION
-+#if defined(HAVE_RL_COMPLETION_FUNC_T)
-+# define RL_COMPLETION_CAST (rl_completion_func_t *)
-+#elif defined(HAVE_CPPFUNCTION)
- # define RL_COMPLETION_CAST (CPPFunction *)
- #elif defined(HAVE_RL_COMPLETION_T)
- # define RL_COMPLETION_CAST (rl_completion_t *)
-diff --git a/libcli/smbreadline/wscript_configure b/libcli/smbreadline/wscript_configure
-index 912ff53a150d..f5a401ebae00 100644
---- a/libcli/smbreadline/wscript_configure
-+++ b/libcli/smbreadline/wscript_configure
-@@ -51,10 +51,12 @@ conf.CHECK_CODE('''
- # endif
- # endif
- #endif
--int main(void) {rl_completion_t f; return 0;}
-+int main(void) {rl_completion_func_t f; return 0;}
- ''',
--'HAVE_RL_COMPLETION_FUNC_T', execute=False, addmain=False,
--msg='Checking for rl_completion_t')
-+ 'HAVE_RL_COMPLETION_FUNC_T',
-+ execute=False,
-+ addmain=False,
-+ msg='Checking for rl_completion_func_t')
-
- conf.CHECK_CODE('''
- #ifdef HAVE_READLINE_READLINE_H
---
-GitLab
-