head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.46 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.44 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.42 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.40 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.38 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.36 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.34 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.32 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.30 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.28 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.26 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.24 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.22 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.20 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.18 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.16 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.14 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.12 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.10 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.8 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.6 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.4 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.2 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.5.0.22 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.18 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.20 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.16 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.14 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.12 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.10 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.8 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.6 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.4 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.2 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.4.0.54 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.50 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.48 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.46 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.44 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.42 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.40 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.38 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.36 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.34 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.32 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.30 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.28 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.26 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.24 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.22 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.20 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.18 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.16 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.14 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.12 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.10 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.8 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.4 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.3.0.6 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.4 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.2 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.2.0.4 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.2 pkgsrc-2010Q1-base:1.2; locks; strict; comment @# @; 1.6 date 2020.09.19.15.27.15; author mef; state Exp; branches; next 1.5; commitid HVSRkDcml3U8HFoC; 1.5 date 2017.12.29.03.56.42; author dholland; state Exp; branches; next 1.4; commitid FsI3MRXaXAnBRJkA; 1.4 date 2011.04.30.11.46.15; author asau; state Exp; branches; next 1.3; 1.3 date 2010.07.31.22.06.25; author asau; state Exp; branches; next 1.2; 1.2 date 2010.01.21.06.26.35; author asau; state Exp; branches; next 1.1; 1.1 date 2010.01.21.06.21.07; author asau; state Exp; branches; next ; desc @@ 1.6 log @(lang/smalltalk) adhoc fix for problem: sh: paxctl: not found @ text @$NetBSD: patch-ah,v 1.5 2017/12/29 03:56:42 dholland Exp $ - Link against pthreads. - Run paxctl +am after linking gst and gst-tool so they don't crash when subsequently run during the build. --- Makefile.in.orig 2013-04-08 05:52:22.000000000 +0000 +++ Makefile.in @@@@ -561,14 +561,14 @@@@ AM_CPPFLAGS = -I$(top_srcdir)/libgst -I$ -DCMD_XZIP="\"$(XZIP)\"" -DCMD_INSTALL="\"$(INSTALL)\"" \ -DCMD_LN_S="\"$(LN_S)\"" $(RELOC_CPPFLAGS) $(am__append_4) gst_SOURCES = main.c -gst_LDADD = libgst/libgst.la lib-src/library.la @@ICON@@ $(am__append_2) +gst_LDADD = libgst/libgst.la lib-src/library.la $(PTHREAD_LDADD) $(PTHREAD_LIBS) @@ICON@@ $(am__append_2) gst_DEPENDENCIES = libgst/libgst.la lib-src/library.la @@ICON@@ \ $(am__append_3) -gst_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) +gst_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) $(PTHREAD_LDFLAGS) gst_tool_SOURCES = gst-tool.c gst_tool_LDADD = libgst/libgst.la lib-src/library.la @@ICON@@ gst_tool_DEPENDENCIES = libgst/libgst.la lib-src/library.la @@ICON@@ -gst_tool_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) +gst_tool_LDFLAGS = -export-dynamic $(RELOC_LDFLAGS) $(LIBFFI_EXECUTABLE_LDFLAGS) $(PTHREAD_LDFLAGS) winewrapper_SOURCES = winewrapper.c GST_EXTRA_TOOLS = gst-reload gst-sunit gst-blox gst-package gst-convert \ gst-doc gst-remote gst-profile gst-browser @@@@ -696,9 +696,11 @@@@ clean-noinstPROGRAMS: gst$(EXEEXT): $(gst_OBJECTS) $(gst_DEPENDENCIES) $(EXTRA_gst_DEPENDENCIES) @@rm -f gst$(EXEEXT) $(gst_LINK) $(gst_OBJECTS) $(gst_LDADD) $(LIBS) + @@PAXCTL@@ +am .libs/gst || true gst-tool$(EXEEXT): $(gst_tool_OBJECTS) $(gst_tool_DEPENDENCIES) $(EXTRA_gst_tool_DEPENDENCIES) @@rm -f gst-tool$(EXEEXT) $(gst_tool_LINK) $(gst_tool_OBJECTS) $(gst_tool_LDADD) $(LIBS) + @@PAXCTL@@ +am .libs/gst-tool || true winewrapper$(EXEEXT): $(winewrapper_OBJECTS) $(winewrapper_DEPENDENCIES) $(EXTRA_winewrapper_DEPENDENCIES) @@rm -f winewrapper$(EXEEXT) $(LINK) $(winewrapper_OBJECTS) $(winewrapper_LDADD) $(LIBS) @ 1.5 log @Update to 3.2.5 and fix broken build. pkgsrc changes: - use paxctl during the build to avoid crashes - depend directly on pcre - fix some pkglint Upstream changes: - Add Delay>>#value:onTimeoutDo: as an easy way to timeout an operation. - Improve Delay and millisecondClock behavior across image save and restore. millisecondClockValue is guaranteed to be monotonic across image save, and delays are restarted when the image is restored. - DateTime>>#today will return midnight of the current timezone. - DateTime has a new method #asLocal. - DateTime>>#readFrom: can read more time formats. - Time resolution is now based on nanoseconds. - Absolute-time delays (Delay>>#untilMilliseconds:) are precise and not anymore converted to relative-time delays. - package.xml files support a tag, like . It can be used to make package.xml clearer for large packages. - MethodDictionary is now thread-safe. - String>>#% supports string keys, like %(string). They can be used when the argument of #% is a Dictionary or LookupTable. Note that the keys of the dictionary must be Strings, not Symbols. - Socket fixes including reporting of EndOfStream on broken pipes and connection resets. - Fix the FileDescriptor finalization code to close open descriptors. - The system file descriptor of FileDescriptor is set to nil on image restore. - The asynchronous event notification has been rewritten. The old version could fail when many file descriptors became available at the same time. - DBD-Postgres gained support to bind parameters on queries and various fixes to allow to resume images that use Postgres. - Images created with gst-remote can now be resumed. - Add #system:withArguments: to avoid using #system: with #% to add arguments. - Added Integer>>#printPaddedWith:to:. - Added CharacterArray>>#withShellEscapes - Added Collection>>#includesAllOf: - Stream>>#fold: works correctly. - 64-bit integer types are available using CLongLong and CULongLong. - gst-blox and gst-browser understand the -i/--rebuild-image option. - GObject errors show backtraces. - Improvements to multiarch support. - CType objects implement #= and #hash, so they can now be used as keys in a dictionary. - Floating-point numbers are printed more accurately in some rare cases. - Some optimization of OrderedCollection and SortedCollection - Selectors starting with an underscore are treated as keyword messages. - A new function gst_uint_to_oop is in libgst, and uintToOOP is also provided by the VMProxy. - Growing the heap is working again. - Various bugfixes. - GNU Smalltalk does not run anymore on i386 hardware, an i486 is needed. - Slightly faster garbage collection. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.4 2011/04/30 11:46:15 asau Exp $ d31 1 a31 1 + paxctl +am .libs/gst || true d35 1 a35 1 + paxctl +am .libs/gst-tool || true @ 1.4 log @Update GNU Smalltalk to version 3.2.4 List of user-visible changes in GNU Smalltalk NEWS FROM 3.2.3 TO 3.2.4 o Autoload is extended to allow plugging in arbitrary loaders. o Array items in a CStruct didn't work, this is fixed now. o DLD could have problems when the same library was requested multiple times. o Errors in the bind() system call were not detected correctly; this has been fixed. o Fixes for platforms with 113-bit long doubles. o Fixes to Delay in the presence of delays with the exact same expiration. o Fixes to the HTTP package, including correct flushing of POST requests and doesNotUnderstand exceptions when the host did not exist. o GLUT bindings now build correctly under Windows. o Many smalltalk-mode improvements. o New methods: TextCollector>>#critical:, o nil can be passed to a C function accepting a #cObjectPtr (i.e. void **) argument. o SocketAddress>>#allByName: returns nil now, instead of an empty array, when getaddrinfo succeeds but returns no address for the requested address class. o SocketAddress>>#byName: returns addresses for the default address class when the receiver is SocketAddress (and not a subclass). o Support for older versions of GnuTLS. o Swazoo's static content serving was broken and has been fixed. o The GST_PACKAGE macro supports having multiple .la files in its last argument. gst-package's --prepare option was broken and has been fixed. o The NetClients exception ProtocolError now includes the erroneous response. Similarly, the package includes ProtocolNotification which is used, for example, for HTTP redirects. o Updated the Squeak/Pharo fileout parser. o Updated VisualGST. ----------------------------------------------------------------------------- NEWS FROM 3.2.2 TO 3.2.3 o Class attributes can have more than 1 keyword. o Documented #byteArrayOut C call argument passing mode. o Fixed crash when an invalid UnicodeString was created using #changeClassTo: o Fixed deadlock with #atEnd and two-way pipes. o Fixed bugs when adding instance variables to an existing class. o Fixed Socket>>#isPeerAlive falsely returning true. o Fixed some bugs in UTF-7 conversion. o FreeBSD port and 64-bit Darwin port. The latter requires a pre-installed libsigsegv. o "gst-convert -f squeak" reads binary selectors with more than two characters; however they should be shortened with rewrite rules to use the output. o gst-doc can generate sensible documentation for a package if some of its prerequisite are not loaded, even if some of the package's classes subclass from the prerequisite. o GTK+ bindings are generated correctly for newer versions of GLib (tested up to 2.26). o If found, pre-installed libsigsegv, libffi and libltdl are used by default. o Improvements for Emacs mode. Installation of Emacs mode detects Debian's /etc/emacs/site-start.d, and a --with-lispstartdir option is provided for distributions that are not Red Hat- or Debian-based. o Machine-specific optimizations for x86-64, and other microoptimizations resulting in small but consistent performance improvements. o More out of memory conditions are detected. o New methods: ByteArray>>#castTo:, ByteArray>>#asCData, String>>#asCData, UndefinedObject>>#inheritsFrom: o New goodie: Announcements. o Number class>>#readFrom: can parse numbers in scientific notation. o Package descriptions do not need to include a item for each item. However, it is still possible to include them for backwards compatibility, and it is possible to include a source file as both and (so that gst-package --dist will skip it). o Packages can be downloaded using HTTPS if GnuTLS libraries are present. o Performance statistics printed by -V are now correct. o Scoped methods ("A class >> a") can be used in an "A class [ ... ]" block. o Semaphore>>#wait returns nil if the wait was interrupted externally (e.g. from Process>>#resume). o String>>#asCData: and String>>#asCData NULL-terminate their output. o Support for timeouts when waiting on a Semaphore. o Swazoo supports SCGI. Its configuration however is still manual, since the Seaside and Iliad adaptors do not know about it. o Updated VisualGST. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 Link against pthreads. d7 3 a9 3 --- Makefile.in.orig 2011-03-21 21:12:57.000000000 +0300 +++ Makefile.in 2011-04-28 21:10:54.000000000 +0400 @@@@ -525,14 +525,14 @@@@ d27 12 @ 1.3 log @Update to GNU Smalltalk 3.2.2 NEWS FROM 3.2.1 TO 3.2.2 o Fixes to gst-remote. o Fixes to the Emacs mode. o Fixes to compilation warnings. o Generational GC is broken on SPARC and is now disabled. o When compiling a 32-bit version on a 64-bit system, detection of which packages to install was improved. NEWS FROM 3.2 TO 3.2.1 o All built-in packages can be disabled with a configure option like --disable-gdbm or --disable-complex. o All tools support --verbose. o Fixed bugs in the distributed gnu-smalltalk.pc file. o Improved portability to Solaris. o Many bug fixes to UDP sockets. In particular, daragrams received from a socket can be placed directly onto another socket using #nextPut:. o Many improvements to VisualGST. o Each test in the testsuite has a 1-minute timeout. o The undocumented DynamicVariable class in GNU Smalltalk 3.2 is now documented, but it had a small change in the implementation. The #defaultValue class method is not present anymore, and is replaced by #valueIfAbsent:. Subclasses can override #value to obtain the effect of #valueIfAbsent:. The class has also been rewritten and is much faster now. NEWS FROM 3.1 TO 3.2 Backwards-incompatible bug fixes and changes: o Collection>>#anyOne gives an error if the receiver is empty. o "aNumber raisedToInteger: 0" will raise an exception if and only if aNumber is not a floating-point value. This was backwards in previous versions. o Interval>>#first and Interval>>#last give an error if the interval is empty (i.e. if start > stop and the step is positive, or start < stop and the step is negative). o SequenceableCollection>>#sortBy: was renamed to #sort:. The old message is _not_ provided for backwards-compatibility. o The semantics of recursive directory descent were adjusted as follows: 1) the '.' and '..' directory entries are not passed; 2) for #do:, the file is passed directly (3.1 used to pass another recursive decorator); 3) before the descent starts, the directory itself is passed to the block. o The XML parser will ignore whitespace if placed in non-validating mode. o The suggested way to instantiate an XML parser is now using "SAXParser defaultParserClass", which will work with either of the two available parsers (the existing Smalltalk parsers, and the Expat bindings; see below). New features (base classes): o Floating-point rounding to integer is now correct also for very large numbers; fix contributed by Nicolas Cellier. o Methods have been added to Integer to print numbers with padding to a specified width. o New FilePath methods #owner:, #group:, #owner:group: allow setting a file's owner and group. o Sending mode, file time and owner setters to a recursive directory decorator (such as `Directory working all') sets the mode/time/owner on all files under the path. o Speedups for hashed collections o String>>#subStrings: accepts a single separator character or also, in accordance with ANSI, a String holding a list of separators. o The old instance-based exception handling has been removed. Standard ANSI class-based exceptions have been available since GNU Smalltalk 1.8.2. o The text-based #inspect method is now available also as Object>>#examine and Object>>#examineOn:, so that it will also work on arbitrary streams and will be available when a GUI is loaded. Contributed by Stefan Schmiedl. New features (tools): o gst-convert can emit Squeak fileouts. o New graphical interface VisualGST, loaded with gst-browser. The old browser is still available, but obsolete. o New ProfilerTools package for callgraph profiling of Smalltalk programs. A companion gst-profile tool will create profiles in callgrind-compatible format. Contributed by Derek Zhou. o Packages can be downloaded and updated directly from the network. The repository of packages is at http://smalltalk.gnu.org/project; the repository holds the location of the package.xml files, which point to the svn or git URL of the code. In order to download a package with git, version 1.6.2 is required. o SUnit supports expected failures. New features (VM): o Fixes in garbage collection heuristics provide improved performance on programs allocating many long-lived objects. Contributed by Derek Zhou. o Floating-point numbers are now read correctly. o In idle times, GNU Smalltalk will perform incremental garbage collection. When it finishes, GNU Smalltalk will consume zero CPU. o Mostly rewritten Windows port. It should mostly work except for sockets. The socket code will be rewritten (for all platforms) for 3.3 anyway. o Support for one-way become (Object>>#becomeForward:) o The millisecond clock uses CLOCK_MONOTONIC where available. New features (packages): o Many improvements to the Gtk bindings. o NetClients supports ESMTP commands. o New goodie, the SandstoneDb object persistence framework. o Swazoo upgraded to version 2.2, plus local fixes. o The Complex package uses numerically stable algorithms o The Continuations package provides delimited continuations via BlockClosure>>#shift and BlockClosure>>#reset. Both methods accept a block (1-arg for shift, 0-arg for reset). o An XML pull parser is included as package XML-PullParser. The package is based on the VisualWorks and Squeak pull parsers by Anthony Blakey and Ken Treis. o In addition to the validating XML parser, a non-validating Expat-based parser is available in package XML-Expat. The Expat parser is experimental, but it is very fast and supports both pull and push operation. Bug fixes: o Code running as a Generator now honors exception handlers outside the Generator block. o Fixed copying of Dictionary to not share the underlying associations. o Fixed ##() expressions that return a block o EPIPE is handled correctly. o Running on kernels without SOCK_CLOEXEC support will not fail even if the VM was compiled on a kernel that supported it. o The Sockets package failed to initialize when the machine was not connected to the network; this has been fixed. o The Transcript now uses a RecursionLock. This fixes crashes when an exception occurred while printing a backtrace. Miscellaneous: o GNU Smalltalk now does not rely anymore on specific (old) versions of libtool. o GNU Smalltalk tries to enable Emacs modes automatically on systems that support a site-lisp/site-start.d directory. o REPL autocompletion includes all symbols including unary messages (and variable names). o Process-local variables are now stored in an IdentityDictionary rather than a LookupTable. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.2 2010/01/21 06:26:35 asau Exp $ d3 1 a3 1 Avoid creating libtool archive. d5 20 a24 10 --- Makefile.in.orig 2010-05-02 11:44:41.000000000 +0400 +++ Makefile.in 2010-05-02 22:50:16.000000000 +0400 @@@@ -499,7 +499,6 @@@@ ########################################################### pkgconfigdir = $(libdir)/pkgconfig nodist_pkgconfig_DATA = gnu-smalltalk.pc -module_DATA = libc.la noinst_DATA = gst.im bin_SCRIPTS = gst-config DISTCLEANFILES = termbold termnorm pkgrules.tmp config.h @ 1.2 log @Add RCS Id and comment to the patch. @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 3 --- Makefile.in.orig 2008-10-19 15:25:08.000000000 +0400 +++ Makefile.in 2010-01-21 08:56:22.000000000 +0300 @@@@ -426,7 +426,6 @@@@ d11 1 a11 1 -pkglib_DATA = libc.la a12 1 @@WITH_EMACS_TRUE@@nodist_lisp_LISP = smalltalk-mode.el $(am__append_2) d14 1 @ 1.1 log @Avoid creating broken libc.la, bump revision. @ text @d1 4 @