1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Upgrade from 0.21 to 0.22. This introduces an API-incompatibility, but,

because the ABI remains the same, I am not upping shared library
version.

Notified by:	portscout
This commit is contained in:
Mikhail Teterin 2014-05-05 00:59:29 +00:00
parent 25d59e1a3f
commit 646c69ebdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352974
4 changed files with 4 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dht
PORTVERSION= 0.21
PORTVERSION= 0.22
CATEGORIES= devel
MASTER_SITES= http://www.pps.univ-paris-diderot.fr/~jch/software/files/

View File

@ -1,2 +1,2 @@
SHA256 (dht-0.21.tar.gz) = edf8fd9bf6225bbced38a74bb40592d46876fdfb74e9ebddecbdc1e805bdf44f
SIZE (dht-0.21.tar.gz) = 27578
SHA256 (dht-0.22.tar.gz) = a3452322648660da43cabd34cff8505d8f655e988f31c467535ad1992c29ac3d
SIZE (dht-0.22.tar.gz) = 27380

View File

@ -1,6 +1,6 @@
LIB= dht
SHLIB_MAJOR= 0
SHLIB_MINOR= 21
SHLIB_MINOR= 22
NO_PROFILE= yes
SRCS= dht.c

View File

@ -14,13 +14,6 @@
+ const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6*)sa;
const unsigned char *address = (const unsigned char*)&sin6->sin6_addr;
return sin6->sin6_port == 0 ||
@@ -687,5 +687,5 @@
int i;
- if(salen > sizeof(struct sockaddr_storage))
+ if((unsigned)salen > sizeof(struct sockaddr_storage))
abort();
@@ -1281,13 +1281,13 @@
int i, len;
struct storage *st;