head 1.2; access; symbols pkgsrc-2019Q3:1.1.1.1.0.84 pkgsrc-2019Q3-base:1.1.1.1 pkgsrc-2019Q2:1.1.1.1.0.82 pkgsrc-2019Q2-base:1.1.1.1 pkgsrc-2019Q1:1.1.1.1.0.80 pkgsrc-2019Q1-base:1.1.1.1 pkgsrc-2018Q4:1.1.1.1.0.78 pkgsrc-2018Q4-base:1.1.1.1 pkgsrc-2018Q3:1.1.1.1.0.76 pkgsrc-2018Q3-base:1.1.1.1 pkgsrc-2018Q2:1.1.1.1.0.74 pkgsrc-2018Q2-base:1.1.1.1 pkgsrc-2018Q1:1.1.1.1.0.72 pkgsrc-2018Q1-base:1.1.1.1 pkgsrc-2017Q4:1.1.1.1.0.70 pkgsrc-2017Q4-base:1.1.1.1 pkgsrc-2017Q3:1.1.1.1.0.68 pkgsrc-2017Q3-base:1.1.1.1 pkgsrc-2017Q2:1.1.1.1.0.64 pkgsrc-2017Q2-base:1.1.1.1 pkgsrc-2017Q1:1.1.1.1.0.62 pkgsrc-2017Q1-base:1.1.1.1 pkgsrc-2016Q4:1.1.1.1.0.60 pkgsrc-2016Q4-base:1.1.1.1 pkgsrc-2016Q3:1.1.1.1.0.58 pkgsrc-2016Q3-base:1.1.1.1 pkgsrc-2016Q2:1.1.1.1.0.56 pkgsrc-2016Q2-base:1.1.1.1 pkgsrc-2016Q1:1.1.1.1.0.54 pkgsrc-2016Q1-base:1.1.1.1 pkgsrc-2015Q4:1.1.1.1.0.52 pkgsrc-2015Q4-base:1.1.1.1 pkgsrc-2015Q3:1.1.1.1.0.50 pkgsrc-2015Q3-base:1.1.1.1 pkgsrc-2015Q2:1.1.1.1.0.48 pkgsrc-2015Q2-base:1.1.1.1 pkgsrc-2015Q1:1.1.1.1.0.46 pkgsrc-2015Q1-base:1.1.1.1 pkgsrc-2014Q4:1.1.1.1.0.44 pkgsrc-2014Q4-base:1.1.1.1 pkgsrc-2014Q3:1.1.1.1.0.42 pkgsrc-2014Q3-base:1.1.1.1 pkgsrc-2014Q2:1.1.1.1.0.40 pkgsrc-2014Q2-base:1.1.1.1 pkgsrc-2014Q1:1.1.1.1.0.38 pkgsrc-2014Q1-base:1.1.1.1 pkgsrc-2013Q4:1.1.1.1.0.36 pkgsrc-2013Q4-base:1.1.1.1 pkgsrc-2013Q3:1.1.1.1.0.34 pkgsrc-2013Q3-base:1.1.1.1 pkgsrc-2013Q2:1.1.1.1.0.32 pkgsrc-2013Q2-base:1.1.1.1 pkgsrc-2013Q1:1.1.1.1.0.30 pkgsrc-2013Q1-base:1.1.1.1 pkgsrc-2012Q4:1.1.1.1.0.28 pkgsrc-2012Q4-base:1.1.1.1 pkgsrc-2012Q3:1.1.1.1.0.26 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.24 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.22 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.20 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.18 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.16 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.14 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.12 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.10 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.8 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.6 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.4 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.2 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-20090910:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2019.10.16.11.20.31; author nia; state dead; branches; next 1.1; commitid UE5WJnTIJj9ye5HB; 1.1 date 2009.09.10.20.16.45; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.09.10.20.16.45; author wiz; state Exp; branches; next ; desc @@ 1.2 log @Remove audio/buzztard @ text @$NetBSD: patch-aa,v 1.1 2009/09/10 20:16:45 wiz Exp $ --- src/lib/ic/input-device.c.orig 2008-08-11 16:59:42.000000000 +0000 +++ src/lib/ic/input-device.c @@@@ -44,7 +44,9 @@@@ #include #include #include +#ifdef __Linux__ #include +#endif enum { DEVICE_DEVNODE=1 @@@@ -70,6 +72,7 @@@@ static GObjectClass *parent_class=NULL; #define test_bit(bit, array) (array[bit>>3] & (1<<(bit&0x7))) static gboolean register_trigger_controls(const BtIcInputDevice * const self,int fd) { +#ifdef __Linux__ BtIcTriggerControl *control; guint ix; guint8 key_bitmask[KEY_MAX/8 + 1]; @@@@ -152,10 +155,12 @@@@ static gboolean register_trigger_control } } } +#endif return(TRUE); } static gboolean register_abs_range_controls(const BtIcInputDevice * const self,int fd) { +#ifdef __Linux__ BtIcAbsRangeControl *control; guint ix; guint8 abs_bitmask[ABS_MAX/8 + 1]; @@@@ -220,10 +225,12 @@@@ static gboolean register_abs_range_contr } } // create controller instances and register them +#endif return(TRUE); } static gboolean register_controls(const BtIcInputDevice * const self) { +#ifdef __Linux__ int fd; guint ix; guint8 evtype_bitmask[EV_MAX/8 + 1]; @@@@ -280,12 +287,14 @@@@ static gboolean register_controls(const } close(fd); +#endif return(TRUE); } //-- handler static gboolean io_handler(GIOChannel *channel,GIOCondition condition,gpointer user_data) { +#ifdef __Linux__ BtIcInputDevice *self=BTIC_INPUT_DEVICE(user_data); BtIcControl *control; GError *error=NULL; @@@@ -326,6 +335,9 @@@@ static gboolean io_handler(GIOChannel *c self->priv->io_source=-1; } return(res); +#else + return(FALSE); +#endif } //-- constructor methods @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of buzztard-0.5.0 and its components. Buzztard is a music composer similar to tracker applications. It is roughly modeled after the windows only, closed source and now discontinued application called Buzz. @ text @@