From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 8 03:20:16 2004 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 E7C3916A4D4 for ; Thu, 8 Apr 2004 03:20:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C738643D5F for ; Thu, 8 Apr 2004 03:20:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i38AKFbv085011 for ; Thu, 8 Apr 2004 03:20:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i38AKFvv085010; Thu, 8 Apr 2004 03:20:15 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 8 Apr 2004 03:20:15 -0700 (PDT) Resent-Message-Id: <200404081020.i38AKFvv085010@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, michael johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18C6E16A4CE for ; Thu, 8 Apr 2004 03:12:48 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1233043D5E for ; Thu, 8 Apr 2004 03:12:48 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i38ACl72046948 for ; Thu, 8 Apr 2004 03:12:47 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i38ACljM046879; Thu, 8 Apr 2004 03:12:47 -0700 (PDT) (envelope-from nobody) Message-Id: <200404081012.i38ACljM046879@www.freebsd.org> Date: Thu, 8 Apr 2004 03:12:47 -0700 (PDT) From: michael johnson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/65319: [PATCH] audio/xmms-jack -- fix build on 4.x(gcc2.95) 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: Thu, 08 Apr 2004 10:20:16 -0000 >Number: 65319 >Category: ports >Synopsis: [PATCH] audio/xmms-jack -- fix build on 4.x(gcc2.95) >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: Thu Apr 08 03:20:15 PDT 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: >Organization: >Environment: >Description: - fix build with gcc2.95 >How-To-Repeat: >Fix: diff -ruN xmms-jack.orig/Makefile xmms-jack/Makefile --- xmms-jack.orig/Makefile Wed Apr 7 17:45:33 2004 +++ xmms-jack/Makefile Thu Apr 8 06:11:44 2004 @@ -33,10 +33,6 @@ .include -.if ${OSVERSION} <= 500000 -BROKEN= "Does not compile" -.endif - post-patch: @${RM} -rf ${WRKSRC}/.libs @${RM} -rf ${WRKSRC}/autom4te.cache diff -ruN xmms-jack.orig/files/patch-bio2jack.c xmms-jack/files/patch-bio2jack.c --- xmms-jack.orig/files/patch-bio2jack.c Wed Dec 31 19:00:00 1969 +++ xmms-jack/files/patch-bio2jack.c Thu Apr 8 06:08:25 2004 @@ -0,0 +1,19 @@ +--- bio2jack.c.orig Thu Apr 8 10:03:08 2004 ++++ bio2jack.c Thu Apr 8 10:07:28 2004 +@@ -585,6 +585,7 @@ + /* and transition to STOPPED */ + if(this->state == RESET) + { ++ wave_header_t *wh; + this->written_client_bytes = 0; + this->played_client_bytes = 0; /* number of the clients bytes that jack has played */ + +@@ -598,7 +599,7 @@ + /* free up all of the buffers of audio that are queued */ + /* NOTE: this needs to be done inside of the callback because */ + /* the callback could be using any of these buffers */ +- wave_header_t *wh = this->pPlayPtr; ++ wh = this->pPlayPtr; + while(wh) + { + wh = wh->pNext; >Release-Note: >Audit-Trail: >Unformatted: