wtmpdb: upgrade 0.11.0 -> 0.75.0

Six minor releases spanning ~15 months of development on top of the 0.11.0
snapshot the recipe was pinned to: 0.71/0.72 added man-page and import fixes,
0.73 broadened -p time-format support and added Hurd CLOCK_BOOTTIME
compatibility, 0.74 fixed the varlink interface name, and 0.75 uses an empty
memory table instead of failing on empty-file reads. SRCREV points at the
v0.75.0 tag; PV matches the tag so the check-version-mismatch class sees a
clean release.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-08-04 17:44:00 +00:00
parent c77780357c
commit 2473980295
2 changed files with 2 additions and 35 deletions
@@ -1,32 +0,0 @@
From 32f99ce7e890a457af50606ea7b577659a2a790a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 25 Mar 2024 17:35:07 -0700
Subject: [PATCH] include libgen.h for basename
basename prototype has been removed from string.h from latest musl [1]
compilers e.g. clang-18 flags the absense of prototype as error. therefore
include libgen.h for providing it.
[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
Upstream-Status: Submitted [https://github.com/thkukuk/wtmpdb/pull/11]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/wtmpdb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/wtmpdb.c b/src/wtmpdb.c
index aac7b5b..eaffae6 100644
--- a/src/wtmpdb.c
+++ b/src/wtmpdb.c
@@ -30,6 +30,7 @@
#include <time.h>
#include <ctype.h>
#include <errno.h>
+#include <libgen.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--
2.44.0
@@ -5,10 +5,9 @@ LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c"
SECTION = "libs"
SRCREV = "493e9704dbc50f141d5fbd41c823311e79d7e8d3"
SRCREV = "a6f185a241ee633cbba600029ec153feb2665cf8"
SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https \
file://0001-include-libgen.h-for-basename.patch"
SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https"
inherit meson pkgconfig systemd features_check