head 1.5; access; symbols pkgsrc-2024Q4:1.4.0.62 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.60 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.58 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.56 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.54 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.52 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.50 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.48 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.46 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.44 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.42 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.40 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.38 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.36 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.34 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.32 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.30 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.28 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.24 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.4 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.26 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.22 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.20 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.18 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.16 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.14 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.12 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.10 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.8 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.6 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.2 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.3.0.44 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.42 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.40 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.38 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.36 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.34 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.32 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.30 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.28 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.26 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.24 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.22 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.20 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.18 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.16 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.14 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.12 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.10 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.8 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.6 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.4 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.16 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.14 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.12 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.10 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.8 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.6 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.4 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.1.1.1.0.12 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.10 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.8 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.6 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.4 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.2 cube-native-xorg-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2025.01.05.16.35.09; author ktnb; state dead; branches; next 1.4; commitid KiEPynkUKDX3EjEF; 1.4 date 2017.04.20.10.46.10; author jperkin; state Exp; branches; next 1.3; commitid TwuR2QVlcEFiggOz; 1.3 date 2011.12.07.19.49.01; author drochner; state Exp; branches 1.3.44.1; next 1.2; 1.2 date 2009.12.16.19.16.58; author zafer; state Exp; branches; next 1.1; 1.1 date 2008.08.09.21.22.11; author bjs; state Exp; branches 1.1.1.1; next ; 1.3.44.1 date 2017.05.01.08.28.25; author bsiegert; state Exp; branches; next ; commitid xZz2BM0zP3P99FPz; 1.1.1.1 date 2008.08.09.21.22.11; author bjs; state Exp; branches; next ; desc @@ 1.5 log @libslang2: update to 2.3.3 Many bug fixes, updates, and enhancements since 2.2.4 @ text @$NetBSD: patch-aa,v 1.4 2017/04/20 10:46:10 jperkin Exp $ --- src/Makefile.in.orig 2011-04-11 02:37:07.000000000 +0000 +++ src/Makefile.in @@@@ -22,7 +22,7 @@@@ ELF_DEP_LIBS = @@ELF_DEP_LIBS@@ # Set these values to ABSOLUTE path names #--------------------------------------------------------------------------- SRCDIR = @@SRCDIR@@# Location of sources -OBJDIR = @@OBJDIR@@# Location of objects +OBJDIR = .# Location of objects ELFDIR = @@ELFDIR@@# Location of elf objects VERSION_SCRIPT = $(SRCDIR)/slang.ver @@@@ -87,11 +87,11 @@@@ CONFIG_H = config.h TERMINFO_INC = terminfo/@@TERMINFO_LAYOUT@@.inc ALL_CFLAGS = $(CFLAGS) -Dunix $(THIS_LIB_DEFINES) ALL_ELF_CFLAGS = $(ELF_CFLAGS) -Dunix $(THIS_LIB_DEFINES) -COMPILE_CMD = $(CC) -c $(ALL_CFLAGS) +COMPILE_CMD = $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(ALL_CFLAGS) ELFCOMPILE_CMD = $(ELF_CC) -c $(ALL_ELF_CFLAGS) ELF_LINK_CMD = $(ELF_LINK) -NORMAL_LIB = lib$(THIS_LIB).a +NORMAL_LIB = lib$(THIS_LIB)2.la OBJDIR_NORMAL_LIB = $(OBJDIR)/$(NORMAL_LIB) # On most systems, these variables have values of the form: @@@@ -138,14 +138,14 @@@@ UPDATE_VERSION_SCRIPT = $(HOME)/bin/upda #--------------------------------------------------------------------------- # Rules #--------------------------------------------------------------------------- -all: static elf -static: $(OBJDIR) $(CONFIG_H) $(OBJDIR_NORMAL_LIB) $(OTHERSTUFF) -elf: $(ELFDIR) $(CONFIG_H) $(ELFDIR_ELF_LIB) +all: $(OBJDIR) $(CONFIG_H) $(OBJDIR_NORMAL_LIB) +elf: all $(OBJDIR_NORMAL_LIB): $(OBJDIR) $(CONFIG_H) $(OBJS) - -$(RM) $(OBJDIR_NORMAL_LIB) - cd $(OBJDIR) && $(AR_CR) $(NORMAL_LIB) $(OFILES) - $(RANLIB) $(OBJDIR_NORMAL_LIB) + cd $(OBJDIR); $(LIBTOOL) --mode=link \ + $(CC) -o $(NORMAL_LIB) $(OFILES:.o=.lo) \ + $(LDFLAGS) -rpath $(PREFIX)/lib \ + $(DL_LIB) -lm -ltermcap -version-info 2:1 @@echo "" @@echo $(NORMAL_LIB) created in $(OBJDIR) @@@@ -187,10 +187,9 @@@@ install-docs: $(DEST_DOCDIR) echo $(INSTALL_DATA) $$i $(DEST_DOCDIR)/; \ $(INSTALL_DATA) $$i $(DEST_DOCDIR)/; \ done -install-static: static install-headers install-docs $(DEST_LIBDIR) +install-static: all install-headers install-docs $(DEST_LIBDIR) @@echo installing $(OBJDIR_NORMAL_LIB) in $(DEST_LIBDIR)/ - $(INSTALL_DATA) $(OBJDIR_NORMAL_LIB) $(DEST_LIBDIR)/ - $(RANLIB) $(DEST_LIBDIR)/$(NORMAL_LIB) + $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(OBJDIR_NORMAL_LIB) $(DEST_LIBDIR)/ install-elf-and-links: -$(RM) $(DEST_LIBDIR)/$(ELFLIB) -$(RM) $(DEST_LIBDIR)/$(ELFLIB_MAJOR) @@@@ -208,9 +207,9 @@@@ install-elf-cygwin: $(INSTALL_DATA) $(ELFDIR_DLL_LIB) $(DEST_LIBDIR)/ $(MKINSDIR) $(DEST_BINDIR) $(INSTALL) $(ELFDIR_ELF_LIB) $(DEST_BINDIR)/ -install-elf: elf install-headers install-docs $(DEST_LIBDIR) $(INSTALL_ELFLIB_TARGET) -install-all: install-elf install-static -install: install-all +install-elf: install-static +install-all: install-static +install: install-static #--------------------------------------------------------------------------- # Tests #--------------------------------------------------------------------------- @ 1.4 log @Fix bogus flags, now builds on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2011/12/07 19:49:01 drochner Exp $ @ 1.3 log @update to 2.2.4 changes: misc fixes and improvements - see the changes.txt file @ text @d1 1 a1 1 $NetBSD$ a4 9 @@@@ -4,7 +4,7 @@@@ #--------------------------------------------------------------------------- CC = @@CC@@ CFLAGS = @@CFLAGS@@ -LDFLAGS = @@LDFLAGS@@ +LDFLAGS = $(EXECLIBS) #----------------------------------------------------------------------------- # System library that contains functions for dynamic linking (-ldl) #----------------------------------------------------------------------------- d19 1 a19 1 +COMPILE_CMD = $(LIBTOOL) --mode=compile --tag=CC $(LIBTOOL_FLAGS) $(CC) -c $(ALL_CFLAGS) $(LIBTOOL_CFLAGS) d42 1 a42 1 + cd $(OBJDIR); $(LIBTOOL) --mode=link $(LIBTOOL_FLAGS) \ d44 1 a44 1 + $(LIBTOOL_LDFLAGS) -rpath $(PREFIX)/lib \ @ 1.3.44.1 log @Pullup ticket #5332 - requested by sevan devel/libslang2: build fix for SunOS Revisions pulled up: - devel/libslang2/distinfo 1.7 - devel/libslang2/patches/patch-aa 1.4 --- Module Name: pkgsrc Committed By: jperkin Date: Thu Apr 20 10:46:10 UTC 2017 Modified Files: pkgsrc/devel/libslang2: distinfo pkgsrc/devel/libslang2/patches: patch-aa Log Message: Fix bogus flags, now builds on SunOS. @ text @d5 9 d28 1 a28 1 +COMPILE_CMD = $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(ALL_CFLAGS) d51 1 a51 1 + cd $(OBJDIR); $(LIBTOOL) --mode=link \ d53 1 a53 1 + $(LDFLAGS) -rpath $(PREFIX)/lib \ @ 1.2 log @Update libslang2 to 2.2.2. Add license. Changelog: Changes since 2.2.1 1. src/slsmg.c: Call SLutf8_enable if UTF8 mode has not been setup. 2. src/slutty.c: Allow the hook that gets called when the read function gets interrupted to change the read file descriptor. Before, if this happened, the SLang_getkey function would return SLANG_GETKEY_ERROR. 3. lib/slsh/print.sl: Turn off buffering of the pager pipe. 4. modules/tm/*.tm: A couple of typos corrected (John Houck) 5. src/slmath.c: The round function was not correctly rounding values between 0.5 and 1.0. 6. src/slstdio.c,slclass.c: If a call to fwrite produces errno=EPIPE, then do not bother trying the write again. 7. modules/fork-module.c: Use WIFCONTINUED only if it is defined. 8. slsh/Makefile.in: Change the order of the libraries such that the newly built ones will be found first. (Markus Hennecke) 9. src/slagetput.inc: Avoid possible access violation when using a range array as an index. 10. doc/tm/rtl/lists.tm: Documented the optional argument to the list_to_array function (Manfred Hanke). Changes since 2.2.0 1. modules/socket-module.c: glibc-2.8 removed the h_addr macro. 2. src/slclass.c: Call clearerr before performing the stdio_fread/fwrite functions. 3. src/slstdio.c: typeof in the fputs intrinsic fixed (n instead of dn was compared to 0). 4. src/slscanf.c: sscanf will treat NaN and Inf in a case-insensitive manner. Also, the NaN([a-zA-Z0-9]*) form is also supported. 5. src/slang.h: SLclass_set_aelem_init_function was missing from the API. 6. src/slmath.c: The expm1 and log1p functions were returning NaN when given Inf arguments. 7. src/slmath,c: log1p(-1) produced nan instead of -inf. 8. configure: Added pkg-config support (based upon a debian patch sent to me by Luca Bigliardi). 9. doc/tm/rtl/math.tm: Updated the help for set_float_format and added documentation for the get_float_format function. 10. autoconf/slangpc.in: Added URL and Libs.private entries to the slang.pc pkg-config file. 11. src/slang.h: prototype for SLang_create_array1 missing from slang.h. 12. src/slcurses.c: Added debian patch that adds support for additional graphics characters (DIAMOND, DEGREE, etc...). 13. doc/tm/slang.tm: Added a small section about arrays of arrays. 14. src/slang.c: __builtin_expect is used for the stack functions if compiled with gcc. 15. src/*.c: A few public variables were not explicitly initialized to 0. Apparantly not doing so causes them not be be exported from the windows DLL. Complete changes at: ftp://space.mit.edu/pub/davis/slang/v2.2/changes.txt @ text @d3 1 a3 1 --- src/Makefile.in.orig 2009-12-05 20:03:51.000000000 +0100 d23 2 a24 2 @@@@ -87,11 +87,11 @@@@ INSTALL_ELFLIB_TARGET = @@INSTALL_ELFLIB_ CONFIG_H = config.h d49 1 a49 1 - cd $(OBJDIR); $(AR_CR) $(NORMAL_LIB) $(OFILES) d52 3 a54 3 + $(CC) -o $(NORMAL_LIB) $(OFILES:.o=.lo) \ + $(LIBTOOL_LDFLAGS) -rpath $(PREFIX)/lib \ + $(DL_LIB) -lm -ltermcap -version-info 2:1 d58 1 a58 1 @@@@ -186,10 +186,9 @@@@ install-docs: $(DEST_DOCDIR) d71 1 a71 1 @@@@ -207,9 +206,9 @@@@ install-elf-cygwin: @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.17 2008/03/01 03:09:35 jlam Exp $ d3 1 a3 1 --- src/Makefile.in.orig 2007-09-07 22:47:29.000000000 -0400 d37 1 a37 1 @@@@ -136,14 +136,14 @@@@ UPDATE_VERSION_SCRIPT = $(HOME)/bin/upda d58 1 a58 1 @@@@ -184,10 +184,9 @@@@ install-docs: $(DEST_DOCDIR) d71 1 a71 1 @@@@ -205,9 +204,9 @@@@ install-elf-cygwin: @ 1.1.1.1 log @Import devel/libslang2 (version 2.1.3). This is the current version, and packages should switch to it as they are deemed compatible. blurb: S-Lang is a C programmer's library that includes routines for the rapid development of sophisticated, user friendly, multi-platform applications. The S-Lang library includes the following: - Low level tty input routines for reading single characters at a time, as well as low-level terminal-independent routines for manipulating the display of a terminal. - Keymap routines for defining keys and manipulating multiple keymaps. - High level screen management routines for manipulating both monochrome and color terminals. These routines are very efficient. - Routines for reading single line input with line editing and recall capabilities. - Searching functions: both ordinary searches and regular expression searches. - An embedded stack-based language interpreter with a C-like syntax. - A malloc debugging package @ text @@