From 83234d13eafd1c4f500835c20e4b4f6dd6b35455 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 2 Jul 2019 13:07:52 -0700 Subject: [PATCH] gdbm: Update to 1.18.1 Fixes compilation with -Werror=implicit-function-declaration This has received no version updates for over 5 years. Cleaned up Makefile. Signed-off-by: Rosen Penev --- libs/gdbm/Makefile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/libs/gdbm/Makefile b/libs/gdbm/Makefile index dac4d5e8d..911059bc5 100644 --- a/libs/gdbm/Makefile +++ b/libs/gdbm/Makefile @@ -8,21 +8,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gdbm -PKG_VERSION:=1.11 +PKG_VERSION:=1.18.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/gdbm -PKG_HASH:=8d912f44f05d0b15a4a5d96a76f852e905d051bb88022fcdfd98b43be093e3c3 +PKG_HASH:=86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc -PKG_LICENSE:=GPL-3.0+ -PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Marcel Denia +PKG_LICENSE:=GPL-3.0-or-later +PKG_LICENSE_FILES:=COPYING -PKG_FIXUP:=autoreconf gettext-version -PKG_REMOVE_FILES:=Makefile compat/Makefile doc/Makefile export/Makefile src/Makefile tests/Makefile +PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=0 - PKG_BUILD_DEPENDS:=gettext-full/host include $(INCLUDE_DIR)/package.mk @@ -31,7 +29,7 @@ define Package/libgdbm SECTION:=libs CATEGORY:=Libraries TITLE:=GNU database manager - URL:=http://www.gnu.org/software/gdbm/ + URL:=https://www.gnu.org/software/gdbm/ endef define Package/libgdbm/description @@ -40,11 +38,9 @@ define Package/libgdbm/description works similar to the standard UNIX dbm routines. endef -TARGET_CFLAGS += $(FPIC) - CONFIGURE_ARGS += \ --enable-shared \ - --enable-static \ + --enable-static define Build/Compile +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \