head 1.2; access; symbols pkgsrc-2026Q2:1.2.0.48 pkgsrc-2026Q2-base:1.2 pkgsrc-2026Q1:1.2.0.46 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.44 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.42 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.40 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.38 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.36 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.34 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.32 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.30 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.28 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.26 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.24 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.22 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.20 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.18 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.16 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.14 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.12 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.10 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.8 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.6 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.4 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.2 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.1.0.10 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.6 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.8 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.4 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.2 pkgsrc-2019Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2020.07.02.21.40.50; author nia; state Exp; branches; next 1.1; commitid diJfoK5RewY5jyeC; 1.1 date 2019.05.28.20.43.04; author maya; state Exp; branches; next ; commitid rR2E7HRkS9OTR0pB; desc @@ 1.2 log @lua-filesystem: Update to 1.8.0 Version 1.8.0 [22/Apr/2020] * Lua 5.4 support * lfs.link and lfs.symlinkattributes now work on Windows * MACOSX_DEPLOYMENT_TARGET is configurable in the Makefile * Fallback to _POSIX_PATH_MAX when MAXPATHLEN is not avaliable * Fixed memory leak in case of realloc failure @ text @$NetBSD: patch-Makefile,v 1.1 2019/05/28 20:43:04 maya Exp $ - Remove MACOSX_DEPLOYMENT_TARGET as it will give problem on newer macOS and also targeting/building for current macOS version is enough - Honour LDFLAGS. --- Makefile.orig 2020-04-23 01:16:42.000000000 +0000 +++ Makefile @@@@ -12,7 +12,7 @@@@ OBJS= src/$T.o lib: src/lfs.so src/lfs.so: $(OBJS) - MACOSX_DEPLOYMENT_TARGET=$(MACOSX_DEPLOYMENT_TARGET); export MACOSX_DEPLOYMENT_TARGET; $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS) + $(CC) $(LDFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS) test: lib LUA_CPATH=./src/?.so lua tests/test.lua @ 1.1 log @lua-filesystem: update to 1.7.0 Update provided by Jonathan Buschmann in PR pkg/53787. I added some pkgconfig invocations, because otherwise it was linking to lua without the RPATH to liblua. Added a test target. Version 1.7.0 [15/Sep/2017] symlinkattributes function now provides 'target' field, containing name of the file that the symlink points to. attributes, symlinkattributes, touch, mkdir, and rmdir functions now return system-dependent error code as the third value on error. Fixed detection of closed files for Lua 5.2+ in setmode, lock, and unlock functions. Fixed various compiler warnings. s: ---------------------------------------------------------------------- @ text @d1 1 a1 1 $NetBSD$ d6 3 a8 1 --- Makefile.orig 2017-09-15 23:07:33.000000000 +0000 d14 2 a15 2 - MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS) + $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS) @