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
1b0764b470
commit
1d166ab1f9
@ -1,7 +1,7 @@
|
||||
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 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_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"
|
||||
+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
|
||||
+AC_SUBST(COMPAT_DEFS)
|
||||
+
|
||||
|
5
lua.spec
5
lua.spec
@ -9,7 +9,7 @@
|
||||
|
||||
Name: lua
|
||||
Version: %{major_version}.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Powerful light-weight programming language
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
@ -159,6 +159,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 20 2015 Kalev Lember <kalevlember@gmail.com> - 5.3.0-3
|
||||
- Define LUA_COMPAT_5_2 in addition to LUA_COMPAT_5_1 (#1204129)
|
||||
|
||||
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 5.3.0-2
|
||||
- Rebuilt for Fedora 23 Change
|
||||
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||
|
Loading…
Reference in New Issue
Block a user