sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (33a34e8b36cbbee541643f66ad4a1161ef505fed)
- 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 (33a34e8b36cbbee541643f66ad4a1161ef505fed)
- Date: Wed, 4 Jun 2025 19:14:26 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
libs/gdbm/HISTORY | 3 +++
libs/gdbm/PRE_BUILD | 3 +++
libs/gdbm/patches/gdbm-1.25-musl.patch | 22 ++++++++++++++++++++++
3 files changed, 28 insertions(+)
New commits:
commit 33a34e8b36cbbee541643f66ad4a1161ef505fed
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
gdbm: Fix build against musl
diff --git a/libs/gdbm/HISTORY b/libs/gdbm/HISTORY
index ce6f356..18de886 100644
--- a/libs/gdbm/HISTORY
+++ b/libs/gdbm/HISTORY
@@ -1,3 +1,6 @@
+2025-06-04 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, patches/gdbm-1.25-musl.patch: fixed build against musl
+
2025-03-23 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 1.25
diff --git a/libs/gdbm/PRE_BUILD b/libs/gdbm/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/libs/gdbm/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git a/libs/gdbm/patches/gdbm-1.25-musl.patch
b/libs/gdbm/patches/gdbm-1.25-musl.patch
new file mode 100644
index 0000000..2b186ef
--- /dev/null
+++ b/libs/gdbm/patches/gdbm-1.25-musl.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/951911
+https://puszcza.gnu.org.ua/bugs/index.php?649
+https://git.gnu.org.ua/gdbm.git/commit/?id=39ef0347f78ef691c9ad815360198f577043ce4c
+
+From 39ef0347f78ef691c9ad815360198f577043ce4c Mon Sep 17 00:00:00 2001
+From: Sergey Poznyakoff <gray AT gnu.org>
+Date: Mon, 24 Mar 2025 07:56:00 +0200
+Subject: Add missing include
+
+* tools/gdbmapp.h: Include sys/types.h
+--- a/tools/gdbmapp.h
++++ b/tools/gdbmapp.h
+@@ -16,6 +16,7 @@
+
+ #include <stdlib.h>
+ #include <stdarg.h>
++#include <sys/types.h>
+ #include "gettext.h"
+ #ifdef HAVE_LOCALE_H
+ # include <locale.h>
+--
+cgit v1.2.3
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (33a34e8b36cbbee541643f66ad4a1161ef505fed), Ismael Luceno, 06/04/2025
Archive powered by MHonArc 2.6.24.