head 1.4; access; symbols pkgsrc-2020Q1:1.3.0.52 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.74 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.70 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.68 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.66 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.64 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.62 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.60 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.58 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.56 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.54 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.50 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.48 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.46 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.44 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.42 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.40 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.38 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.36 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.34 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.32 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.30 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.28 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.26 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.24 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.22 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.20 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.18 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.16 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.14 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.12 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.10 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.8 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.4 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.2.0.44 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.42 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.40 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.38 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.36 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.34 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.32 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.30 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.28 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.26 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.24 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.22 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.18 pkgsrc-2008Q1:1.2.0.16 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.14 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.12 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.10 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.8 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.6 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.4 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.2 pkgsrc-2006Q2-base:1.2; locks; strict; comment @# @; 1.4 date 2020.04.23.14.31.12; author nia; state dead; branches; next 1.3; commitid 6FEnssUzXas7aw5C; 1.3 date 2011.05.21.17.23.10; author wiz; state Exp; branches; next 1.2; 1.2 date 2006.05.17.01.53.17; author reed; state Exp; branches; next 1.1; 1.1 date 2006.04.20.22.56.02; author wiz; state Exp; branches; next ; desc @@ 1.4 log @xvidcap: Update to 1.1.7 Unknown changes. This is a very old release and the NEWS file is empty. @ text @$NetBSD: patch-af,v 1.3 2011/05/21 17:23:10 wiz Exp $ Do not redeclare png functions. png_ptr's members are hidden now, so don't access them. XXX: this patch won't work if some bytes were already written, but why should they have been? Should be done better by upstream. --- src/mngutil.c.orig 2004-02-14 10:55:36.000000000 +0000 +++ src/mngutil.c @@@@ -30,13 +30,6 @@@@ #include #include "mngutil.h" -extern void png_write_data (png_structp png_ptr, - png_bytep data,png_size_t length); -extern void png_save_uint_32 (png_bytep buf, png_uint_32 i); -extern void png_save_uint_16 (png_bytep buf, png_uint_16 i); -extern void png_write_chunk (png_structp png_ptr, - png_bytep chunk_name, png_bytep data, png_size_t length); - png_byte mng_sig[8] = {138, 77, 78, 71, 13, 10, 26, 10}; /* @@@@ -45,9 +38,8 @@@@ png_byte mng_sig[8] = {138, 77, 78, 71, void mng_write_sig (png_structp png_ptr) { - /* write the rest of the 8 byte signature */ - png_write_data (png_ptr, &mng_sig[png_ptr->sig_bytes], - (png_size_t)8 - png_ptr->sig_bytes); + /* write the 8 byte signature */ + png_write_chunk_data (png_ptr, mng_sig, 8); } @ 1.3 log @Fix build with png-1.5; I'm not sure this will work, but at least it builds now. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2006/05/17 01:53:17 reed Exp $ @ 1.2 log @Add patch for ffmpeg update. And update patch for png update. Thank you Joerg! Bump PKREVISION for these. Also use --without-forced-embedded-ffmpeg (even though it is the default when the ffmpeg is detected). TODO: just use a common patches directory for these two packages. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2006/04/20 22:56:02 wiz Exp $ d3 6 a8 1 --- src/mngutil.c.orig 2004-02-14 11:55:36.000000000 +0100 d24 2 a25 1 @@@@ -46,7 +39,7 @@@@ void d28 1 a28 1 /* write the rest of the 8 byte signature */ d30 3 a32 2 + png_write_chunk_data (png_ptr, &mng_sig[png_ptr->sig_bytes], (png_size_t)8 - png_ptr->sig_bytes); d35 1 @ 1.1 log @Fix png part of build failure. XXX: packages still don't compile XXX: why don't these two packages share patches? @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -30,12 +30,14 @@@@ d9 8 a16 8 +#if 0 extern void png_write_data (png_structp png_ptr, png_bytep data,png_size_t length); extern void png_save_uint_32 (png_bytep buf, png_uint_32 i); extern void png_save_uint_16 (png_bytep buf, png_uint_16 i); extern void png_write_chunk (png_structp png_ptr, png_bytep chunk_name, png_bytep data, png_size_t length); +#endif d18 9 a26 1 png_byte mng_sig[8] = {138, 77, 78, 71, 13, 10, 26, 10}; @