From 92b761df2fb65e7459ffea439166613c81eae1fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= <mail-github@cgundogan.de> Date: Fri, 2 Mar 2018 10:04:00 +0100 Subject: [PATCH] pkg: ccn-lite: minor changes to integrate latest ccn-lite features --- pkg/ccn-lite/Makefile | 4 ++-- sys/shell/commands/sc_ccnl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/ccn-lite/Makefile b/pkg/ccn-lite/Makefile index 559522876b..29a3865abc 100644 --- a/pkg/ccn-lite/Makefile +++ b/pkg/ccn-lite/Makefile @@ -1,6 +1,6 @@ PKG_NAME=ccn-lite PKG_URL=https://github.com/cn-uofbasel/ccn-lite/ -PKG_VERSION=8b17f2b43f337242dce3175efd95f5439cf4a4f5 +PKG_VERSION=dbf3e1a8935cfc4b6bcfa1a5baa477553ffdafec PKG_LICENSE=ISC .PHONY: all @@ -8,7 +8,7 @@ PKG_LICENSE=ISC export RIOT_CFLAGS = ${CFLAGS} ${INCLUDES} all: git-download - cd $(PKG_BUILDDIR)/src && cmake -DCCNL_RIOT=1 -DRIOT_CFLAGS="${RIOT_CFLAGS}" . && make + cd $(PKG_BUILDDIR)/src && cmake -DCCNL_RIOT=1 -DRIOT_CFLAGS="${RIOT_CFLAGS}" -DBUILD_TESTING=OFF . && make cp $(PKG_BUILDDIR)/src/lib/libccnl-riot.a ${BINDIR}/ccn-lite.a include $(RIOTBASE)/pkg/pkg.mk diff --git a/sys/shell/commands/sc_ccnl.c b/sys/shell/commands/sc_ccnl.c index da2160fc4c..4e9d7369c0 100644 --- a/sys/shell/commands/sc_ccnl.c +++ b/sys/shell/commands/sc_ccnl.c @@ -207,7 +207,7 @@ int _ccnl_interest(int argc, char **argv) memset(_int_buf, '\0', BUF_SIZE); struct ccnl_prefix_s *prefix = ccnl_URItoPrefix(argv[1], CCNL_SUITE_NDNTLV, NULL, 0); - int res = ccnl_send_interest(prefix, _int_buf, BUF_SIZE); + int res = ccnl_send_interest(prefix, _int_buf, BUF_SIZE, NULL); ccnl_prefix_free(prefix); return res; -- GitLab