libeXosip: bump version, use upstream directly
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 12 Dec 2011 19:35:16 +0000 (20:35 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 12 Dec 2011 20:22:40 +0000 (21:22 +0100)
Instead of Debian.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libeXosip2/libeXosip2-fix-non-ipv6-build.patch [new file with mode: 0644]
package/libeXosip2/libeXosip2.mk

diff --git a/package/libeXosip2/libeXosip2-fix-non-ipv6-build.patch b/package/libeXosip2/libeXosip2-fix-non-ipv6-build.patch
new file mode 100644 (file)
index 0000000..bec833f
--- /dev/null
@@ -0,0 +1,22 @@
+[PATCH] Fix build on systems without IPV6_TCLASS support
+
+The wrong variable name was used.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ src/eXtl_udp.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: libeXosip2-3.6.0/src/eXtl_udp.c
+===================================================================
+--- libeXosip2-3.6.0.orig/src/eXtl_udp.c
++++ libeXosip2-3.6.0/src/eXtl_udp.c
+@@ -178,7 +178,7 @@
+               res = setsockopt(udp_socket, IPPROTO_IPV6, IPV6_TCLASS,
+                       (SOCKET_OPTION_VALUE)&tos, sizeof(tos));
+ #else
+-              retval = setsockopt(udp_socket, IPPROTO_IPV6, IP_TOS,
++              res = setsockopt(udp_socket, IPPROTO_IPV6, IP_TOS,
+                       (SOCKET_OPTION_VALUE)&tos, sizeof(tos));
+ #endif
+       }
index 7c4753df3346ad4abeb595c169e26545ef4baba8..4b778a98e666e01ad712e8ca7e8f22ae595e4c6f 100644 (file)
@@ -3,10 +3,10 @@
 # libeXosip2
 #
 #############################################################
-LIBEXOSIP2_VERSION = 3.5.0
-LIBEXOSIP2_SOURCE = libexosip2_$(LIBEXOSIP2_VERSION).orig.tar.gz
-LIBEXOSIP2_PATCH = libexosip2_$(LIBEXOSIP2_VERSION)-1.diff.gz
-LIBEXOSIP2_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/libe/libexosip2
+
+LIBEXOSIP2_VERSION = 3.6.0
+LIBEXOSIP2_SOURCE = libeXosip2-$(LIBEXOSIP2_VERSION).tar.gz
+LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip/
 LIBEXOSIP2_INSTALL_STAGING = YES
 
 LIBEXOSIP2_DEPENDENCIES = host-pkg-config libosip2
@@ -18,18 +18,4 @@ else
 LIBEXOSIP2_CONF_OPT += --disable-openssl
 endif
 
-ifneq ($(LIBEXOSIP2_PATCH),)
-define LIBEXOSIP2_DEBIAN_PATCHES
-       if [ -d $(@D)/debian/patches ]; then \
-               (cd $(@D)/debian/patches && for i in *; \
-                do $(SED) 's,^\+\+\+ .*cvs-$(LIBEXOSIP2_VERSION)/,+++ cvs-$(LIBEXOSIP2_VERSION)/,' $$i; \
-                done; \
-               ); \
-               support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches \*; \
-       fi
-endef
-endif
-
-LIBEXOSIP2_POST_PATCH_HOOKS += LIBEXOSIP2_DEBIAN_PATCHES
-
 $(eval $(call AUTOTARGETS))