When attempting to build the audio/mxv port, the following output is generated: glass# pwd /usr/ports/audio/mxv glass# make ===> Extracting for mxv-1.20 Fix: unknown How-To-Repeat: cd /usr/ports/audio/mxv; make
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 <machine/soundcard.h> -+ #else - #include <sys/soundcard.h> -+ #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 <string.h> + #endif ++#ifdef __FreeBSD__ ++#include <machine/soundcard.h> ++#else + #include <sys/soundcard.h> ++#endif + #include <String.h> + #include "localdefs.h" + #include "application.h"
Responsible Changed From-To: freebsd-ports-bugs->gerald I'll have a look.
Responsible Changed From-To: gerald->freebsd-ports-bugs Thanks, Ulrich. Based on your patch to update to 1.24, I updated the port to 1.25. The two missing headers (builtin.h and String.h) came from libg++ which was deprecated and mostly unmaintained way before GCC 3.0; this problem probably needs to be fixed upstream.
State Changed From-To: open->closed The port was upgraded to a newer version, but still fails to build. More patching is needed.