head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2010Q4:1.1.1.1.0.44 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.42 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.40 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.38 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.36 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.34 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.32 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.30 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.28 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.26 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.24 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.22 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.20 pkgsrc-2008Q1:1.1.1.1.0.18 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.16 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.14 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.12 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.10 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.8 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.6 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.4 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.2 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2011.03.06.16.02.51; author wiz; state dead; branches; next 1.1; 1.1 date 2006.02.11.13.06.43; author rillig; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.02.11.13.06.43; author rillig; state Exp; branches; next ; desc @@ 1.2 log @Remove GTK1 using packages for which noone spoke up for the last two weeks on pkgsrc-users in the thread "[HEADS UP] Package removal -- please check". @ text @$NetBSD: patch-ad,v 1.1 2006/02/11 13:06:43 rillig Exp $ --- src/support/widgets/gtkmplayer.c.orig 2002-12-13 11:15:21.000000000 +0000 +++ src/support/widgets/gtkmplayer.c @@@@ -30,6 +30,7 @@@@ #include #include #include +#include #include #include @@@@ -72,9 +73,9 @@@@ struct ChildContext_Tag int stderr_fd; int stdin_fd; - gchar stdout[GTK_MPLAYER_BUF_SIZE]; + gchar stdoutb[GTK_MPLAYER_BUF_SIZE]; gint stdout_size; - gchar stderr[GTK_MPLAYER_BUF_SIZE]; + gchar stderrb[GTK_MPLAYER_BUF_SIZE]; gint stderr_size; ProcessLineFunc process_line_fn; @@@@ -1049,13 +1050,13 @@@@ start_command (GtkMPlayer * player, GLis context->stdout_fd = out_fd[0]; fcntl (context->stdout_fd, F_SETFL, O_NONBLOCK); close (out_fd[1]); - context->stdout[0] = '\0'; + context->stdoutb[0] = '\0'; context->stdout_size = 0; context->stderr_fd = err_fd[0]; fcntl (context->stderr_fd, F_SETFL, O_NONBLOCK); close (err_fd[1]); - context->stderr[0] = '\0'; + context->stderrb[0] = '\0'; context->stderr_size = 0; context->stdin_fd = in_fd[1]; @@@@ -1193,7 +1194,7 @@@@ process_output (ChildContext * context) if (size > 0 && size < GTK_MPLAYER_BUF_SIZE) { - memcpy (buf, context->stderr, size); + memcpy (buf, context->stderrb, size); next = buf + size; } else @@@@ -1211,7 +1212,7 @@@@ process_output (ChildContext * context) size += MIN (GTK_MPLAYER_BUF_SIZE - 1, n); process_lines (context, buf, size, - context->stderr, &context->stderr_size, TRUE); + context->stderrb, &context->stderr_size, TRUE); } /* @@@@ -1221,7 +1222,7 @@@@ process_output (ChildContext * context) if (size > 0 && size < GTK_MPLAYER_BUF_SIZE) { - memcpy (buf, context->stdout, size); + memcpy (buf, context->stdoutb, size); next = buf + size; } else @@@@ -1240,7 +1241,7 @@@@ process_output (ChildContext * context) pos = context->player->pos; process_lines (context, buf, size, - context->stdout, &context->stdout_size, FALSE); + context->stdoutb, &context->stdout_size, FALSE); if (fabs (context->player->pos - pos) > 0.1) gtk_signal_emit (GTK_OBJECT (context->player), @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Imported pornview from pkgsrc-wip. PornView is an image and movie viewer/manager with thumbnail previews. Additional features includes thumbnail caching, directory tree views, adjustable zoom, fullscreen view, and slideshow mode. PornView contains no objectionable content. This package is built with GTK+ 1.0 support. Packaged by David Howland. @ text @@