gdbm: backport upstream fix for musl
This commit is contained in:
parent
0ed5a8612b
commit
b6973f28b0
@ -19,6 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Remove on next release.
|
||||
./upstream-darwin-clock-nanosleep-fix.patch
|
||||
./upstream-lockwait-test-fixes.patch
|
||||
./upstream-musl-ssize_t-fix.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
|
||||
|
||||
25
pkgs/by-name/gd/gdbm/upstream-musl-ssize_t-fix.patch
Normal file
25
pkgs/by-name/gd/gdbm/upstream-musl-ssize_t-fix.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 39ef0347f78ef691c9ad815360198f577043ce4c Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Poznyakoff <gray@gnu.org>
|
||||
Date: Mon, 24 Mar 2025 07:56:00 +0200
|
||||
Subject: Add missing include
|
||||
|
||||
* tools/gdbmapp.h: Include sys/types.h
|
||||
---
|
||||
tools/gdbmapp.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tools/gdbmapp.h b/tools/gdbmapp.h
|
||||
index 3ea826b..e20253a 100644
|
||||
--- 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.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user