From 717423d2804db7eda624125483ecaab9d0610e68 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 27 Nov 2018 12:36:21 -0800 Subject: [PATCH] dtndht: Add -std-gnu89 to fix compilation problems. bootstrapping.c:225:6: warning: implicit declaration of function 'blacklist_is_enabled' [-Wimplicit-function-declaration] bootstrapping.c:226:3: warning: implicit declaration of function 'blacklist_blacklist_id'; did you mean 'dht_blacklisted'? [-Wimplicit-function-declaration] Signed-off-by: Rosen Penev --- libs/dtndht/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/dtndht/Makefile b/libs/dtndht/Makefile index 2b79e4904..5846249ea 100644 --- a/libs/dtndht/Makefile +++ b/libs/dtndht/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dtndht PKG_VERSION:=0.2.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases @@ -33,6 +33,8 @@ define Package/dtndht/description A library with DHT functions for DTN name lookups. endef +TARGET_CFLAGS += -std=gnu89 + define Build/InstallDev $(INSTALL_DIR) $(1) $(CP) $(PKG_INSTALL_DIR)/* $(1)/