head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.128 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.126 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.124 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.122 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.120 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.118 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.116 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.114 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.112 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.110 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.108 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.106 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.104 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.102 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.100 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.98 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.96 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.94 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.92 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.90 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.88 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.86 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.84 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.80 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.60 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.82 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.78 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.76 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.74 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.72 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.70 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.68 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.66 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.64 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.62 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.58 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.56 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.54 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.52 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.50 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.48 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.46 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.44 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.42 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.40 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.38 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.36 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.34 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.32 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.30 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.28 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.26 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.24 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.22 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.20 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.18 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.16 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.14 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.12 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.10 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.8 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.6 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.4 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.2 pkgsrc-2010Q2-base:1.4 pkgsrc-2009Q4:1.3.0.20 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.18 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.16 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.14 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.12 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.28 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.26 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.24 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.22 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.20 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.18 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.16 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.14 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.12 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.10 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.8 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.6 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.4 date 2010.06.19.13.29.23; author wiz; state Exp; branches; next 1.3; 1.3 date 2007.01.26.01.26.46; author markd; state dead; branches; next 1.2; 1.2 date 2003.01.10.04.30.19; author rh; state Exp; branches; next 1.1; 1.1 date 2001.08.09.08.49.47; author dillo; state Exp; branches; next ; desc @@ 1.4 log @Fix build with png-1.4.x. @ text @$NetBSD$ --- src/pilot-read-palmpix.c.orig 2009-06-04 13:26:19.000000000 +0000 +++ src/pilot-read-palmpix.c @@@@ -42,10 +42,6 @@@@ #ifdef HAVE_PNG #include "png.h" -#if (PNG_LIBPNG_VER < 10201) - #define png_voidp_NULL (png_voidp)NULL - #define png_error_ptr_NULL (png_error_ptr)NULL -#endif #endif const char *progname; @@@@ -223,8 +219,8 @@@@ void write_png( FILE *f, const struct Pa png_infop info_ptr; png_ptr = png_create_write_struct - ( PNG_LIBPNG_VER_STRING, png_voidp_NULL, - png_error_ptr_NULL, png_error_ptr_NULL); + ( PNG_LIBPNG_VER_STRING, NULL, + NULL, NULL); if(!png_ptr) return; @ 1.3 log @Update pilot-link-libs, pilot-link, p5-pilot-link to 0.12.1 pilot-link v0.12.1 There isn't much "new" in this release, just some rapid-fire bug fixes reported from users and a lot of code has been cleaned up in the tree to remove unnecessary includes. * Code cleanup in libpisock, libpisync, src and include * Fixed the installation faux pas with udev rules, oops! pilot-link v0.12.0 pilot-link 0.12.0 "Trois ans" ("Three Years") is now official. There have been so many changes in this release and I can't remember them all, but here's the short list: * Many of the userland binaries now have new names, to avoid some potential namespace collisions (dlpsh is now pilot-dlpsh for example, memos is now pilot-memos). If you use scripts which call these applications, you may have to make minor changes to accomodate the new naming scheme. * Documentation is now in DocBook XML, and manpages are dynamically generated from that source. Other docs are much more detailed, and there are quite a few README files that have been added to help. * Direct libusb support! This is one of the most monumental features in 0.12.0, and should help those who have trouble using the kernel's visor driver in Linux with their device. Now you can get a healthy 300% to 600% speedup in sync times, depending on your Palm's processor speed. See doc/README.libusb for details. Thanks go to Zephania Hull for working out how to get native libusb working with pilot-link. * Native support for Mac OS X. You can now just download the tarball and build it directly on Mac OS X machines, and it will just run. Thanks go to Florent Pillet for his tireless work in getting this all working efficiently and for squashing countless bugs in the libraries along the way. * So many other fixes, additions, features and new things to count. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2003/01/10 04:30:19 rh Exp $ d3 10 a12 13 --- libpisock/unixserial.c.orig Tue Dec 3 00:32:47 2002 +++ libpisock/unixserial.c @@@@ -178,13 +178,23 @@@@ s_open(struct pi_socket *ps, struct pi_s i; char *tty = addr->pi_device; struct pi_serial_data *data = (struct pi_serial_data *)ps->device->data; +#define maxretries 100 + int retries; #ifndef SGTTY struct termios tcn; #else struct sgttyb tcn; a13 12 - if ((fd = open(tty, O_RDWR | O_NONBLOCK)) == -1) { + + for (retries = 0 ; retries <= maxretries ; retries++ ) { + if ((fd = open(tty, O_RDWR | O_NONBLOCK)) != -1) { + break; + } + usleep(50000); + } + + if (fd == -1) { return -1; /* errno already set */ } d15 12 @ 1.2 log @Update pilot-link packages to 0.11.7. Changes are too numerous to list here. They include * tons of bug fixes, * USB support, * C++ support, * restructured libraries; and * tons of other new features. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add patch provided by Bernd Sieker to retry opening tty. This allows pilot-links to work with newer Handspring devices (they have a *very* short timeout). Version of pilot-link-libs bumped to 0.9.5nb1. @ text @d3 6 a8 9 --- libsock/unixserial.c.orig Mon Aug 6 11:39:00 2001 +++ libsock/unixserial.c Mon Aug 6 11:42:01 2001 @@@@ -156,6 +156,13 @@@@ int i; + /* Here we need a workaround for NetBSD USB device used with newer + Handspring devices (namely Platinum, Prism and Edge) */ + d10 2 a11 3 + int retries; + int rc; + d15 3 a17 4 @@@@ -166,6 +173,15 @@@@ tty = getenv("PILOTPORT"); if (!tty) tty = ""; d20 4 a23 6 + if ((rc = open(tty, O_RDWR | O_NONBLOCK)) == -1) { + usleep(50000); + } else { + ps->mac->fd = rc; + break; + } d25 4 a29 2 if ((ps->mac->fd = open(tty, O_RDWR | O_NONBLOCK)) == -1) { return -1; /* errno already set */ @