pkgsrc/lang/smalltalk/patches/patch-ah
dholland 79529215ca 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 <dir> tag, like <dir name="Foo">.  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.
2017-12-29 03:56:42 +00:00

38 lines
2 KiB
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)