summaryrefslogtreecommitdiff
path: root/Ports/gltron/patches/0002-Build-Remove-ansi-build-argument.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/gltron/patches/0002-Build-Remove-ansi-build-argument.patch')
-rw-r--r--Ports/gltron/patches/0002-Build-Remove-ansi-build-argument.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/Ports/gltron/patches/0002-Build-Remove-ansi-build-argument.patch b/Ports/gltron/patches/0002-Build-Remove-ansi-build-argument.patch
new file mode 100644
index 0000000000..34db1f8964
--- /dev/null
+++ b/Ports/gltron/patches/0002-Build-Remove-ansi-build-argument.patch
@@ -0,0 +1,36 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Jelle Raaijmakers <jelle@gmta.nl>
+Date: Mon, 9 May 2022 00:30:54 +0200
+Subject: [PATCH] Build: Remove `-ansi` build argument
+
+---
+ lua/src/Makefile.in | 2 +-
+ lua/src/lib/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lua/src/Makefile.in b/lua/src/Makefile.in
+index 22ee463..fa110ef 100644
+--- a/lua/src/Makefile.in
++++ b/lua/src/Makefile.in
+@@ -84,7 +84,7 @@ noinst_LIBRARIES = liblua.a
+
+ DEFS =
+ AM_CPPFLAGS =
+-AM_CFLAGS = -ansi -pedantic -Wall -I$(srcdir) -I$(top_srcdir)/lua/include
++AM_CFLAGS = -pedantic -Wall -I$(srcdir) -I$(top_srcdir)/lua/include
+ LDFLAGS =
+ LIBS = -lm
+
+diff --git a/lua/src/lib/Makefile.in b/lua/src/lib/Makefile.in
+index e2f256f..d2f4040 100644
+--- a/lua/src/lib/Makefile.in
++++ b/lua/src/lib/Makefile.in
+@@ -82,7 +82,7 @@ noinst_LIBRARIES = liblualib.a
+
+ DEFS =
+ CPPFLAGS =
+-CFLAGS = -ansi -pedantic -Wall -I$(srcdir)/.. -I$(top_srcdir)/lua/include
++CFLAGS = -pedantic -Wall -I$(srcdir)/.. -I$(top_srcdir)/lua/include
+ LDFLAGS =
+ LIBS = -lm
+