Date: Thu, 8 Apr 2004 03:12:47 -0700 (PDT) From: michael johnson <ahze@ahze.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/65319: [PATCH] audio/xmms-jack -- fix build on 4.x(gcc2.95) Message-ID: <200404081012.i38ACljM046879@www.freebsd.org> Resent-Message-ID: <200404081020.i38AKFvv085010@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> -.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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404081012.i38ACljM046879>