diff options
author | Kalev Lember <kalevlember@gmail.com> | 2015-03-20 11:51:47 +0100 |
---|---|---|
committer | Kalev Lember <kalevlember@gmail.com> | 2015-03-20 11:56:31 +0100 |
commit | 1d166ab1f94a779caf1cca5c4db556185a541dde (patch) | |
tree | 0af29d665fec7cc9f22a16c56f58595b0bfbb2bb | |
parent | 1b0764b470a9cf8510b835052a029693334574e6 (diff) | |
download | lua-1d166ab1f94a779caf1cca5c4db556185a541dde.tar.gz lua-1d166ab1f94a779caf1cca5c4db556185a541dde.tar.xz lua-1d166ab1f94a779caf1cca5c4db556185a541dde.zip |
Define LUA_COMPAT_5_2 in addition to LUA_COMPAT_5_1
https://bugzilla.redhat.com/show_bug.cgi?id=1204129
-rw-r--r-- | lua-5.3.0-configure-compat-module.patch | 5 | ||||
-rw-r--r-- | lua.spec | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lua-5.3.0-configure-compat-module.patch b/lua-5.3.0-configure-compat-module.patch index 567a5fc..bd5d41d 100644 --- a/lua-5.3.0-configure-compat-module.patch +++ b/lua-5.3.0-configure-compat-module.patch @@ -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) + @@ -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 |