From owner-freebsd-ports Mon Jan 13 11: 0:17 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3E5F37B407 for ; Mon, 13 Jan 2003 11:00:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 573CC43E4A for ; Mon, 13 Jan 2003 11:00:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0DJ0CNS049109 for ; Mon, 13 Jan 2003 11:00:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0DJ0CbI049108; Mon, 13 Jan 2003 11:00:12 -0800 (PST) Date: Mon, 13 Jan 2003 11:00:12 -0800 (PST) Message-Id: <200301131900.h0DJ0CbI049108@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Ulrich Spoerlein Subject: Re: ports/33082: audio/mxv fails to compile Reply-To: Ulrich Spoerlein Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/33082; it has been noted by GNATS. From: Ulrich Spoerlein To: freebsd-gnats-submit@FreeBSD.org Cc: devin@spamcop.net Subject: Re: ports/33082: audio/mxv fails to compile Date: Mon, 13 Jan 2003 19:59:19 +0100 --=.O2nLld9wf68jWF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Here is an update to the current version, which is still broken because builtin.h and String.h are missing from newer (2.9+ ??) g++ versions. I doubt this can be easily fixed, but this patch makes the distfile fetchable again, so perhaps you should commit this nevertheless... Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/mxv/Makefile,v retrieving revision 1.15 diff -u -r1.15 Makefile --- Makefile 10 Nov 2002 16:45:06 -0000 1.15 +++ Makefile 13 Jan 2003 18:46:53 -0000 @@ -6,7 +6,7 @@ # PORTNAME= mxv -PORTVERSION= 1.20 +PORTVERSION= 1.24 CATEGORIES= audio MASTER_SITES= ftp://ftp.create.ucsb.edu/pub/MixViews/source/ DISTNAME= ${PORTNAME}-v${PORTVERSION}-source @@ -15,7 +15,8 @@ BROKEN= "Does not build" -BUILD_DEPENDS= ${LOCALBASE}/interviews/bin/FREEBSD/ivmkmf:${PORTSDIR}/x11-toolkits/iv +BUILD_DEPENDS= ${LOCALBASE}/interviews/bin/FREEBSD/ivmkmf:${PORTSDIR}/x11-toolkits/iv \ + ${LOCALBASE}/include/f2c.h:${PORTSDIR}/lang/f2c NO_WRKSUBDIR= yes USE_IMAKE= yes Index: distinfo =================================================================== RCS file: /home/ncvs/ports/audio/mxv/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 14 Feb 2000 21:02:59 -0000 1.2 +++ distinfo 13 Jan 2003 18:46:53 -0000 @@ -1 +1 @@ -MD5 (mxv-v1.20-source.tar.gz) = 742a7d49d5754853ab9dcacfae91c633 +MD5 (mxv-v1.24-source.tar.gz) = a58fbcea3b3804cd66f67eaf913ce76c Index: files/patch-ai =================================================================== RCS file: /home/ncvs/ports/audio/mxv/files/patch-ai,v retrieving revision 1.2 diff -u -r1.2 patch-ai --- files/patch-ai 14 Feb 2000 21:03:03 -0000 1.2 +++ files/patch-ai 13 Jan 2003 18:46:53 -0000 @@ -1,40 +1,14 @@ -*** old/vw_converter.C Thu Jan 30 00:22:41 1997 ---- vw_converter.C Mon Jul 12 15:28:20 1999 -*************** -*** 27,33 **** ---- 27,37 ---- - #pragma implementation - #endif - -+ #ifdef __FreeBSD__ -+ #include -+ #else - #include -+ #endif - #include "localdefs.h" - #include "application.h" - #include "vw_converter.h" -*************** -*** 114,122 **** - fprintf(stderr, "setting frag size code to 0x%x\n", sizeCode); - #endif - - if (!ioctl (SNDCTL_DSP_SETFRAGMENT, (char *) &sizeCode)) - error("Unable to set fragment size."); -! else if (!ioctl(SNDCTL_DSP_SETFMT, (char *) &confirmedFormat)) - error("Unable to set sample format."); - else if(confirmedFormat != sampleFormat) - error("This sample format not supported by hardware."); ---- 118,129 ---- - fprintf(stderr, "setting frag size code to 0x%x\n", sizeCode); - #endif - -+ #ifndef __FreeBSD__ - if (!ioctl (SNDCTL_DSP_SETFRAGMENT, (char *) &sizeCode)) - error("Unable to set fragment size."); -! else -! #endif -! if (!ioctl(SNDCTL_DSP_SETFMT, (char *) &confirmedFormat)) - error("Unable to set sample format."); - else if(confirmedFormat != sampleFormat) - error("This sample format not supported by hardware."); +--- vw_converter.C.orig Sun Feb 18 04:29:16 2001 ++++ vw_converter.C Mon Jan 13 16:09:13 2003 +@@ -36,7 +36,11 @@ + #ifdef DEBUG_MIXER + #include + #endif ++#ifdef __FreeBSD__ ++#include ++#else + #include ++#endif + #include + #include "localdefs.h" + #include "application.h" --=.O2nLld9wf68jWF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+IwyLmArGtfDbn0QRAnLbAJ9UG4fTt8ZXE+u+SC0hS9HVF1jmZgCg8I2f TDPpS/SCYBpAdoMST+ryyBI= =UFnY -----END PGP SIGNATURE----- --=.O2nLld9wf68jWF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message