From f70e26b79564d4522ba1923bb6f1f7a68d9b98e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakov=20Smoli=C4=87?= Date: Thu, 27 Feb 2025 00:38:49 +0100 Subject: dev-db/sqlite: Update autosetup patch; add upstream reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakov Smolić --- dev-db/sqlite/files/sqlite-3.49.1-jimsh.patch | 37 ++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 6 deletions(-) (limited to 'dev-db/sqlite/files/sqlite-3.49.1-jimsh.patch') diff --git a/dev-db/sqlite/files/sqlite-3.49.1-jimsh.patch b/dev-db/sqlite/files/sqlite-3.49.1-jimsh.patch index 68203390c793..8f7f082a6d88 100644 --- a/dev-db/sqlite/files/sqlite-3.49.1-jimsh.patch +++ b/dev-db/sqlite/files/sqlite-3.49.1-jimsh.patch @@ -1,14 +1,27 @@ # https://bugs.gentoo.org/949981 -# https://github.com/msteveb/jimtcl/commit/9b754b8033b9f2a1dc8ba1227df2e5d75185dda7 +# https://www2.sqlite.org/src/info/ffd05de8a3b7cab1 +From 09591b78ae28c6bb385ae96fef44edfb52454830 Mon Sep 17 00:00:00 2001 +From: stephan +Date: Mon, 24 Feb 2025 04:47:34 +0000 +Subject: [PATCH] Update jimsh0.c from upstream autosetup to address + [https://github.com/msteveb/autosetup/issues/75|autosetup ticket #75], + triggered by this build in the Gentoo project. + +FossilOrigin-Name: ffd05de8a3b7cab1b8e91b99da74b43ec5a7b91c78dcfd7cf338b66126e30a56 +--- + autosetup/jimsh0.c | 20 ++++++++------------ + manifest | 12 ++++++------ + manifest.uuid | 2 +- + 3 files changed, 15 insertions(+), 19 deletions(-) + +diff --git a/autosetup/jimsh0.c b/autosetup/jimsh0.c +index 0526b9a446..1a6453d0c8 100644 --- a/autosetup/jimsh0.c +++ b/autosetup/jimsh0.c -@@ -2088,9 +2088,13 @@ enum wbuftype { - #define UNIX_SOCKETS 0 +@@ -1252,6 +1252,14 @@ int Jim_OpenForRead(const char *filename); + #endif --#ifndef MAXPATHLEN --#define MAXPATHLEN JIM_PATH_LEN --#endif +# ifndef MAXPATHLEN +# ifdef PATH_MAX +# define MAXPATHLEN PATH_MAX @@ -16,6 +29,18 @@ +# define MAXPATHLEN JIM_PATH_LEN +# endif +# endif ++ + + int Jim_FileStoreStatData(Jim_Interp *interp, Jim_Obj *varName, const jim_stat_t *sb); + +@@ -2088,10 +2096,6 @@ enum wbuftype { + #define UNIX_SOCKETS 0 + #endif + +-#ifndef MAXPATHLEN +-#define MAXPATHLEN JIM_PATH_LEN +-#endif +- -- cgit v1.2.3