head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.82 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.80 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.78 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.76 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.74 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.72 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.70 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.68 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.66 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.64 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.62 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.60 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.58 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.56 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.54 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.52 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.50 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.48 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.46 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.44 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.42 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.40 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.38 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.34 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.14 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.36 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.32 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.30 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.28 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.26 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.24 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.22 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.20 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.18 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.16 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.12 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.10 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.8 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.6 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.4 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.2 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.6.0.84 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.82 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.80 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.78 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.76 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.74 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.72 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.70 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.68 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.66 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.64 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.62 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.60 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.58 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.56 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.54 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.52 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.50 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.48 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.46 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.44 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.42 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.40 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.38 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.36 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.34 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.32 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.30 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.28 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.26 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.24 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.22 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.20 pkgsrc-2008Q1:1.6.0.18 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.16 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.14 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.12 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.10 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.8 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.6 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.5.0.18 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.16 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.14 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.12 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.10 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.8 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.7 date 2015.12.29.23.34.48; author dholland; state Exp; branches; next 1.6; commitid J5mAcuIF0darSTOy; 1.6 date 2006.03.19.15.57.36; author joerg; state Exp; branches; next 1.5; 1.5 date 2003.03.24.12.12.10; author jtb; state dead; branches; next 1.4; 1.4 date 2001.06.25.18.00.17; author jtb; state Exp; branches; next 1.3; 1.3 date 2000.06.19.15.56.28; author pooka; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.09.10; author agc; state Exp; branches; next 1.1; 1.1 date 98.06.27.22.03.43; author tron; state Exp; branches; next ; desc @@ 1.7 log @Add patch comments. @ text @$NetBSD: patch-ay,v 1.6 2006/03/19 15:57:36 joerg Exp $ Support Dragonfly. --- ipl/cfuncs/fpoll.c.orig 2006-03-19 15:06:16.000000000 +0000 +++ ipl/cfuncs/fpoll.c @@@@ -65,6 +65,9 @@@@ int fpoll(int argc, descriptor *argv) /* #elif defined(__GLIBC__) /* old GCC library */ if (f->__bufp < f->__get_limit) RetArg(1); +#elif defined(__DragonFly__) + if (((struct __FILE_public *)f)->_r > 0) + RetArg(1); #elif defined(_FSTDIO) /* new BSD library */ if (f->_r > 0) RetArg(1); @ 1.6 log @DragonFly support. @ text @d1 3 a3 1 $NetBSD$ @ 1.5 log @Update of icon to 9.4.1. Changes: * Support for NetBSD on PowerPC based systems. * An Icon source file can be made executable under Unix by prefixing it with a comment line #!/usr/bin/env icon and setting its execute permission bit. This uses a new icon command, which in another form allows a small Icon program to be embedded within a shell script. See the new man page for details. The traditional icont command remains available for less specialized purposes. * The performance of large sets and tables has been improved. * Some minor bugs have been fixed. @ text @d1 1 a1 1 $NetBSD: patch-ay,v 1.4 2001/06/25 18:00:17 jtb Exp $ d3 12 a14 6 --- /dev/null Mon Jun 25 14:20:42 2001 +++ config/unix/netbsd/Makedefs.graphics @@@@ -0,0 +1,3 @@@@ +CFLAGS += -I$(X11BASE)/include +XLIBS = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib -lX11 +XPMDEFS = -DZPIPE -I$(X11BASE)/include @ 1.4 log @Update of icon to 9.4.0. Version 9.4 of Icon is a modified and repackaged implementation based on version 9.3.2 of Icon. The changes make it easier to maintain, install, and use under Unix while retaining potential portability to other systems. Most significant are changes to path searching, described below, and the inclusion of the Icon program library as a standard part of all Unix source and binary distributions. The Icon language is unchanged, and this 9.4 Unix implementation remains compatible at the source level with Icon 9.3 for Windows. Recent feature additions New features added since the publication of the Icon books are described below. Reading foreign text files (new with Version 9.3.1 of Icon) The function read() recognizes three kinds of line terminators when reading a file opened in translated mode: Windows (CR+LF), Macintosh (CR), or Unix (LF). Consequently, text files created on one platform can be read by an Icon program running on a different platform. Reading directory contents (new with Version 9.3.2 of Icon) The files in a directory can be listed by opening the directory as a file. Subsequent reads return the names of the files contained in the directory. The names are returned in no particular order, and for Unix, the directories "." and ".." are included. Path searching (new with Version 9.4 of Icon) Under Unix, colons (:) may now separate directories in the LPATH and IPATH environment variables as an alternative to spaces. The Icon translator and linker search these paths when looking for $include and link files respectively. The Icon program library is now searched automatically, but LPATH and IPATH can still be set to control the search order. For version 9.4, the effective path in each case is: 1. the current directory 2. any directories named by the environment variable 3. the Icon library directory Other changes affect the configuration of Icon at installation time and the way executable Icon programs locate the interpreter. These changes, which are transparent to most users, are discussed in more detail on the [2]File Organization page. Other Icon Changes Several areas of the Icon implementation have been cleaned up, in particular the run-time initialization code, and some obsolete configurations have been removed. With one clearly marked exception, programs in the standard test suite now generate reproducible output. The following problems have been corrected: * The sign bit was lost when converting a real to a large integer. * A duplicate close(f) could crash the interpreter. * Very large coordinate values were silently mishandled. * Window attributes over 127 characters long caused a segfault. * A segfault during traceback could produce an infinite loop. * A file inclusion bug in gcc 2.96 prevented Icon from building. Library Changes The program library has been incorporated into the main Icon source tree and is routinely built along with icont and iconx. Tests for most of the core library functions and loadable C functions have been incorporated the standard test suite, and some additional consistency tests were developed. Numerous changes were made throughout the library to fix linking problems, to fix typos and formatting, and to support building via Makefiles. Some files that were miscategorized as graphics or non-graphics have been moved. Duplicate files in the cfuncs and packs/loadfunc directories have been eliminated. Some other obsolete files were also removed. Other significant changes were: procs/datetime fixed dayoweek() to get all twelve months right procs/factors fixed divisors() to consistently return all factors fixed genfactors() for some failing cases added some minor optimizations procs/genrfncs added several new sequence generators procs/io modified to allow ":" as a path separator under Unix procs/lists fixed fatal bugs in lminlen() and lmaxlen() added several new list manipulation procedures procs/lstfncs added: procedures to produce lists from sequences procs/numbers fixed decimal() for values where remainder repeats procs/pdco added several new control operations procs/periodic added: procedures related to periodic sequences procs/permutat added: procedures for permutations procs/polynom added: manipulate multi-variate polynomials procs/pqueue added new priority queue procedures procs/rational added real2rat(v, p) #: convert real to rational added medrat(r1, r2) #: rational mediant procs/records added fieldnum(R, s) #: return index of field R.s procs/seqops replaced: procedures to manipulate T-sequences procs/strings modified fchars() to break ties lexically renamed permute() to permutes() cfuncs/icall.h fixed reading of misaligned doubles by RealVal() cfuncs/fpoll.c support fpoll() under BSD Unix flavors gprocs/drawlab modified to let the caller control the window size progs/htprep modified to improve quoting progs/ipatch modified to understand v9.4 headers as well as v9.3 progs/unclog added: program to reformat CVS logs gprogs/breakout added: a new breakout game gprogs/dlgvu modified to allow interruption while drawing labels gprogs/gallery modified to recognize some nonstandard JPEG files gpacks/tiger modified to allow interruption of drawing gpacks/xtiles fixed the usage message packs/loadfunc/cspace increased the default window size @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Add support for NetBSD/sparc Patches provided by David A. Holland in pkg/10332 @ text @d1 1 a1 1 $NetBSD: patch-ay,v 1.2 1998/08/07 11:09:10 agc Exp $ d3 6 a8 26 --- /dev/null Wed Oct 1 17:23:30 1997 +++ config/unix/intel_netbsd/xpm.hdr Wed Oct 1 17:32:26 1997 @@@@ -0,0 +1 @@@@ +DEFINES= -DZPIPE --- src/common/save.c 1997/10/02 07:49:07 1.1 +++ src/common/save.c 1997/10/02 08:00:57 @@@@ -79,6 +79,7 @@@@ */ #ifdef GenericBSD +#include #include wrtexec(ef) int ef; @@@@ -91,7 +92,11 @@@@ * Construct the header. The text and data region sizes must be multiples * of 1024. */ +#ifdef __NetBSD__ + N_SETMAGIC(hdr, ZMAGIC, MID_MACHINE, EX_DYNAMIC); +#else hdr.a_magic = ZMAGIC; +#endif tsize = (int)&etext; hdr.a_text = (tsize + 1024) & ~(1024-1); dsize = sbrk(0) - (int)&environ; @ 1.2 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ d3 15 a17 7 --- /dev/null Wed Oct 1 17:23:30 1997 +++ config/unix/intel_netbsd/xpm.hdr Wed Oct 1 17:32:26 1997 @@@@ -0,0 +1 @@@@ +DEFINES= -DZPIPE --- src/common/save.c 1997/10/02 07:49:07 1.1 +++ src/common/save.c 1997/10/02 08:00:57 @@@@ -91,7 +91,11 @@@@ d22 1 a22 1 + N_SETMAGIC(hdr, ZMAGIC, MID_I386, EX_DYNAMIC); @ 1.1 log @Update package to version 9.3.1 and make it work on alpha. Update supplied by Tim Rightnour in PR pkg/5621. @ text @d1 2 @