update to gdbm-1.18.1

This commit is contained in:
jasper 2019-05-08 15:24:14 +00:00
parent 9771d484af
commit f8ea753ba2
3 changed files with 18 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.44 2018/07/09 07:51:32 jasper Exp $
# $OpenBSD: Makefile,v 1.45 2019/05/08 15:24:14 jasper Exp $
COMMENT= GNU dbm
DISTNAME= gdbm-1.16
DISTNAME= gdbm-1.18.1
CATEGORIES= databases
SHARED_LIBS= gdbm 5.1 # 5.0

View File

@ -1,2 +1,2 @@
SHA256 (gdbm-1.16.tar.gz) = yKGLxiWdoMPu/vsBj4qimP3cb4bG/A8N7HMnCJarUS8=
SIZE (gdbm-1.16.tar.gz) = 936526
SHA256 (gdbm-1.18.1.tar.gz) = huYTUn5dulROcyCPQreLfAItT6Wm1UmL8YyNb3Rbkdw=
SIZE (gdbm-1.18.1.tar.gz) = 941863

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_gdbmconst_h,v 1.1 2019/05/08 15:24:14 jasper Exp $
./gdbmconst.h:58:9: warning: 'SIZE_T_MAX' macro redefined
Index: src/gdbmconst.h
--- src/gdbmconst.h.orig
+++ src/gdbmconst.h
@@ -55,4 +55,6 @@
#define DEFAULT_CACHESIZE 100
/* Maximum size representable by a size_t variable */
+#ifndef SIZE_T_MAX
#define SIZE_T_MAX ((size_t)-1)
+#endif