head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.06.07.13.01.30; author wiz; state Exp; branches; next ; commitid y7ABTubxFMQnORIG; desc @@ 1.1 log @lua-gi: apply upstream patch to improve error messages Bump PKGREVISION. @ text @$NetBSD$ Wrap gi.require with assert in class.lua and ffi.lua https://github.com/lgi-devs/lgi/commit/5233d837046988296b1b442ecb269b4be91e0b7f --- lgi/class.lua.orig 2017-10-09 18:55:55.000000000 +0000 +++ lgi/class.lua @@@@ -20,7 +20,7 @@@@ local ti = ffi.types local record = require 'lgi.record' local ffi = require 'lgi.ffi' local ti = ffi.types -local GObject = gi.require 'GObject' +local GObject = assert(gi.require('GObject')) -- Implementation of class and interface component loading. local class = { @