diff --git a/love-0.10.2-luajit2.1.0beta3.patch b/love-0.10.2-luajit2.1.0beta3.patch index a8568f7..2f132f3 100644 --- a/love-0.10.2-luajit2.1.0beta3.patch +++ b/love-0.10.2-luajit2.1.0beta3.patch @@ -10,17 +10,6 @@ Note that luasocket 3.0 (in minor) targets lua 5.1, so it does not rely on a release seems unlikely at this point, this commit is mostly targeted at future packagers of older love versions. -diff --git a/changes.txt b/changes.txt ---- a/changes.txt -+++ b/changes.txt -@@ -8,6 +8,7 @@ - * Fixed Shader:send and Shader:sendColor ignoring the last argument for an array. - * Fixed a crash when love.graphics.pop is called after a love.window.setMode while the transformation stack was not empty. - * Fixed BezierCurves to error instead of hanging in some situations. -+ * Fixed compilation of luasocket with newer luajit 2.1.0 beta versions. - - * Improved command line argument handling. - * Improved seeking support, especially for short video files. diff --git a/src/libraries/luasocket/libluasocket/lua.h b/src/libraries/luasocket/libluasocket/lua.h --- a/src/libraries/luasocket/libluasocket/lua.h +++ b/src/libraries/luasocket/libluasocket/lua.h diff --git a/love.spec b/love.spec index 6709ae9..0753f9e 100644 --- a/love.spec +++ b/love.spec @@ -18,7 +18,7 @@ Source0: https://bitbucket.org/rude/%{name}/get/%{version}.tar.gz #From upstream: #https://bitbucket.org/rude/love/commits/10f58e78bbfd82b681a45aeaf1177a765726bb31 -%if 0%{?fedora} > 26 +%if 0%{?fedora} > 25 Patch1: %{name}-%{version}-luajit2.1.0beta3.patch %endif