summaryrefslogtreecommitdiff
path: root/audio/liblo
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-23 16:16:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-23 16:16:20 +0000
commitafc04cfe3f9a9dd094300dc8e54c3d5847aa36ce (patch)
tree5edf410e373f836b9f2fca3e1170d0b86b4a5373 /audio/liblo
parent- Update to 1.2.13 (diff)
- Fix crash with testlo
- Bump PORTREVISION PR: 108219 Submitted by: trasz (maintainer)
Notes
Notes: svn path=/head/; revision=183093
Diffstat (limited to 'audio/liblo')
-rw-r--r--audio/liblo/Makefile2
-rw-r--r--audio/liblo/files/patch-src-server.c14
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) {