head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.52 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.50 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.48 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.46 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.44 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.42 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.40 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.38 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.36 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.34 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.32 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.30 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.28 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.26 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.24 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.22 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.20 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.18 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.16 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.14 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.12 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.10 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.8 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.6 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.4 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.6 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.2 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.4 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2004.02.22.16.40.15; author jmmv; state dead; branches; next 1.4; 1.4 date 2002.07.26.09.17.06; author rh; state Exp; branches; next 1.3; 1.3 date 2001.08.13.18.38.55; author rh; state Exp; branches; next 1.2; 1.2 date 2000.06.01.17.18.01; author rh; state Exp; branches; next 1.1; 1.1 date 99.08.30.08.41.44; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.08.30.08.41.44; author rh; state Exp; branches; next ; desc @@ 1.5 log @Moved to the multimedia category. @ text @$NetBSD: patch-ac,v 1.4 2002/07/26 09:17:06 rh Exp $ --- gmix/gmix.c.orig Mon Jun 11 19:50:47 2001 +++ gmix/gmix.c @@@@ -55,7 +55,9 @@@@ #ifdef ALSA #include #else -#ifdef HAVE_LINUX_SOUNDCARD_H +#ifdef HAVE_SOUNDCARD_H +#include +#elif defined(HAVE_LINUX_SOUNDCARD_H) #include #else #include @@@@ -538,12 +547,16 @@@@ /* * mixer-name */ +#ifdef HAVE_MIXER_INFO res=ioctl(new_device->fd, SOUND_MIXER_INFO, &new_device->info); if (res!=0) { g_free(new_device); return NULL; } if(!isalpha(new_device->info.name[0])) +#else + g_snprintf(new_device->info.id, 31, "%d", num+1); +#endif g_snprintf(new_device->info.name, 31, "Card %d", num+1); /* * several bitmasks describing the mixer @ 1.4 log @On systems that don't have a mixer_info, define it in gmix.h, not gmix.c This fixes building under NetBSD-1.4.x Bump PKGREVISION Closes PR pkg/15908 by Olaf Seibert. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2001/08/13 18:38:55 rh Exp $ @ 1.3 log @Update gnome-media to 1.2.3. Relevant changes include bugfixes and better font handling. @ text @d1 1 a1 1 $NetBSD$ a15 14 @@@@ -106,6 +108,13 @@@@ GtkWidget *app; GtkWidget *slidernotebook; +#if !defined(HAVE_MIXER_INFO) && !defined(SOUND_MIXER_INFO) +typedef struct { + char id[20]; + char name[40]; +} mixer_info; +#endif + /* Menus */ static GnomeUIInfo help_menu[] = { GNOMEUIINFO_ITEM_STOCK(N_("Help"), NULL, help, GNOME_STOCK_PIXMAP_HELP), @ 1.2 log @Update gnome-media to 1.2.0. Changes include bugfixes and a new utility, grecord. @ text @d3 3 a5 3 --- gmix/gmix.c.orig Sun May 21 22:12:50 2000 +++ gmix/gmix.c Thu Jun 1 18:55:00 2000 @@@@ -56,7 +56,9 @@@@ d16 2 a17 2 @@@@ -90,6 +92,13 @@@@ GtkWidget *configwin; d27 4 a30 4 typedef struct { gboolean set_mixer_on_start; gboolean hide_menu; @@@@ -697,12 +706,16 @@@@ @ 1.1 log @Initial revision @ text @d3 6 a8 6 --- gmix/gmix.c.orig Thu Apr 8 21:40:37 1999 +++ gmix/gmix.c Mon Aug 30 09:38:18 1999 @@@@ -46,7 +46,9 @@@@ #include #include #include d16 3 a18 3 @@@@ -67,6 +69,13 @@@@ void init_devices(void); void open_dialog(void); d20 1 a20 1 +#ifndef HAVE_MIXER_INFO d27 4 a30 4 /* * Gnome info: */ @@@@ -294,12 +303,16 @@@@ @ 1.1.1.1 log @Initial import of gnome-media-1.0.9.1, a set of audio/multimedia applications for GNOME. @ text @@