Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (50721b6e900f1f882e991ba26d2e8a9b012411ab)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (50721b6e900f1f882e991ba26d2e8a9b012411ab)
  • Date: Sat, 26 Sep 2026 22:14:32 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

gnome3-libs/libgda5/BUILD
| 5 +
gnome3-libs/libgda5/HISTORY
| 11 +++
gnome3-libs/libgda5/INSTALL
| 7 ++
gnome3-libs/libgda5/PRE_BUILD
| 4 -

gnome3-libs/libgda5/patches/0001-gda-connection-avoids-check-internal-connection-data.patch
| 27 +++++++

gnome3-libs/libgda5/patches/0002-sql-parser-declare-lemon-functions-with-arguments.patch
| 34 ++++++++++

gnome3-libs/libgda5/patches/0003-xslt-cast-compiled-style-to-element-pointer.patch
| 27 +++++++

gnome3-libs/libgda5/patches/0004-sqlcipher-drop-wrong-libressl-version-check.patch
| 24 +++++++
8 files changed, 135 insertions(+), 4 deletions(-)

New commits:
commit 50721b6e900f1f882e991ba26d2e8a9b012411ab
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

libgda5: Fix build failures

diff --git a/gnome3-libs/libgda5/BUILD b/gnome3-libs/libgda5/BUILD
index fbfbd36..95b8491 100755
--- a/gnome3-libs/libgda5/BUILD
+++ b/gnome3-libs/libgda5/BUILD
@@ -1,2 +1,5 @@
-CFLAGS=${CFLAGS/-ffast-math/} &&
+CFLAGS="${CFLAGS/-ffast-math/}"
+# Use the mdbtools 1.x API; detection is broken with GCC 14+
+CFLAFS+=" -DMDB_BIND_COLUMN_FOUR_ARGS" &&
+force_dialect gnu99 &&
default_build
diff --git a/gnome3-libs/libgda5/HISTORY b/gnome3-libs/libgda5/HISTORY
index 7ca3dbd..be52967 100644
--- a/gnome3-libs/libgda5/HISTORY
+++ b/gnome3-libs/libgda5/HISTORY
@@ -1,3 +1,14 @@
+2026-09-26 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD,
patches/0001-gda-connection-avoids-check-internal-connection-data.patch:
+ fixed build with GCC 14+
+ *
patches/0002-sql-parser-declare-lemon-functions-with-arguments.patch:
+ use modern lemon API
+ * patches/0003-xslt-cast-compiled-style-to-element-pointer.patch:
+ use modern libxslt API
+ * patches/0004-sqlcipher-drop-wrong-libressl-version-check.patch:
+ remove broken libressl check
+ * INSTALL: added, fix introspection scanning the previous library
+
2025-01-06 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: removed BRANCH variable

diff --git a/gnome3-libs/libgda5/INSTALL b/gnome3-libs/libgda5/INSTALL
new file mode 100755
index 0000000..aaca6a7
--- /dev/null
+++ b/gnome3-libs/libgda5/INSTALL
@@ -0,0 +1,7 @@
+# prepare_install saves the installed libraries in old.libraries and puts
that
+# directory first in LD_LIBRARY_PATH, so gobject-introspection scans a stale
+# libgda instead of the one being installed, and dies on the dependencies
+# that library can no longer resolve. Put the freshly built one first, so
the
+# generated GIR describes the library that gets installed.
+export
LD_LIBRARY_PATH="$SOURCE_DIRECTORY/libgda/.libs${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
&&
+default_install
diff --git a/gnome3-libs/libgda5/PRE_BUILD b/gnome3-libs/libgda5/PRE_BUILD
index e5b26c3..c230ad1 100755
--- a/gnome3-libs/libgda5/PRE_BUILD
+++ b/gnome3-libs/libgda5/PRE_BUILD
@@ -1,5 +1,3 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
-# XXX The libressl check is wrong, so remove it
-sedit '/^#if /s/ *|| *defined(LIBRESSL_VERSION_NUMBER)$//' \
- providers/sqlcipher/sqlite3.c
+apply_patch_dir patches
diff --git
a/gnome3-libs/libgda5/patches/0001-gda-connection-avoids-check-internal-connection-data.patch

b/gnome3-libs/libgda5/patches/0001-gda-connection-avoids-check-internal-connection-data.patch
new file mode 100644
index 0000000..a596163
--- /dev/null
+++
b/gnome3-libs/libgda5/patches/0001-gda-connection-avoids-check-internal-connection-data.patch
@@ -0,0 +1,27 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Mon, 6 Jan 2025 16:28:06 +0100
+Subject: [PATCH] gda-connection: Fix pointer type mismatch
+
+Causes a build error with GCC 14, which enables the
+-Werror=incompatible-pointer-types flag by default.
+
+Upstream-Status: Pending
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ libgda/gda-connection.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
+index 43911e96addb..746204e50175 100644
+--- a/libgda/gda-connection.c
++++ b/libgda/gda-connection.c
+@@ -6458,7 +6458,7 @@ gda_connection_add_prepared_statement (GdaConnection
*cnc, GdaStatement *gda_stm
+
+ if (!cnc->priv->prepared_stmts)
+ cnc->priv->prepared_stmts = g_hash_table_new_full
(g_direct_hash, g_direct_equal,
+- NULL,
_gda_prepared_estatement_free);
++ NULL,
(GDestroyNotify)_gda_prepared_estatement_free);
+ g_hash_table_remove (cnc->priv->prepared_stmts, gda_stmt);
+ PreparedStatementRef *ref = _gda_prepared_estatement_new (gda_stmt,
prepared_stmt);
+ g_hash_table_insert (cnc->priv->prepared_stmts, gda_stmt, ref);
diff --git
a/gnome3-libs/libgda5/patches/0002-sql-parser-declare-lemon-functions-with-arguments.patch

