From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 16 18:10:11 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B62416A4CE for ; Mon, 16 May 2005 18:10:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68EEE43D5A for ; Mon, 16 May 2005 18:10:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4GIA6sG011916 for ; Mon, 16 May 2005 18:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4GIA6HF011915; Mon, 16 May 2005 18:10:06 GMT (envelope-from gnats) Resent-Date: Mon, 16 May 2005 18:10:06 GMT Resent-Message-Id: <200505161810.j4GIA6HF011915@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, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E889A16A4EF for ; Mon, 16 May 2005 18:01:01 +0000 (GMT) Received: from hfep07.dion.ne.jp (hfep07.dion.ne.jp [203.181.105.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2148F43DA7 for ; Mon, 16 May 2005 18:01:00 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([61.198.243.18]) by hfep07.dion.ne.jp with SMTP id <20050516180049544.EPAZ@hfep07.dion.ne.jp> for ; Tue, 17 May 2005 03:00:49 +0900 Message-Id: <20050517030010.1f407974.tkato432@yahoo.com> Date: Tue, 17 May 2005 03:00:10 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/81120: Update port: devel/libopendaap to 0.4.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 18:10:11 -0000 >Number: 81120 >Category: ports >Synopsis: Update port: devel/libopendaap to 0.4.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 16 18:10:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p7 i386 >Organization: >Environment: >Description: - Update to version 0.4.0 New file: files/patch-client.c files/patch-ioloop.c files/patch-threadpool.c Remove file: files/patch-mDNS-mDNSClientAPI.h >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/libopendaap/Makefile devel/libopendaap/Makefile --- /usr/ports/devel/libopendaap/Makefile Wed Feb 9 23:02:53 2005 +++ devel/libopendaap/Makefile Mon May 16 19:58:56 2005 @@ -6,8 +6,7 @@ # PORTNAME= libopendaap -PORTVERSION= 0.3.0 -PORTREVISION= 1 +PORTVERSION= 0.4.0 CATEGORIES= devel net MASTER_SITES= http://craz.net/programs/itunes/files/ @@ -15,25 +14,16 @@ COMMENT= C lib used to connect to iTunes(R) music shares USE_BZIP2= yes -USE_REINPLACE= yes USE_GNOME= gnomehack gnometarget pkgconfig -USE_INC_LIBTOOL_VER=15 -USE_GCC= 3.4 -MAN3= libopendaap.3 - -CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" - +USE_REINPLACE= yes +USE_LIBTOOL_VER= 15 INSTALLS_SHLIB= yes -pre-configure: -# Broken libtool fix - @cd ${WRKSRC} && \ - ${LIBTOOLIZE} --force +MAN3= libopendaap.3 post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \ - ${WRKSRC}/Makefile.am \ - ${WRKSRC}/Makefile.in \ - ${WRKSRC}/opendaap.pc.in +.for file in Makefile.in opendaap.pc.in + @${REINPLACE_CMD} -e 's|-lpthread||g' ${WRKSRC}/${file} +.endfor .include diff -urN /usr/ports/devel/libopendaap/distinfo devel/libopendaap/distinfo --- /usr/ports/devel/libopendaap/distinfo Thu Feb 3 19:53:33 2005 +++ devel/libopendaap/distinfo Mon May 16 19:14:12 2005 @@ -1,2 +1,2 @@ -MD5 (libopendaap-0.3.0.tar.bz2) = a722ee6171f946a1f415d7c4d88f150a -SIZE (libopendaap-0.3.0.tar.bz2) = 365682 +MD5 (libopendaap-0.4.0.tar.bz2) = 4edf92ac18c6ab8c05be7a4eb64a8a8d +SIZE (libopendaap-0.4.0.tar.bz2) = 241953 diff -urN /usr/ports/devel/libopendaap/files/patch-client.c devel/libopendaap/files/patch-client.c --- /usr/ports/devel/libopendaap/files/patch-client.c Thu Jan 1 09:00:00 1970 +++ devel/libopendaap/files/patch-client.c Mon May 16 19:20:19 2005 @@ -0,0 +1,28 @@ +--- client.c.orig Thu May 12 15:46:29 2005 ++++ client.c Mon May 16 19:20:04 2005 +@@ -1380,10 +1380,10 @@ + + HTTP_Connection *http_connection; + +- if (strlen(songformat) > 4) return -1; +- + HTTP_GetResult *httpRes; + ++ if (strlen(songformat) > 4) return -1; ++ + if (pCHThis->version_major != 3) + { + buf = safe_sprintf(songUrl_42, databaseid, songid, songformat, +@@ -1643,10 +1643,11 @@ + static void AsyncWaitUpdate(void *pv_pCHThis, void *unused) + { + DAAP_SClientHost *pCHThis = (DAAP_SClientHost*)pv_pCHThis; +- TRACE("()\n"); + char hash[33] = {0}; + char updateUrl[] = "/update?session-id=%i&revision-number=%i&delta=%i"; + char *buf; ++ ++ TRACE("()\n"); + + buf = safe_sprintf(updateUrl, pCHThis->sessionid, pCHThis->revision_number, + pCHThis->revision_number); diff -urN /usr/ports/devel/libopendaap/files/patch-ioloop.c devel/libopendaap/files/patch-ioloop.c --- /usr/ports/devel/libopendaap/files/patch-ioloop.c Thu Jan 1 09:00:00 1970 +++ devel/libopendaap/files/patch-ioloop.c Mon May 16 19:24:35 2005 @@ -0,0 +1,13 @@ +--- ioloop.c.orig Tue Dec 14 13:39:31 2004 ++++ ioloop.c Mon May 16 19:24:20 2005 +@@ -113,9 +113,9 @@ + + void fd_event_reset(fd_event *event) + { +- event->signalled = 0; + char buf[1] = {0}; + int flags; ++ event->signalled = 0; + + /* set non-blocking on read pipe */ + flags = fcntl(event->pipe[0], F_GETFL, 0); diff -urN /usr/ports/devel/libopendaap/files/patch-mDNS-mDNSClientAPI.h devel/libopendaap/files/patch-mDNS-mDNSClientAPI.h --- /usr/ports/devel/libopendaap/files/patch-mDNS-mDNSClientAPI.h Thu Mar 18 07:53:11 2004 +++ devel/libopendaap/files/patch-mDNS-mDNSClientAPI.h Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- mDNS/mDNSClientAPI.h.orig Wed Mar 17 23:45:20 2004 -+++ mDNS/mDNSClientAPI.h Wed Mar 17 23:45:36 2004 -@@ -480,8 +480,8 @@ - typedef unsigned char mDNSu8; - typedef signed short mDNSs16; - typedef unsigned short mDNSu16; --typedef signed long mDNSs32; --typedef unsigned long mDNSu32; -+typedef signed int mDNSs32; -+typedef unsigned int mDNSu32; - - // To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct - // This way, mDNSInterfaceIDs can be assigned, and compared with each other, but not with other types diff -urN /usr/ports/devel/libopendaap/files/patch-threadpool.c devel/libopendaap/files/patch-threadpool.c --- /usr/ports/devel/libopendaap/files/patch-threadpool.c Thu Jan 1 09:00:00 1970 +++ devel/libopendaap/files/patch-threadpool.c Mon May 16 19:23:47 2005 @@ -0,0 +1,14 @@ +--- threadpool.c.orig Tue Dec 14 13:56:23 2004 ++++ threadpool.c Mon May 16 19:23:22 2005 +@@ -279,9 +279,9 @@ + void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis, CP_TPfnJob pfnCallback, + void *arg1, void *arg2) + { +- ts_mutex_lock(pTPThis->mtJobQueueMutex); +- + CP_STPJobQueue *pTPJQNewJob = malloc(sizeof(CP_STPJobQueue)); ++ ++ ts_mutex_lock(pTPThis->mtJobQueueMutex); + + pTPJQNewJob->fnJobCallback = pfnCallback; + pTPJQNewJob->arg1 = arg1; >Release-Note: >Audit-Trail: >Unformatted: