Added a patch to fix build for GCC 15.1
Signed-off-by: John Audia <[email protected]>
include $(TOPDIR)/rules.mk
PKG_NAME:=gdbm
-PKG_VERSION:=1.23
+PKG_VERSION:=1.25
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/gdbm
-PKG_HASH:=74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd
+PKG_HASH:=d02db3c5926ed877f8817b81cd1f92f53ef74ca8c6db543fbba0271b34f393ec
PKG_LICENSE:=GPL-3.0-or-later
--- /dev/null
+From 39ef0347f78ef691c9ad815360198f577043ce4c Mon Sep 17 00:00:00 2001
+Date: Mon, 24 Mar 2025 07:56:00 +0200
+Subject: [PATCH] Add missing include
+
+* tools/gdbmapp.h: Include sys/types.h
+---
+ tools/gdbmapp.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- 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>