b/gnome3-libs/libgda5/patches/0002-sql-parser-declare-lemon-functions-with-arguments.patch
new file mode 100644
index 0000000..ec5506f
--- /dev/null
+++
b/gnome3-libs/libgda5/patches/0002-sql-parser-declare-lemon-functions-with-arguments.patch
@@ -0,0 +1,34 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT sourcemage.org>
+Date: Sat, 26 Sep 2026 19:46:29 +0200
+Subject: [PATCH] sql-parser: Declare lemon parser functions with arguments
+
+Upstream-Status: Pending
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ libgda/sql-parser/lemon.c | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/libgda/sql-parser/lemon.c b/libgda/sql-parser/lemon.c
+index 1594eabbdd31..2e3b12ed9f13 100644
+--- a/libgda/sql-parser/lemon.c
++++ b/libgda/sql-parser/lemon.c
+@@ -70,12 +70,12 @@ static struct action *Action_new(void);
+ static struct action *Action_sort(struct action *);
+
+ /********** From the file "build.h" ************************************/
+-void FindRulePrecedences();
+-void FindFirstSets();
+-void FindStates();
+-void FindLinks();
+-void FindFollowSets();
+-void FindActions();
++void FindRulePrecedences(struct lemon *);
++void FindFirstSets(struct lemon *);
++void FindStates(struct lemon *);
++void FindLinks(struct lemon *);
++void FindFollowSets(struct lemon *);
++void FindActions(struct lemon *);
+
+ /********* From the file "configlist.h" *********************************/
+ void Configlist_init(void);
diff --git
a/gnome3-libs/libgda5/patches/0003-xslt-cast-compiled-style-to-element-pointer.patch

b/gnome3-libs/libgda5/patches/0003-xslt-cast-compiled-style-to-element-pointer.patch
new file mode 100644
index 0000000..4d6ef25
--- /dev/null
+++
b/gnome3-libs/libgda5/patches/0003-xslt-cast-compiled-style-to-element-pointer.patch
@@ -0,0 +1,27 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT sourcemage.org>
+Date: Sat, 26 Sep 2026 19:46:29 +0200
+Subject: [PATCH] xslt: Cast the compiled style to an element pointer
+
+info is an xsltStylePreCompPtr, but xsltCallTemplate expects an
+xsltElemPreCompPtr, which triggers -Wincompatible-pointer-types.
+
+Upstream-Status: Pending
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ libgda-xslt/sql_backend.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgda-xslt/sql_backend.c b/libgda-xslt/sql_backend.c
+index 74c5308533e6..97b1660b9870 100644
+--- a/libgda-xslt/sql_backend.c
++++ b/libgda-xslt/sql_backend.c
+@@ -152,7 +152,7 @@ _gda_xslt_bk_section (GdaXsltExCont * exec,
GdaXsltIntCont * pdata,
+ if (info != NULL) {
+ xsltCallTemplate
+ (ctxt, node,
+- cur_node, info);
++ cur_node,
(xsltElemPreCompPtr) info);
+ }
+ else {
+ printf ("the
xsltStylePreCompPtr is empthy\n");
diff --git
a/gnome3-libs/libgda5/patches/0004-sqlcipher-drop-wrong-libressl-version-check.patch

b/gnome3-libs/libgda5/patches/0004-sqlcipher-drop-wrong-libressl-version-check.patch
new file mode 100644
index 0000000..1a381c1
--- /dev/null
+++
b/gnome3-libs/libgda5/patches/0004-sqlcipher-drop-wrong-libressl-version-check.patch
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT sourcemage.org>
+Date: Sat, 26 Sep 2026 19:46:29 +0200
+Subject: [PATCH] sqlcipher: Drop the wrong LibreSSL version check
+
+Upstream-Status: Pending
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ providers/sqlcipher/sqlite3.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/providers/sqlcipher/sqlite3.c b/providers/sqlcipher/sqlite3.c
+index d815c2eadb36..d42854ba6a52 100644
+--- a/providers/sqlcipher/sqlite3.c
++++ b/providers/sqlcipher/sqlite3.c
+@@ -21638,7 +21638,7 @@ static unsigned int openssl_external_init = 0;
+ static unsigned int openssl_init_count = 0;
+ static sqlite3_mutex* openssl_rand_mutex = NULL;
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ static HMAC_CTX *HMAC_CTX_new(void)
+ {
+ HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (50721b6e900f1f882e991ba26d2e8a9b012411ab), Ismael Luceno, 09/26/2026

Archive powered by MHonArc 2.6.24.

Top of Page