Update to 0.0.13.

This commit is contained in:
Joe Marcus Clarke 2010-07-25 00:25:58 +00:00
parent 8eaf466cfb
commit 706aa7e672
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258190
3 changed files with 16 additions and 8 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= libnice
PORTVERSION= 0.0.12
PORTREVISION= 1
PORTVERSION= 0.0.13
CATEGORIES= net-im devel
MASTER_SITES= http://nice.freedesktop.org/releases/

View File

@ -1,3 +1,3 @@
MD5 (libnice-0.0.12.tar.gz) = fe25005032c441ecfaa0c19ac6b78ee7
SHA256 (libnice-0.0.12.tar.gz) = ec4ee9d50afccd421d3fb75a60a0713234f78538fa5eabf55b3c7c9185b51f11
SIZE (libnice-0.0.12.tar.gz) = 636926
MD5 (libnice-0.0.13.tar.gz) = e5b9f799a57cb939ea2658ec35253ab9
SHA256 (libnice-0.0.13.tar.gz) = d8dd260c486a470a6052a5323920878a084e44a19df09b15728b85c9e3d6edf0
SIZE (libnice-0.0.13.tar.gz) = 635783

View File

@ -1,6 +1,6 @@
--- agent/interfaces.c.orig 2009-03-08 13:12:26.000000000 -0400
+++ agent/interfaces.c 2009-03-08 13:12:53.000000000 -0400
@@ -43,6 +43,7 @@
--- agent/interfaces.c.orig 2010-07-20 17:54:40.000000000 -0400
+++ agent/interfaces.c 2010-07-24 20:24:19.000000000 -0400
@@ -46,6 +46,7 @@
#include <ifaddrs.h>
#endif
@ -8,3 +8,12 @@
#include <net/if.h>
#include <net/if_arp.h>
#include <arpa/inet.h>
@@ -198,7 +199,7 @@ nice_interfaces_get_local_ips (gboolean
struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)ifa->ifa_addr;
/* Skip link-local addresses, they require a scope */
- if (IN6_IS_ADDR_LINKLOCAL (sa6->sin6_addr.s6_addr))
+ if (IN6_IS_ADDR_LINKLOCAL (&sa6->sin6_addr))
continue;
if (inet_ntop (AF_INET6, &sa6->sin6_addr, addr_as_string,