yate: turn miniwebrtc error into warning 264/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Mon, 5 Feb 2018 20:21:16 +0000 (21:21 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Mon, 5 Feb 2018 20:24:49 +0000 (21:24 +0100)
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>
net/yate/Makefile
net/yate/patches/140-warning-unknown-architecture.patch [new file with mode: 0644]

index 14fae5be12128449f87dff02c86f92d428a1c0f7..738953c7e787096835486e191f029cd0bf70b2b2 100644 (file)
@@ -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 (file)
index 0000000..8a8590f
--- /dev/null
@@ -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_