From: Rosen Penev Date: Sun, 30 Aug 2020 21:04:32 +0000 (-0700) Subject: libpri: remove Werror X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F581%2Fhead;p=feed%2Ftelephony.git libpri: remove Werror Fixes compilation under musl 1.2.x where time_t is 64-bit. Signed-off-by: Rosen Penev --- diff --git a/libs/libpri/Makefile b/libs/libpri/Makefile index 96da88a..5ed4900 100644 --- a/libs/libpri/Makefile +++ b/libs/libpri/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libpri PKG_VERSION:=1.6.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/libpri/releases diff --git a/libs/libpri/patches/010-no-werror.patch b/libs/libpri/patches/010-no-werror.patch new file mode 100644 index 0000000..e66f428 --- /dev/null +++ b/libs/libpri/patches/010-no-werror.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -68,7 +68,7 @@ DYNAMIC_OBJS= \ + $(STATIC_OBJS) + CFLAGS ?= -g + CFLAGS += $(CPPFLAGS) +-CFLAGS += -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes ++CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes + CFLAGS += -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS) + INSTALL_PREFIX=$(DESTDIR) + INSTALL_BASE=/usr