Re: [ecasound] specifics of the FreeBSD port

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] specifics of the FreeBSD port
From: Kai Vehmanen (
Date: Mon Nov 26 2001 - 02:09:25 EET

On Tue, 20 Nov 2001, The Anarcat wrote:

> Please note that ecasound now needs 2 new patches to compile properly on
> FreeBSD, the first:
> +++ libecasound/audioio-wave.h Mon Nov 19 14:02:55 2001
> +/* #include <stdint.h> */
> #include <sys/types.h>
> is strange. I do not know what this header (stdint) is, but it's not on
> FreeBSD. Ecasound compiles fine without it. This should probably be:

stdint.h is part of the new C-language standard (C99). The original C89
standard specifies 15 standard headers, C95 adds three more and the C99
yet more six. stdint.h is one of these six. Previously there was no
platform indepedent way to declare explicit-length variables like
uint32_t, etc. On most (?) Unix/POSIX systems these are declared in
<sys/types.h> and that's why the above works on FreeBSD.

> #ifdef HAVE_STDINT_H
> #include <stdint.h>
> #endif

Yup, this is probably the best fix. I'll commit this to CVS.

> The second patch is to have ecawave working again on FreeBSD. It makes
> more debugging info available and removes a check on group ownership:

It seems that I have already made this change in both ecasound-2.0
and 2.1 CVS-trees. So 'st_gid == getegid()' is not enforced anymore.

> Note: ecawave needs some configure hacks to detect FreeBSD's Qt2
> properly and an installed ecasound. In other words:
> LDFLAGS="-L${LOCALBASE}/lib -lqt2 ${LDFLAGS}" \
> CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \

Is this handled similarly for other freebsd-ports of Qt2 apps (ie. no need
to change anything in ecawave ;))?

 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <>.

New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Nov 26 2001 - 02:02:33 EET