head 1.6; access; symbols pkgsrc-2024Q4:1.5.0.106 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.104 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.102 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.100 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.98 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.96 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.94 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.92 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.90 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.88 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.86 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.84 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.82 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.80 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.78 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.76 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.74 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.72 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.68 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.48 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.70 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.66 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.64 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.62 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.60 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.58 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.56 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.54 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.52 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.50 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.46 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.44 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.42 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.40 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.38 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.36 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.34 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.32 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.30 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.28 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.26 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.24 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.22 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.20 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.18 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.16 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.14 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.12 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.10 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.8 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.6 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.4 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.2 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.4.0.10 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.8 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.6 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.4 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.2 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.3.0.6 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.4 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.2 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.2.0.8 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.6 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.4 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.2 pkgsrc-2008Q4-base:1.2 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.6 date 2025.01.05.16.35.09; author ktnb; state dead; branches; next 1.5; commitid KiEPynkUKDX3EjEF; 1.5 date 2011.12.07.19.49.01; author drochner; state Exp; branches; next 1.4; 1.4 date 2010.08.09.12.21.48; author drochner; state Exp; branches; next 1.3; 1.3 date 2009.12.16.19.16.58; author zafer; state Exp; branches; next 1.2; 1.2 date 2008.12.03.11.10.34; author is; 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.1.1.1 date 2008.08.09.21.22.11; author bjs; state Exp; branches 1.1.1.1.4.1; next ; 1.1.1.1.4.1 date 2008.12.04.10.14.05; author tron; state Exp; branches; next ; desc @@ 1.6 log @libslang2: update to 2.3.3 Many bug fixes, updates, and enhancements since 2.2.4 @ text @$NetBSD: patch-ae,v 1.5 2011/12/07 19:49:01 drochner Exp $ --- modules/Makefile.in.orig 2011-04-11 02:37:07.000000000 +0000 +++ modules/Makefile.in @@@@ -1,4 +1,5 @@@@ # -*- sh -*- +MODULE_LIBTOOL_FLAGS=--tag=disable-static MODULES = slsmg-module.so termios-module.so select-module.so fcntl-module.so \ varray-module.so socket-module.so rand-module.so fork-module.so \ csv-module.so @@PCRE_MODULE@@ @@PNG_MODULE@@ \ @@@@ -77,8 +78,9 @@@@ DEST_HELPDIR = $(DESTDIR)$(HELP_DIR) #--------------------------------------------------------------------------- RPATH = @@RPATH@@ -LIBS = $(LDFLAGS) $(RPATH) $(SLANG_LIB) $(DL_LIB) @@M_LIB@@ +LIBS = $(LDFLAGS) -module -avoid-version -rpath $(PREFIX)/lib $(SLANG_LIB) $(DL_LIB) @@M_LIB@@ INCS = $(SLANG_SRCINC) +CC_SHARED:=${LIBTOOL} --mode=link ${MODULE_LIBTOOL_FLAGS} ${CC} #--------------------------------------------------------------------------- all: $(MODULES) @@@@ -87,62 +89,62 @@@@ config.h: ../src/config.h $(OBJDIR): -$(MKINSDIR) $(OBJDIR) # -slsmg-module.so: $(OBJDIR) $(OBJDIR)/slsmg-module.so -$(OBJDIR)/slsmg-module.so: slsmg-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/slsmg-module.c -o slsmg-module.so $(LIBS) -rand-module.so: $(OBJDIR) $(OBJDIR)/rand-module.so -$(OBJDIR)/rand-module.so: rand-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/rand-module.c -o rand-module.so $(LIBS) -newt-module.so: $(OBJDIR) $(OBJDIR)/newt-module.so -$(OBJDIR)/newt-module.so: newt-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/newt-module.c -o newt-module.so -lnewt $(LIBS) -termios-module.so: $(OBJDIR) $(OBJDIR)/termios-module.so -$(OBJDIR)/termios-module.so: termios-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/termios-module.c -o termios-module.so $(LIBS) -select-module.so: $(OBJDIR) $(OBJDIR)/select-module.so -$(OBJDIR)/select-module.so: select-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/select-module.c -o select-module.so $(LIBS) -fcntl-module.so: $(OBJDIR) $(OBJDIR)/fcntl-module.so -$(OBJDIR)/fcntl-module.so: fcntl-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/fcntl-module.c -o fcntl-module.so $(LIBS) -varray-module.so: $(OBJDIR) $(OBJDIR)/varray-module.so -$(OBJDIR)/varray-module.so: varray-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/varray-module.c -o varray-module.so $(LIBS) -pcre-module.so: $(OBJDIR) $(OBJDIR)/pcre-module.so -$(OBJDIR)/pcre-module.so: pcre-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(PCRE_INC) $(SRCDIR)/pcre-module.c -o pcre-module.so $(PCRE_LIB) $(LIBS) -onig-module.so: $(OBJDIR) $(OBJDIR)/onig-module.so -$(OBJDIR)/onig-module.so: onig-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(ONIG_INC) $(SRCDIR)/onig-module.c -o onig-module.so $(ONIG_LIB) $(LIBS) -png-module.so: $(OBJDIR) $(OBJDIR)/png-module.so -$(OBJDIR)/png-module.so: png-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(PNG_INC) $(SRCDIR)/png-module.c -o png-module.so $(PNG_LIB) $(LIBS) -socket-module.so: $(OBJDIR) $(OBJDIR)/socket-module.so -$(OBJDIR)/socket-module.so: socket-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/socket-module.c -o socket-module.so $(SOCKET_LIBS) $(LIBS) -iconv-module.so: $(OBJDIR) $(OBJDIR)/iconv-module.so -$(OBJDIR)/iconv-module.so: iconv-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(ICONV_INC) $(SRCDIR)/iconv-module.c -o iconv-module.so $(ICONV_LIB) $(LIBS) -zlib-module.so: $(OBJDIR) $(OBJDIR)/zlib-module.so -$(OBJDIR)/zlib-module.so: zlib-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(ZLIB_INC) $(SRCDIR)/zlib-module.c -o zlib-module.so $(ZLIB_LIB) $(LIBS) -fork-module.so: $(OBJDIR) $(OBJDIR)/fork-module.so -$(OBJDIR)/fork-module.so: fork-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/fork-module.c -o fork-module.so $(LIBS) -sysconf-module.so: $(OBJDIR) $(OBJDIR)/sysconf-module.so -$(OBJDIR)/sysconf-module.so: sysconf-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/sysconf-module.c -o sysconf-module.so $(LIBS) -csv-module.so: $(OBJDIR) $(OBJDIR)/csv-module.so -$(OBJDIR)/csv-module.so: csv-module.c config.h - cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/csv-module.c -o csv-module.so $(LIBS) +slsmg-module.so: slsmg-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) slsmg-module.c + $(CC_SHARED) $(INCS) slsmg-module.lo -o slsmg-module.la $(LIBS) +rand-module.so: rand-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) rand-module.c + $(CC_SHARED) $(INCS) rand-module.lo -o rand-module.la $(LIBS) +newt-module.so: newt-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) newt-module.c + $(CC_SHARED) $(INCS) newt-module.lo -o newt-module.la $(LIBS) +termios-module.so: termios-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) termios-module.c + $(CC_SHARED) $(INCS) termios-module.lo -o termios-module.la $(LIBS) +select-module.so: select-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) select-module.c + $(CC_SHARED) $(INCS) select-module.lo -o select-module.la $(LIBS) +fcntl-module.so: fcntl-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) fcntl-module.c + $(CC_SHARED) $(INCS) fcntl-module.lo -o fcntl-module.la $(LIBS) +varray-module.so: varray-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) varray-module.c + $(CC_SHARED) $(INCS) varray-module.lo -o varray-module.la $(LIBS) +pcre-module.so: pcre-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) pcre-module.c + $(CC_SHARED) $(INCS) pcre-module.lo -o pcre-module.la $(LIBS) +onig-module.so: onig-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) onig-module.c + $(CC_SHARED) $(INCS) onig-module.lo -o onig-module.la $(LIBS) +png-module.so: png-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) png-module.c + $(CC_SHARED) $(INCS) png-module.lo -o png-module.la $(LIBS) +socket-module.so: socket-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) socket-module.c + $(CC_SHARED) $(INCS) socket-module.lo -o socket-module.la $(LIBS) +iconv-module.so: iconv-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) iconv-module.c + $(CC_SHARED) $(INCS) iconv-module.lo -o iconv-module.la $(LIBS) +zlib-module.so: zlib-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) zlib-module.c + $(CC_SHARED) $(INCS) zlib-module.lo -o zlib-module.la $(LIBS) +fork-module.so: fork-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) fork-module.c + $(CC_SHARED) $(INCS) fork-module.lo -o fork-module.la $(LIBS) +sysconf-module.so: sysconf-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) sysconf-module.c + $(CC_SHARED) $(INCS) sysconf-module.lo -o sysconf-module.la $(LIBS) +csv-module.so: csv-module.c config.h + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) csv-module.c + $(CC_SHARED) $(INCS) csv-module.lo -o csv-module.la $(LIBS) # Note that Windows/Cygwin modules need execute permissions install: all -$(MKINSDIR) $(DEST_MODULEDIR) - @@for i in $(MODULES); \ + @@for i in $(MODULES:.so=.la); \ do \ echo $(INSTALL_MODULE) $(OBJDIR)/$$i $(DEST_MODULEDIR); \ - $(INSTALL_MODULE) $(OBJDIR)/$$i $(DEST_MODULEDIR); \ + $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $$i $(DEST_MODULEDIR); \ done -$(MKINSDIR) $(DEST_SLSH_DIR) @@for i in $(SLFILES); \ @ 1.5 log @update to 2.2.4 changes: misc fixes and improvements - see the changes.txt file @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @bl3 zlib, should fix PR pkg/43724 by Szabolcs Rumi also fix libtoolization of module build (the modules didn't work before) bump PKGREVISION @ text @d3 1 a3 1 --- modules/Makefile.in.orig 2009-12-05 19:03:51.000000000 +0000 d9 3 a11 3 varray-module.so socket-module.so rand-module.so fork-module.so @@PCRE_MODULE@@ @@PNG_MODULE@@ \ @@ICONV_MODULE@@ @@ONIG_MODULE@@ @@ZLIB_MODULE@@ @@SYSCONF_MODULE@@ @@@@ -75,9 +76,10 @@@@ DEST_HELPDIR = $(DESTDIR)$(HELP_DIR) d17 3 a19 4 #LIBS = $(RPATH) $(DL_LIB) @@M_LIB@@ INCS = $(SLANG_INC) +CC_SHARED:=${LIBTOOL} --mode=link ${MODULE_LIBTOOL_FLAGS} ${CC} d22 53 a74 5 @@@@ -85,43 +87,58 @@@@ config.h: ../src/config.h cp ../src/config.h . slsmg-module.so: slsmg-module.c config.h - $(CC_SHARED) $(INCS) slsmg-module.c -o slsmg-module.so $(LIBS) d77 1 a77 2 rand-module.so: rand-module.c config.h - $(CC_SHARED) $(INCS) rand-module.c -o rand-module.so $(LIBS) d80 1 a80 2 newt-module.so: newt-module.c config.h - $(CC_SHARED) $(INCS) newt-module.c -o newt-module.so -lnewt $(LIBS) d82 2 a83 3 + $(CC_SHARED) $(INCS) newt-module.lo -o newt-module.la -lnewt $(LIBS) termios-module.so: termios-module.c config.h - $(CC_SHARED) $(INCS) termios-module.c -o termios-module.so $(LIBS) d86 1 a86 2 select-module.so: select-module.c config.h - $(CC_SHARED) $(INCS) select-module.c -o select-module.so $(LIBS) d89 1 a89 2 fcntl-module.so: fcntl-module.c config.h - $(CC_SHARED) $(INCS) fcntl-module.c -o fcntl-module.so $(LIBS) d92 1 a92 2 varray-module.so: varray-module.c config.h - $(CC_SHARED) $(INCS) varray-module.c -o varray-module.so $(LIBS) d95 10 a104 14 pcre-module.so: pcre-module.c config.h - $(CC_SHARED) $(INCS) $(PCRE_INC) pcre-module.c -o pcre-module.so $(PCRE_LIB) $(LIBS) + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) $(PCRE_INC) pcre-module.c + $(CC_SHARED) $(INCS) $(PCRE_INC) pcre-module.lo -o pcre-module.la $(PCRE_LIB) $(LIBS) onig-module.so: onig-module.c config.h - $(CC_SHARED) $(INCS) $(ONIG_INC) onig-module.c -o onig-module.so $(ONIG_LIB) $(LIBS) + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) $(ONIG_INC) onig-module.c + $(CC_SHARED) $(INCS) $(ONIG_INC) onig-module.lo -o onig-module.la $(ONIG_LIB) $(LIBS) png-module.so: png-module.c config.h - $(CC_SHARED) $(INCS) $(PNG_INC) png-module.c -o png-module.so $(PNG_LIB) $(LIBS) + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) $(PNG_INC) png-module.c + $(CC_SHARED) $(INCS) $(PNG_INC) png-module.lo -o png-module.la $(PNG_LIB) $(LIBS) socket-module.so: socket-module.c config.h - $(CC_SHARED) $(INCS) socket-module.c -o socket-module.so $(SOCKET_LIBS) $(LIBS) d106 8 a113 11 + $(CC_SHARED) $(INCS) socket-module.lo -o socket-module.la $(SOCKET_LIBS) $(LIBS) iconv-module.so: iconv-module.c config.h - $(CC_SHARED) $(INCS) $(ICONV_INC) iconv-module.c -o iconv-module.so $(ICONV_LIB) $(LIBS) + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) $(ICONV_INC) iconv-module.c + $(CC_SHARED) $(INCS) $(ICONV_INC) iconv-module.lo -o iconv-module.la $(ICONV_LIB) $(LIBS) zlib-module.so: zlib-module.c config.h - $(CC_SHARED) $(INCS) $(ZLIB_INC) zlib-module.c -o zlib-module.so $(ZLIB_LIB) $(LIBS) + ${LIBTOOL} --mode=compile ${CC} -c $(INCS) $(ZLIB_INC) zlib-module.c + $(CC_SHARED) $(INCS) $(ZLIB_INC) zlib-module.lo -o zlib-module.la $(ZLIB_LIB) $(LIBS) fork-module.so: fork-module.c config.h - $(CC_SHARED) $(INCS) fork-module.c -o fork-module.so $(LIBS) d116 1 a116 2 sysconf-module.so: sysconf-module.c config.h - $(CC_SHARED) $(INCS) sysconf-module.c -o sysconf-module.so $(LIBS) d119 3 d129 2 a130 2 echo $(INSTALL_MODULE) $$i $(DEST_MODULEDIR); \ - $(INSTALL_MODULE) $$i $(DEST_MODULEDIR); \ @ 1.3 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 --- modules/Makefile.in.orig 2009-12-05 20:03:51.000000000 +0100 d23 1 a23 1 @@@@ -85,43 +87,43 @@@@ config.h: ../src/config.h d28 2 a29 1 + $(CC_SHARED) $(INCS) slsmg-module.c -o slsmg-module.la $(LIBS) d32 2 a33 1 + $(CC_SHARED) $(INCS) rand-module.c -o rand-module.la $(LIBS) d36 2 a37 1 + $(CC_SHARED) $(INCS) newt-module.c -o newt-module.la -lnewt $(LIBS) d40 2 a41 1 + $(CC_SHARED) $(INCS) termios-module.c -o termios-module.la $(LIBS) d44 2 a45 1 + $(CC_SHARED) $(INCS) select-module.c -o select-module.la $(LIBS) d48 2 a49 1 + $(CC_SHARED) $(INCS) fcntl-module.c -o fcntl-module.la $(LIBS) d52 2 a53 1 + $(CC_SHARED) $(INCS) varray-module.c -o varray-module.la $(LIBS) d56 2 a57 1 + $(CC_SHARED) $(INCS) $(PCRE_INC) pcre-module.c -o pcre-module.la $(PCRE_LIB) $(LIBS) d60 2 a61 1 + $(CC_SHARED) $(INCS) $(ONIG_INC) onig-module.c -o onig-module.la $(ONIG_LIB) $(LIBS) d64 2 a65 1 + $(CC_SHARED) $(INCS) $(PNG_INC) png-module.c -o png-module.la $(PNG_LIB) $(LIBS) d68 2 a69 1 + $(CC_SHARED) $(INCS) socket-module.c -o socket-module.la $(SOCKET_LIBS) $(LIBS) d72 2 a73 1 + $(CC_SHARED) $(INCS) $(ICONV_INC) iconv-module.c -o iconv-module.la $(ICONV_LIB) $(LIBS) d76 2 a77 1 + $(CC_SHARED) $(INCS) $(ZLIB_INC) zlib-module.c -o zlib-module.la $(ZLIB_LIB) $(LIBS) d80 2 a81 1 + $(CC_SHARED) $(INCS) fork-module.c -o fork-module.la $(LIBS) d84 2 a85 1 + $(CC_SHARED) $(INCS) sysconf-module.c -o sysconf-module.la $(LIBS) @ 1.2 log @Don't even try to install the .a for the loadable modules. Patch mostly suggested by bjs@@. This fixes a build problem on Solaris. @ text @d3 1 a3 1 --- modules/Makefile.in.orig 2007-09-08 04:47:29.000000000 +0200 d9 3 a11 3 varray-module.so socket-module.so @@PCRE_MODULE@@ @@PNG_MODULE@@ \ @@ICONV_MODULE@@ @@ONIG_MODULE@@ @@@@ -69,9 +70,10 @@@@ DEST_HELPDIR = $(DESTDIR)$(HELP_DIR) d15 3 a17 3 -LIBS = $(LDFLAGS) $(RPATH) $(SLANG_LIB) $(DL_LIB) -lm +LIBS = $(LDFLAGS) -module -avoid-version -rpath $(PREFIX)/lib $(SLANG_LIB) $(DL_LIB) -lm #LIBS = $(RPATH) $(DL_LIB) -lm d23 1 a23 1 @@@@ -79,35 +81,35 @@@@ config.h: ../src/config.h d29 3 d62 9 @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- modules/Makefile.in.orig 2007-09-07 22:47:29.000000000 -0400 d5 7 a11 1 @@@@ -69,9 +69,10 @@@@ DEST_HELPDIR = $(DESTDIR)$(HELP_DIR) d19 1 a19 1 +CC_SHARED:=${LIBTOOL} --mode=link ${LIBTOOL_FLAGS} ${CC} d23 1 a23 1 @@@@ -79,35 +80,35 @@@@ config.h: ../src/config.h @ 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 @@ 1.1.1.1.4.1 log @Pullup ticket #2604 - requested by is libslang2: build fix for Solaris Revisions pulled up: - devel/libslang2/Makefile 1.2 - devel/libslang2/distinfo 1.2 - devel/libslang2/patches/patch-ae 1.2 --- Module Name: pkgsrc Committed By: is Date: Wed Dec 3 11:10:34 UTC 2008 Modified Files: pkgsrc/devel/libslang2: Makefile distinfo pkgsrc/devel/libslang2/patches: patch-ae Log Message: Don't even try to install the .a for the loadable modules. Patch mostly suggested by bjs@@. This fixes a build problem on Solaris. @ text @d3 1 a3 1 --- modules/Makefile.in.orig 2007-09-08 04:47:29.000000000 +0200 d5 1 a5 7 @@@@ -1,4 +1,5 @@@@ # -*- sh -*- +MODULE_LIBTOOL_FLAGS=--tag=disable-static MODULES = slsmg-module.so termios-module.so select-module.so fcntl-module.so \ varray-module.so socket-module.so @@PCRE_MODULE@@ @@PNG_MODULE@@ \ @@ICONV_MODULE@@ @@ONIG_MODULE@@ @@@@ -69,9 +70,10 @@@@ DEST_HELPDIR = $(DESTDIR)$(HELP_DIR) d13 1 a13 1 +CC_SHARED:=${LIBTOOL} --mode=link ${MODULE_LIBTOOL_FLAGS} ${CC} d17 1 a17 1 @@@@ -79,35 +81,35 @@@@ config.h: ../src/config.h @