gnomemedia2 broken

Joe Marcus Clarke marcus at marcuscom.com
Sat Aug 16 12:23:22 PDT 2003


On Sat, 2003-08-16 at 12:20, Shin-ichi Yoshimoto wrote:
> audio/gnomemedia2 broken 
> 
> [snip]
> In file included from gmix.c:72:
> gmix.h:31: error: redefinition of `struct mixer_info'
> gmix.h:36: error: redefinition of `mixer_info'
> /usr/include/sys/soundcard.h:1082: error: `mixer_info' previously 
> declared here
> gmake[3]: *** [gmix.o] Error 1
> gmake[3]: Leaving directory 
> `/usr/ports/audio/gnomemedia2/work/gnome-media-2.2.2/gmix'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory 
> `/usr/ports/audio/gnomemedia2/work/gnome-media-2.2.2/gmix'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/audio/gnomemedia2/work/gnome-media-2.2.2'
> gmake: *** [all-recursive-am] Error 2
> *** Error code 2
> 
> because src/sys/sys/soundcard.h added "struct mixer_info" in Revision 
> 1.42.
> We need following patch after soundcard.h Revision 1.42.

Actually, we need a little more since this will break -STABLE and older
versions of -CURRENT.  Thanks for the patch and the heads up.

Joe

> 
> --- gmix/gmix.h.orig    Sun Aug 17 01:04:41 2003
> +++ gmix/gmix.h Sun Aug 17 01:05:20 2003
> @@ -25,7 +25,7 @@
>   */
>  #define GMIX_VERSION 0x030000
>  
> -#if defined(ALSA) || defined(__FreeBSD__)
> +#if defined(ALSA)
>  /* stolen from OSS's soundcard.h */
>  typedef struct mixer_info
>  {
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030816/ff1b44d4/attachment.bin


More information about the freebsd-gnome mailing list