From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 19 15:30:17 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9620116A402 for ; Fri, 19 Jan 2007 15:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1F44C13C428 for ; Fri, 19 Jan 2007 15:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0JFUG9u055581 for ; Fri, 19 Jan 2007 15:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0JFUG06055580; Fri, 19 Jan 2007 15:30:16 GMT (envelope-from gnats) Resent-Date: Fri, 19 Jan 2007 15:30:16 GMT Resent-Message-Id: <200701191530.l0JFUG06055580@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, trasz Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8214B16A404 for ; Fri, 19 Jan 2007 15:24:55 +0000 (UTC) (envelope-from trasz@pin.if.uz.zgora.pl) Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251]) by mx1.freebsd.org (Postfix) with ESMTP id 48D6213C4BA for ; Fri, 19 Jan 2007 15:24:55 +0000 (UTC) (envelope-from trasz@pin.if.uz.zgora.pl) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id 839A739DBA; Fri, 19 Jan 2007 16:27:48 +0100 (CET) Message-Id: <20070119152748.839A739DBA@pin.if.uz.zgora.pl> Date: Fri, 19 Jan 2007 16:27:48 +0100 (CET) From: trasz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/108119: [MAINTAINER] audio/liblo: fix GUI for DSSI plugins X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 15:30:17 -0000 >Number: 108119 >Category: ports >Synopsis: [MAINTAINER] audio/liblo: fix GUI for DSSI plugins >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jan 19 15:30:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006 >Description: Fix problem that made it impossible to use GUI for DSSI modules. Added file(s): - files/patch-src-server.c Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- liblo-0.23_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/audio/liblo/Makefile /home/trasz/liblo/Makefile --- /usr/ports/audio/liblo/Makefile Tue Dec 5 00:50:54 2006 +++ /home/trasz/liblo/Makefile Fri Jan 19 16:26:20 2007 @@ -7,6 +7,7 @@ PORTNAME= liblo PORTVERSION= 0.23 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= liblo diff -ruN --exclude=CVS /usr/ports/audio/liblo/files/patch-src-server.c /home/trasz/liblo/files/patch-src-server.c --- /usr/ports/audio/liblo/files/patch-src-server.c Thu Jan 1 01:00:00 1970 +++ /home/trasz/liblo/files/patch-src-server.c Fri Jan 19 16:25:39 2007 @@ -0,0 +1,43 @@ +--- 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 @@ + + //inet_ntop(s->addr.ss_family, &s->addr.padding, hostname, sizeof(hostname)); + if (s->protocol == LO_UDP) { +- err = getnameinfo((struct sockaddr *)&s->addr, sizeof(s->addr), ++ err = getnameinfo((struct sockaddr *)&s->addr, s->addr.ss_len, + hostname, sizeof(hostname), portname, sizeof(portname), + NI_NUMERICHOST | NI_NUMERICSERV); + if (err) { +- switch (err) { +- case EAI_AGAIN: +- lo_throw(s, err, "Try again", path); +- break; +- case EAI_BADFLAGS: +- lo_throw(s, err, "Bad flags", path); +- break; +- case EAI_FAIL: +- lo_throw(s, err, "Failed", path); +- break; +- case EAI_FAMILY: +- lo_throw(s, err, "Cannot resolve address family", path); +- break; +- case EAI_MEMORY: +- lo_throw(s, err, "Out of memory", path); +- break; +- case EAI_NONAME: +- lo_throw(s, err, "Cannot resolve", path); +- break; +-#ifndef WIN32 +- case EAI_SYSTEM: +- lo_throw(s, err, strerror(err), path); +- break; +-#endif +- default: +- lo_throw(s, err, "Unknown error", path); +- break; +- } ++ lo_throw(s, err, gai_strerror(err), path); + + return; + } --- liblo-0.23_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: