openbsd-ports/net/luasocket/patches/patch-mime_c

23 lines
734 B
Plaintext

$OpenBSD: patch-mime_c,v 1.1 2005/04/19 15:14:38 pedro Exp $
--- mime.c.orig Sat Jan 15 20:52:38 2005
+++ mime.c Sat Apr 16 18:06:59 2005
@@ -8,8 +8,7 @@
#include <lua.h>
#include <lauxlib.h>
-
-#include "compat-5.1.h"
+#include <luacompat.h>
#include "mime.h"
/*=========================================================================*\
@@ -78,7 +77,7 @@ static UC b64unbase[256];
/*-------------------------------------------------------------------------*\
* Initializes module
\*-------------------------------------------------------------------------*/
-MIME_API int luaopen_lmime(lua_State *L)
+MIME_API int luaopen_luamime(lua_State *L)
{
luaL_module(L, "mime", func, 0);
/* initialize lookup tables */