head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.2.0.14 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.12 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.10 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.8 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.6 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.4 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.2 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.1.0.26 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.24 pkgsrc-2008Q1:1.1.0.22 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.20 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.18 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.16 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.14 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.12 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.10 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.8 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.6 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.4 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.2; locks; strict; comment @# @; 1.3 date 2010.03.14.14.19.19; author martin; state dead; branches; next 1.2; 1.2 date 2008.08.20.22.17.30; author martin; state Exp; branches; next 1.1; 1.1 date 2005.10.03.15.17.14; author joerg; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2005.10.03.15.17.14; author salo; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.10.03.19.00.34; author salo; state Exp; branches; next ; desc @@ 1.3 log @Update mpg123 to version 1.10.1. Thanks to for answering lots of stupid questions and general guidance. @ text @$NetBSD: patch-av,v 1.2 2008/08/20 22:17:30 martin Exp $ --- xfermem.c.orig 1999-05-27 20:41:10.000000000 +0200 +++ xfermem.c 2008-08-20 16:04:32.000000000 +0200 @@@@ -32,8 +32,6 @@@@ #include #endif -extern int errno; - #if defined (USE_MMAP) && defined(MAP_ANONYMOUS) && !defined(MAP_ANON) #define MAP_ANON MAP_ANONYMOUS #endif @@@@ -180,6 +178,15 @@@@ if (FD_ISSET(fd, &selfds)) switch (read(fd, &cmd, 1)) { case 0: /* EOF */ + /* + * We should not check + * errno later on in + * this case, but we + * have to return an + * error code, so it + * will happen. + */ + errno = 0; return (-1); case -1: if (errno == EINTR) @ 1.2 log @Improve error handling for broken input streams and make the backend deal with a dying frontend. Fixes PR pkg/39378. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Correct usage of errno and ctype macros. The former is wrong when thread linking is active, the latter can result in segfaults. Bump revisions of mpg123, mpg123-esound and mpg123-nas for the ctype bugfix. @ text @d3 2 a4 2 --- xfermem.c.orig 2005-07-23 23:42:59.000000000 +0000 +++ xfermem.c d14 16 @ 1.1.2.1 log @file patch-av was added on branch pkgsrc-2005Q3 on 2005-10-03 15:17:14 +0000 @ text @d1 13 @ 1.1.2.2 log @Pullup ticket 798 - requested by Joerg Sonnenberger bugfixes for mpg123 Revisions pulled up: - pkgsrc/audio/mpg123/Makefile 1.40 - pkgsrc/audio/mpg123/distinfo 1.24 - pkgsrc/audio/mpg123-esound/Makefile 1.12 - pkgsrc/audio/mpg123-nas/Makefile 1.13 - pkgsrc/audio/mpg123/patches/patch-aq 1.3 - pkgsrc/audio/mpg123/patches/patch-av 1.1 - pkgsrc/audio/mpg123/patches/patch-aw 1.1 Module Name: pkgsrc Committed By: joerg Date: Mon Oct 3 15:17:14 UTC 2005 Modified Files: pkgsrc/audio/mpg123: Makefile distinfo pkgsrc/audio/mpg123-esound: Makefile pkgsrc/audio/mpg123-nas: Makefile pkgsrc/audio/mpg123/patches: patch-aq Added Files: pkgsrc/audio/mpg123/patches: patch-av patch-aw Log Message: Correct usage of errno and ctype macros. The former is wrong when thread linking is active, the latter can result in segfaults. Bump revisions of mpg123, mpg123-esound and mpg123-nas for the ctype bugfix. @ text @a0 13 $NetBSD: patch-av,v 1.1.2.1 2005/10/03 19:00:34 salo Exp $ --- xfermem.c.orig 2005-07-23 23:42:59.000000000 +0000 +++ xfermem.c @@@@ -32,8 +32,6 @@@@ #include #endif -extern int errno; - #if defined (USE_MMAP) && defined(MAP_ANONYMOUS) && !defined(MAP_ANON) #define MAP_ANON MAP_ANONYMOUS #endif @