Define LUA_COMPAT_5_2 in addition to LUA_COMPAT_5_1
https://bugzilla.redhat.com/show_bug.cgi?id=1204129
This commit is contained in:
parent
5ba464150d
commit
d154148518
|
@ -1,7 +1,7 @@
|
||||||
diff -up lua-5.2.2/configure.ac.compat-module lua-5.2.2/configure.ac
|
diff -up lua-5.2.2/configure.ac.compat-module lua-5.2.2/configure.ac
|
||||||
--- lua-5.2.2/configure.ac.compat-module 2013-05-10 10:16:05.344137597 -0400
|
--- lua-5.2.2/configure.ac.compat-module 2013-05-10 10:16:05.344137597 -0400
|
||||||
+++ lua-5.2.2/configure.ac 2013-05-10 10:16:05.357137596 -0400
|
+++ lua-5.2.2/configure.ac 2013-05-10 10:16:05.357137596 -0400
|
||||||
@@ -11,6 +11,19 @@ AC_PROG_CC
|
@@ -11,6 +11,20 @@ AC_PROG_CC
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
|
|
||||||
AC_ARG_WITH(
|
AC_ARG_WITH(
|
||||||
|
@ -13,7 +13,8 @@ diff -up lua-5.2.2/configure.ac.compat-module lua-5.2.2/configure.ac
|
||||||
+
|
+
|
||||||
+COMPAT_DEFS="#undef LUA_COMPAT_ALL"
|
+COMPAT_DEFS="#undef LUA_COMPAT_ALL"
|
||||||
+if test "x$use_compat_module" == "xyes"; then
|
+if test "x$use_compat_module" == "xyes"; then
|
||||||
+ COMPAT_DEFS="#define LUA_COMPAT_5_1"
|
+ COMPAT_DEFS="#define LUA_COMPAT_5_1
|
||||||
|
+#define LUA_COMPAT_5_2"
|
||||||
+fi
|
+fi
|
||||||
+AC_SUBST(COMPAT_DEFS)
|
+AC_SUBST(COMPAT_DEFS)
|
||||||
+
|
+
|
||||||
|
|
5
lua.spec
5
lua.spec
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
Name: lua
|
Name: lua
|
||||||
Version: %{major_version}.0
|
Version: %{major_version}.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Powerful light-weight programming language
|
Summary: Powerful light-weight programming language
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@ -159,6 +159,9 @@ popd
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 20 2015 Kalev Lember <kalevlember@gmail.com> - 5.3.0-2
|
||||||
|
- Define LUA_COMPAT_5_2 in addition to LUA_COMPAT_5_1 (#1204129)
|
||||||
|
|
||||||
* Thu Jan 15 2015 Tom Callaway <spot@fedoraproject.org> - 5.3.0-1
|
* Thu Jan 15 2015 Tom Callaway <spot@fedoraproject.org> - 5.3.0-1
|
||||||
- update to 5.3.0
|
- update to 5.3.0
|
||||||
- add bootstrapping glue
|
- add bootstrapping glue
|
||||||
|
|
Loading…
Reference in New Issue