diff --git a/pkg/relic/Makefile b/pkg/relic/Makefile index e2c8bbd656..f9e74e895c 100644 --- a/pkg/relic/Makefile +++ b/pkg/relic/Makefile @@ -1,6 +1,6 @@ PKG_NAME=relic PKG_URL=https://github.com/relic-toolkit/relic.git -PKG_VERSION=0b0442a8218df8d309266923f2dd5b9ae3b318ce +PKG_VERSION=e3f82e36250b228f3b4646781f6e06a8be497d18 PKG_LICENSE=LGPL-2.1 PKG_CUSTOM_PREPARED = $(BINDIR)/pkg-build/$(PKG_NAME)/include @@ -11,7 +11,9 @@ include $(RIOTBASE)/pkg/pkg.mk CMAKE_MINIMAL_VERSION = 3.6.0 -CFLAGS += -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-function -Wno-newline-eof +CFLAGS += -Wno-unused-function -Wno-old-style-definition -Wno-unused-parameter \ + -Wno-pedantic -Wno-array-parameter -Wno-unused-but-set-variable \ + -Wno-stringop-overflow TOOLCHAIN_FILE = $(PKG_SOURCE_DIR)/xcompile-toolchain.cmake diff --git a/pkg/relic/patches/0001-use-modul-random-for-seeding.patch b/pkg/relic/patches/0001-use-modul-random-for-seeding.patch index b5ad60b325..f5384752a0 100644 Binary files a/pkg/relic/patches/0001-use-modul-random-for-seeding.patch and b/pkg/relic/patches/0001-use-modul-random-for-seeding.patch differ diff --git a/pkg/relic/patches/0002-add-RIOT-random-support-to-cmake-and-relic_conf.h.patch b/pkg/relic/patches/0002-add-RIOT-random-support-to-cmake-and-relic_conf.h.patch new file mode 100644 index 0000000000..14a960ef0b Binary files /dev/null and b/pkg/relic/patches/0002-add-RIOT-random-support-to-cmake-and-relic_conf.h.patch differ diff --git a/pkg/relic/patches/0002-add-flag-to-help-message.patch b/pkg/relic/patches/0002-add-flag-to-help-message.patch deleted file mode 100644 index 46fcaadec5..0000000000 Binary files a/pkg/relic/patches/0002-add-flag-to-help-message.patch and /dev/null differ