svn commit: r400845 - in head/net/belle-sip: . files

Muhammad Moinur Rahman bofh at FreeBSD.org
Thu Nov 5 12:11:34 UTC 2015


Author: bofh
Date: Thu Nov  5 12:11:32 2015
New Revision: 400845
URL: https://svnweb.freebsd.org/changeset/ports/400845

Log:
  net/belle-sip: Update version 1.4.1=>1.4.2
  
  - Fix patch files for 'make makepatch' compatibility

Modified:
  head/net/belle-sip/Makefile
  head/net/belle-sip/distinfo
  head/net/belle-sip/files/patch-configure
  head/net/belle-sip/files/patch-src-belle_sip_headers_impl.c
  head/net/belle-sip/files/patch-src_belle__sip__internal.h
  head/net/belle-sip/files/patch-src_dns.c

Modified: head/net/belle-sip/Makefile
==============================================================================
--- head/net/belle-sip/Makefile	Thu Nov  5 11:50:19 2015	(r400844)
+++ head/net/belle-sip/Makefile	Thu Nov  5 12:11:32 2015	(r400845)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	belle-sip
-PORTVERSION=	1.4.1
-PORTREVISION=	1
+PORTVERSION=	1.4.2
 CATEGORIES=	net java
 MASTER_SITES=	SAVANNAH/linphone/${PORTNAME}/ \
 		http://www.antlr3.org/download/:source2

Modified: head/net/belle-sip/distinfo
==============================================================================
--- head/net/belle-sip/distinfo	Thu Nov  5 11:50:19 2015	(r400844)
+++ head/net/belle-sip/distinfo	Thu Nov  5 12:11:32 2015	(r400845)
@@ -1,4 +1,4 @@
-SHA256 (belle-sip-1.4.1.tar.gz) = 4b1067ba14457c3e0a3b1506866c34b0082dcd19794526599f23f6acb11b2d60
-SIZE (belle-sip-1.4.1.tar.gz) = 748460
+SHA256 (belle-sip-1.4.2.tar.gz) = 822cb72608544cea526a03a076868380815eba8cc3d4d037d7a87c3907948830
+SIZE (belle-sip-1.4.2.tar.gz) = 765307
 SHA256 (antlr-3.4-complete.jar) = 9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7
 SIZE (antlr-3.4-complete.jar) = 2388361

Modified: head/net/belle-sip/files/patch-configure
==============================================================================
--- head/net/belle-sip/files/patch-configure	Thu Nov  5 11:50:19 2015	(r400844)
+++ head/net/belle-sip/files/patch-configure	Thu Nov  5 12:11:32 2015	(r400845)
@@ -1,4 +1,4 @@
---- configure.orig	2015-03-11 16:44:12 UTC
+--- configure.orig	2015-11-02 13:36:49 UTC
 +++ configure
 @@ -16787,10 +16787,10 @@ libresolv_have_res_get_servers=no
  resolv_h_hav_res_ndestroy=no

Modified: head/net/belle-sip/files/patch-src-belle_sip_headers_impl.c
==============================================================================
--- head/net/belle-sip/files/patch-src-belle_sip_headers_impl.c	Thu Nov  5 11:50:19 2015	(r400844)
+++ head/net/belle-sip/files/patch-src-belle_sip_headers_impl.c	Thu Nov  5 12:11:32 2015	(r400845)
@@ -1,34 +1,38 @@
---- src/belle_sip_headers_impl.c.orig	2015-01-20 10:39:04 UTC
+--- src/belle_sip_headers_impl.c.orig	2015-10-19 11:43:47 UTC
 +++ src/belle_sip_headers_impl.c
-@@ -1663,7 +1663,6 @@ BELLESIP_EXPORT time_t belle_sip_header_
- 	char tmp2[16] ={0};
- 	int i,j;
+@@ -1670,8 +1670,6 @@ BELLESIP_EXPORT time_t belle_sip_header_
  	time_t seconds;
+ #ifdef BELLE_SIP_WINDOWS_UNIVERSAL
+ 	long adjust_timezone;
+-#else
 -	time_t adjust_timezone;
+ #endif
  
  
- 	/* time headers are in GMT as spec says */
-@@ -1685,22 +1684,12 @@ BELLESIP_EXPORT time_t belle_sip_header_
- 	return (time_t)-1;
+@@ -1695,25 +1693,11 @@ BELLESIP_EXPORT time_t belle_sip_header_
  success:
  	ret.tm_isdst=0;
--
+ 
 -#if TARGET_IPHONE_SIMULATOR
 -	/* 'timezone' is buggy on iOS simulator, use the timegm() function to convert to UTC timestamp
 -	   and discard the adjust timezone value */
- 	seconds = timegm(&ret);
+-	seconds = timegm(&ret);
 -	adjust_timezone = 0;
 -#else
 -	seconds = mktime(&ret);
+-#ifdef BELLE_SIP_WINDOWS_UNIVERSAL
+-	_get_timezone(&adjust_timezone);
+-#else
 -	adjust_timezone = timezone;
 -#endif
+-#endif
 -
  	if (seconds==(time_t)-1){
 -		belle_sip_error("mktime() failed: %s",strerror(errno));
 +		belle_sip_error("timegm() failed: %s",strerror(errno));
  		return (time_t)-1;
  	}
--	return seconds-adjust_timezone;
+-	return seconds-(time_t)adjust_timezone;
 +	return seconds;
  }
  

Modified: head/net/belle-sip/files/patch-src_belle__sip__internal.h
==============================================================================
--- head/net/belle-sip/files/patch-src_belle__sip__internal.h	Thu Nov  5 11:50:19 2015	(r400844)
+++ head/net/belle-sip/files/patch-src_belle__sip__internal.h	Thu Nov  5 12:11:32 2015	(r400845)
@@ -1,5 +1,5 @@
---- src/belle_sip_internal.h.orig	2014-06-30 16:50:46.873520744 +0600
-+++ src/belle_sip_internal.h	2014-06-30 16:51:05.264521071 +0600
+--- src/belle_sip_internal.h.orig	2015-10-19 11:43:47 UTC
++++ src/belle_sip_internal.h
 @@ -23,6 +23,7 @@
  #include <stdio.h>
  #include <sys/types.h>

Modified: head/net/belle-sip/files/patch-src_dns.c
==============================================================================
--- head/net/belle-sip/files/patch-src_dns.c	Thu Nov  5 11:50:19 2015	(r400844)
+++ head/net/belle-sip/files/patch-src_dns.c	Thu Nov  5 12:11:32 2015	(r400845)
@@ -1,6 +1,6 @@
---- src/dns.c.orig	2014-08-16 15:34:00.457977967 +0600
-+++ src/dns.c	2014-08-16 15:34:32.647973864 +0600
-@@ -4306,6 +4306,7 @@
+--- src/dns.c.orig	2015-10-19 11:43:47 UTC
++++ src/dns.c
+@@ -4345,6 +4345,7 @@ int dns_resconf_loadfromresolv(struct dn
  	union res_sockaddr_union addresses[3];
  	int i,error;
  


More information about the svn-ports-all mailing list