From: Daniel Golle Date: Thu, 1 Oct 2015 22:12:09 +0000 (+0200) Subject: libpri: fix warning when building with musl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f09b7600aa5ddda9c97ab55322d0954bb9454bd1;p=feed%2Ftelephony.git libpri: fix warning when building with musl fix #warning redirecting incorrect #include to Signed-off-by: Daniel Golle --- diff --git a/libs/libpri/Makefile b/libs/libpri/Makefile index 079f4fb..becf8f9 100644 --- a/libs/libpri/Makefile +++ b/libs/libpri/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libpri PKG_VERSION:=1.4.15 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/libpri/ diff --git a/libs/libpri/patches/001-fix-include-signal-h-warning.patch b/libs/libpri/patches/001-fix-include-signal-h-warning.patch new file mode 100644 index 0000000..23ba2b7 --- /dev/null +++ b/libs/libpri/patches/001-fix-include-signal-h-warning.patch @@ -0,0 +1,26 @@ +Index: libpri-1.4.15/pritest.c +=================================================================== +--- libpri-1.4.15.orig/pritest.c ++++ libpri-1.4.15/pritest.c +@@ -41,7 +41,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +Index: libpri-1.4.15/testprilib.c +=================================================================== +--- libpri-1.4.15.orig/testprilib.c ++++ libpri-1.4.15/testprilib.c +@@ -41,7 +41,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include