aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-24 00:16:20 +0800
committermiwi <miwi@FreeBSD.org>2007-01-24 00:16:20 +0800
commit85be407d96de08384f8841dc0203bec6b85ee8a0 (patch)
tree2535207624247c2cffdd2c21de7dd55a3f74d5ac /audio
parent0f9e000a6d93fd19023013c9deebb22f59aa6223 (diff)
downloadfreebsd-ports-gnome-85be407d96de08384f8841dc0203bec6b85ee8a0.tar.gz
freebsd-ports-gnome-85be407d96de08384f8841dc0203bec6b85ee8a0.tar.zst
freebsd-ports-gnome-85be407d96de08384f8841dc0203bec6b85ee8a0.zip
- Fix crash with testlo
- Bump PORTREVISION PR: 108219 Submitted by: trasz (maintainer)
Diffstat (limited to 'audio')
-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) {