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 <sebastian_ml@gmx.net>
This commit is contained in:
parent
6b6e7a9d5d
commit
489adca0db
2 changed files with 23 additions and 3 deletions
|
@ -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))
|
||||
|
|
20
net/yate/patches/140-warning-unknown-architecture.patch
Normal file
20
net/yate/patches/140-warning-unknown-architecture.patch
Normal file
|
@ -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_
|
Loading…
Reference in a new issue