From 2758c9e03cef3594120879475eff770daeebc42c Mon Sep 17 00:00:00 2001
From: Ian Douglas Scott <ian@iandouglasscott.com>
Date: Wed, 29 Mar 2017 13:38:32 -0700
Subject: [PATCH] Build Lua without patch

---
 recipes/lua/patch     | 15 ---------------
 recipes/lua/recipe.sh |  2 +-
 2 files changed, 1 insertion(+), 16 deletions(-)
 delete mode 100644 recipes/lua/patch

diff --git a/recipes/lua/patch b/recipes/lua/patch
deleted file mode 100644
index 7c69ec7e7..000000000
--- a/recipes/lua/patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -rupN lua/src/Makefile lua-redox/src/Makefile
---- lua/src/Makefile	2015-05-27 04:10:11.000000000 -0700
-+++ lua-redox/src/Makefile	2016-07-27 18:08:54.167232304 -0700
-@@ -4,9 +4,9 @@
- # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
-
- # Your platform. See PLATS for possible values.
--PLAT= none
-+PLAT= posix
-
--CC= gcc -std=gnu99
-+CC:= $(CC) -std=gnu99
- CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
- LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
- LIBS= -lm $(SYSLIBS) $(MYLIBS)
diff --git a/recipes/lua/recipe.sh b/recipes/lua/recipe.sh
index 0e0a2b338..bdac657dd 100644
--- a/recipes/lua/recipe.sh
+++ b/recipes/lua/recipe.sh
@@ -13,7 +13,7 @@ function recipe_update {
 }
 
 function recipe_build {
-    make generic
+    make generic CC="$CC -std=gnu99"
     return 1
 }
 
-- 
GitLab