sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (865b4c18ac7cbda5fb9c2413150958b36a7d0028)
- 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 (865b4c18ac7cbda5fb9c2413150958b36a7d0028)
- Date: Thu, 13 Aug 2026 08:48:51 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
http/hubbub/DETAILS | 4 -
http/hubbub/HISTORY | 3 +
http/libdom/DETAILS | 5 +
http/libdom/HISTORY | 5 +
http/libdom/PRE_BUILD | 3 +
http/libdom/patches/calloc-transposed-args.patch | 61
+++++++++++++++++++++++
http/libwapcaplet/DETAILS | 1
7 files changed, 78 insertions(+), 4 deletions(-)
New commits:
commit 865b4c18ac7cbda5fb9c2413150958b36a7d0028
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libdom: Add Watch line
commit cf8e4da2a04b7bf09c26291ae1dee1eb3af97c76
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
hubbub 0.3.8
commit 5ffa3fbd33170bb47862348a2346559fa05486f3
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libwapcaplet: Add Watch line
commit f33fbc3922ccd0392f52a2c55dec44d3dc49f071
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libdom 0.4.2
diff --git a/http/hubbub/DETAILS b/http/hubbub/DETAILS
index a16b5e1..681a5ab 100755
--- a/http/hubbub/DETAILS
+++ b/http/hubbub/DETAILS
@@ -1,9 +1,9 @@
. "$GRIMOIRE"/NETSURF_FUNCTIONS
SPELL=hubbub
- VERSION=0.3.7
+ VERSION=0.3.8
SOURCE="lib$SPELL-$VERSION-src.tar.gz"
SOURCE_URL[0]="https://download.netsurf-browser.org/libs/releases/$SOURCE"
-
SOURCE_HASH=sha512:d8ae4a8c4ded2c0e73902bfcf4d5d353154e27f236be0f6ea878cc2daed8a399378a4a9c2021f96106e1c822585b1daa09c9bd49c1551d3e87f37348865cfce1
+
SOURCE_HASH=sha512:7f0e4a2494a73a1a84e6d41f18deb9aa8c2f16da7b39bdf9cb96110567b17f50b6c65e0d3a91d5393829ae1b8651d153fb678085747f59664cad4209b6a1a96b
SOURCE_DIRECTORY="$BUILD_DIRECTORY/lib$SPELL-$VERSION"
WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
LICENSE[0]=MIT
diff --git a/http/hubbub/HISTORY b/http/hubbub/HISTORY
index 3ace779..82a0df6 100644
--- a/http/hubbub/HISTORY
+++ b/http/hubbub/HISTORY
@@ -1,3 +1,6 @@
+2026-08-13 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 0.3.8
+
2021-09-27 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 0.3.7
added NETSURF_FUNCTIONS
diff --git a/http/libdom/DETAILS b/http/libdom/DETAILS
index 99c5fdf..db38156 100755
--- a/http/libdom/DETAILS
+++ b/http/libdom/DETAILS
@@ -1,9 +1,10 @@
+# Watch: https://download.netsurf-browser.org/libs/releases/
. "$GRIMOIRE"/NETSURF_FUNCTIONS
SPELL=libdom
- VERSION=0.4.1
+ VERSION=0.4.2
SOURCE="$SPELL-$VERSION-src.tar.gz"
SOURCE_URL[0]=https://download.netsurf-browser.org/libs/releases/$SOURCE
-
SOURCE_HASH=sha512:8927b294c98dcb424a454036b20981963ba9982c1aad95b07fc0ca1efc58756b7d85373ed4cde0dcff6281b518a2b5993358494f432d85f7ac7ebd51230a6c22
+
SOURCE_HASH=sha512:85ce95a545c48af2cc082896d8153f016f7452315c67390884181cde19c999c7122c913846d404e40957d07abedc22c5ef8342d69eee139309e7c221d0580bb6
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE="https://www.netsurf-browser.org/"
LICENSE[0]="MIT"
diff --git a/http/libdom/HISTORY b/http/libdom/HISTORY
index da0a9ca..cfca0ad 100644
--- a/http/libdom/HISTORY
+++ b/http/libdom/HISTORY
@@ -1,2 +1,7 @@
+2026-08-13 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: updated spell to 0.4.2
+ * PRE_BUILD, patches/calloc-transposed-args.patch:
+ fixed build with GCC 14+ (-Werror=calloc-transposed-args)
+
2021-09-27 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS, DETAILS: spell created
diff --git a/http/libdom/PRE_BUILD b/http/libdom/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/http/libdom/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git a/http/libdom/patches/calloc-transposed-args.patch
b/http/libdom/patches/calloc-transposed-args.patch
new file mode 100644
index 0000000..5921323
--- /dev/null
+++ b/http/libdom/patches/calloc-transposed-args.patch
@@ -0,0 +1,61 @@
+From 2687282d56dfef19e26e9639a5c0cd81de957e22 Mon Sep 17 00:00:00 2001
+From: Peter Shkenev <petershh AT disroot.org>
+Date: Sat, 10 Aug 2024 14:01:59 +0100
+Subject: [PATCH] fixes libdom build on gcc 14 due to calloc-transposed-args
+ warning
+
+Upstream-Status: Backport
[https://github.com/netsurf-browser/libdom/commit/2687282d56dfef19e26e9639a5c0cd81de957e22]
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ bindings/xml/expat_xmlparser.c | 2 +-
+ src/core/node.c | 2 +-
+ src/html/html_document.c | 5 ++---
+ 3 files changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/bindings/xml/expat_xmlparser.c b/bindings/xml/expat_xmlparser.c
+index a63ccf19..ba5b4e76 100644
+--- a/bindings/xml/expat_xmlparser.c
++++ b/bindings/xml/expat_xmlparser.c
+@@ -484,7 +484,7 @@ dom_xml_parser_create(const char *enc, const char
*int_enc,
+
+ UNUSED(int_enc);
+
+- parser = calloc(sizeof(*parser), 1);
++ parser = calloc(1, sizeof(*parser));
+ if (parser == NULL) {
+ msg(DOM_MSG_CRITICAL, mctx, "No memory for parser");
+ return NULL;
+diff --git a/src/core/node.c b/src/core/node.c
+index da179c3c..9eabd2f8 100644
+--- a/src/core/node.c
++++ b/src/core/node.c
+@@ -2379,7 +2379,7 @@ static inline dom_exception _dom_event_targets_expand(
+ if (t == NULL) {
+ /* Create the event target list */
+ size = 64;
+- t = calloc(sizeof(*t), size);
++ t = calloc(size, sizeof(*t));
+ if (t == NULL) {
+ return DOM_NO_MEM_ERR;
+ }
+diff --git a/src/html/html_document.c b/src/html/html_document.c
+index cf3c25db..71b693a4 100644
+--- a/src/html/html_document.c
++++ b/src/html/html_document.c
+@@ -134,13 +134,12 @@ dom_exception
_dom_html_document_initialise(dom_html_document *doc,
+ doc->cookie = NULL;
+ doc->body = NULL;
+
+- doc->memoised = calloc(sizeof(dom_string *), hds_COUNT);
++ doc->memoised = calloc(hds_COUNT, sizeof(dom_string *));
+ if (doc->memoised == NULL) {
+ error = DOM_NO_MEM_ERR;
+ goto out;
+ }
+- doc->elements = calloc(sizeof(dom_string *),
+- DOM_HTML_ELEMENT_TYPE__COUNT);
++ doc->elements = calloc(DOM_HTML_ELEMENT_TYPE__COUNT,
sizeof(dom_string *));
+ if (doc->elements == NULL) {
+ error = DOM_NO_MEM_ERR;
+ goto out;
+
diff --git a/http/libwapcaplet/DETAILS b/http/libwapcaplet/DETAILS
index 509b465..4ace683 100755
--- a/http/libwapcaplet/DETAILS
+++ b/http/libwapcaplet/DETAILS
@@ -1,3 +1,4 @@
+# Watch: https://download.netsurf-browser.org/libs/releases/
. "$GRIMOIRE"/NETSURF_FUNCTIONS
SPELL=libwapcaplet
VERSION=0.4.3
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (865b4c18ac7cbda5fb9c2413150958b36a7d0028), Ismael Luceno, 08/13/2026
Archive powered by MHonArc 2.6.24.