From 489adca0dbea894920b36a5e6e0400f563a87ae0 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Mon, 5 Feb 2018 21:21:16 +0100 Subject: [PATCH] yate: turn miniwebrtc error into warning ilbcwebrtc and isaccodec currently depend on @!arc because the code does not compile there. The code does not compile on aarch64 either. Instead of adding @!aarch64 this commit adds a patch copied from Debian that turns the error "Please add support for your architecture in typedefs.h" into a warning, allowing the code to build. Consequently this commit removes @!arc from the depends as well. Signed-off-by: Sebastian Kemper --- net/yate/Makefile | 6 +++--- .../140-warning-unknown-architecture.patch | 20 +++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 net/yate/patches/140-warning-unknown-architecture.patch diff --git a/net/yate/Makefile b/net/yate/Makefile index 14fae5b..738953c 100644 --- a/net/yate/Makefile +++ b/net/yate/Makefile @@ -12,7 +12,7 @@ RELEASEVER:=6.0.0 PKG_NAME:=yate PKG_VERSION:=$(RELEASEVER)-1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://yate.null.ro/tarballs/yate6/ @@ -228,8 +228,8 @@ $(eval $(call BuildPlugin,filetransfer,,File Transfer Driver,,,y)) $(eval $(call BuildPlugin,gvoice,,Google Voice support,,,y)) $(eval $(call BuildPlugin,heartbeat,server,Linux-HA compatible heartbeat,,,y)) $(eval $(call BuildPlugin,ilbccodec,,iLBC Codec,)) -$(eval $(call BuildPlugin,ilbcwebrtc,,iLBC Codec from the WebRTC project,@!arc)) -$(eval $(call BuildPlugin,isaccodec,,internet Speech Audio Codec,@!arc)) +$(eval $(call BuildPlugin,ilbcwebrtc,,iLBC Codec from the WebRTC project,)) +$(eval $(call BuildPlugin,isaccodec,,internet Speech Audio Codec,)) $(eval $(call BuildPlugin,isupmangler,sig,ISUP parameter mangling in a STP,,,y)) $(eval $(call BuildPlugin,jabberclient,client,Jabber Client,,,y)) $(eval $(call BuildPlugin,jabberserver,jabber,Jabber Server,,,y)) diff --git a/net/yate/patches/140-warning-unknown-architecture.patch b/net/yate/patches/140-warning-unknown-architecture.patch new file mode 100644 index 0000000..8a8590f --- /dev/null +++ b/net/yate/patches/140-warning-unknown-architecture.patch @@ -0,0 +1,20 @@ +--- a/libs/miniwebrtc/typedefs.h ++++ b/libs/miniwebrtc/typedefs.h +@@ -101,7 +101,7 @@ + #endif + + #else +-#error Please add support for your architecture in typedefs.h ++#warning : Please add support for your architecture in typedefs.h + #endif + + #if defined(__SSE2__) || defined(_MSC_VER) +@@ -160,7 +160,7 @@ + #define WEBRTC_LITTLE_ENDIAN + + #else +- #error "No platform defined for WebRTC type definitions (typedefs.h)" ++ #warning : "No platform defined for WebRTC type definitions (typedefs.h)" + #endif + + #endif // WEBRTC_TYPEDEFS_H_ -- 2.30.2