diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-01-23 16:16:20 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-01-23 16:16:20 +0000 |
commit | afc04cfe3f9a9dd094300dc8e54c3d5847aa36ce (patch) | |
tree | 5edf410e373f836b9f2fca3e1170d0b86b4a5373 /audio | |
parent | edd0846ec971afddb734071f7a0ee2990ce4916f (diff) |
- Fix crash with testlo
- Bump PORTREVISION
PR: 108219
Submitted by: trasz (maintainer)
Notes
Notes:
svn path=/head/; revision=183093
Diffstat (limited to 'audio')
-rw-r--r-- | audio/liblo/Makefile | 2 | ||||
-rw-r--r-- | audio/liblo/files/patch-src-server.c | 14 |
2 files changed, 13 insertions, 3 deletions
diff --git a/audio/liblo/Makefile b/audio/liblo/Makefile index 40c3b83d68a0..2f66996a97c4 100644 --- a/audio/liblo/Makefile +++ b/audio/liblo/Makefile @@ -7,7 +7,7 @@ PORTNAME= liblo PORTVERSION= 0.23 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= liblo diff --git a/audio/liblo/files/patch-src-server.c b/audio/liblo/files/patch-src-server.c index c17f88f9de95..8cbd47bff783 100644 --- a/audio/liblo/files/patch-src-server.c +++ b/audio/liblo/files/patch-src-server.c @@ -1,6 +1,16 @@ --- src/server.c.orig Thu Jan 26 16:00:28 2006 -+++ src/server.c Fri Jan 19 13:56:05 2007 -@@ -639,38 +639,11 @@ ++++ src/server.c Mon Jan 22 20:13:09 2007 +@@ -342,7 +342,8 @@ + lo_method next; + + if (s->socket != -1) close(s->socket); +- freeaddrinfo(s->ai); ++ if (s->ai) ++ freeaddrinfo(s->ai); + free(s->hostname); + free(s->path); + for (it = s->first; it; it = next) { +@@ -639,38 +640,11 @@ //inet_ntop(s->addr.ss_family, &s->addr.padding, hostname, sizeof(hostname)); if (s->protocol == LO_UDP) { |