From f09b7600aa5ddda9c97ab55322d0954bb9454bd1 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 2 Oct 2015 00:12:09 +0200 Subject: [PATCH] libpri: fix warning when building with musl fix #warning redirecting incorrect #include to Signed-off-by: Daniel Golle --- libs/libpri/Makefile | 2 +- .../001-fix-include-signal-h-warning.patch | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 libs/libpri/patches/001-fix-include-signal-h-warning.patch 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 -- 2.30.2