openbsd-ports/devel/lua-cjson/patches/patch-lua_lua2json_lua
jasper 0cabe581a1 import lua-cjson-2.1.0
Lua CJSON provides JSON support for Lua.

Features:
- Fast, standards compliant encoding/parsing routines.
- Full support for JSON with UTF-8, including decoding surrogate pairs.
- Optional run-time support for common exceptions to the JSON
  specification (infinity, NaN,..).
- No dependencies on other libraries.

ok dcoppa@
2012-11-26 09:52:13 +00:00

10 lines
267 B
Plaintext

$OpenBSD: patch-lua_lua2json_lua,v 1.1.1.1 2012/11/26 09:52:13 jasper Exp $
--- lua/lua2json.lua.orig Tue Nov 20 19:44:13 2012
+++ lua/lua2json.lua Tue Nov 20 19:44:20 2012
@@ -1,4 +1,4 @@
-#!/usr/bin/env lua
+#!${MODLUA_BIN}
-- usage: lua2json.lua [lua_file]
--