Index: head/devel/lutok/Makefile =================================================================== --- head/devel/lutok/Makefile (revision 499694) +++ head/devel/lutok/Makefile (revision 499695) @@ -1,59 +1,59 @@ # Created by: Alan Somers # $FreeBSD$ PORTNAME= lutok PORTVERSION= 0.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= https://github.com/jmmv/lutok/releases/download/${PORTNAME}-${PORTVERSION}/ \ LOCAL/jmmv MAINTAINER= jmmv@FreeBSD.org COMMENT= Lightweight C++ API for Lua LICENSE= BSD3CLAUSE GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES= libtool lua pkgconfig OPTIONS_DEFINE= DOCS EXAMPLES TEST OPTIONS_DEFAULT=TEST OPTIONS_SUB= yes TEST_CONFIGURE_WITH= atf TEST_BUILD_DEPENDS= atf>=0.21:devel/atf TEST_RUN_DEPENDS= atf>=0.21:devel/atf .include CONFIGURE_ARGS+= --docdir=${DOCSDIR} CONFIGURE_ARGS+= --htmldir=${DOCSDIR}/html # The distfile contains prebuilt doxygen files. Specify --without_doxygen so # we won't rebuild them CONFIGURE_ARGS+= --without-doxygen # Force the use of the lua version we have chosen via USE_LUA. If we allow # lutok's configure script search for one using pkgconfig files, it might pick # a different version. CONFIGURE_ARGS+= LUA_CFLAGS="-I${LUA_INCDIR}" CONFIGURE_ARGS+= LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER} -lm" MAKE_FLAGS+= examplesdir=${EXAMPLESDIR} MAKE_FLAGS+= pkgconfigdir=${PREFIX}/libdata/pkgconfig .if ! ${PORT_OPTIONS:MDOCS} MAKE_FLAGS+= doc_DATA= .endif .if ! ${PORT_OPTIONS:MEXAMPLES} MAKE_FLAGS+= examples_DATA= .endif PLIST_SUB+= TESTS="@comment " .if ! ${PORT_OPTIONS:MDOCS} pre-install: .SILENT ${RM} -r ${WRKSRC}/api-docs .endif .include Index: head/devel/lutok/files/patch-state.cpp =================================================================== --- head/devel/lutok/files/patch-state.cpp (nonexistent) +++ head/devel/lutok/files/patch-state.cpp (revision 499695) @@ -0,0 +1,11 @@ +--- state.cpp.orig 2019-04-22 05:13:10 UTC ++++ state.cpp +@@ -492,7 +492,7 @@ lutok::state::is_userdata(const int inde + void + lutok::state::load_file(const std::string& file) + { +- if (!::access(file.c_str(), R_OK) == 0) ++ if (::access(file.c_str(), R_OK) == -1) + throw lutok::file_not_found_error(file); + if (luaL_loadfile(_pimpl->lua_state, file.c_str()) != 0) + throw lutok::api_error::from_stack(*this, "luaL_loadfile"); Property changes on: head/devel/lutok/files/patch-state.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property