Buildroot 2018-11 (#258)
* Update to buildroot 2018.11 * containerd update * runc update * runc docker engine * runc docker proxy * update rpi firmware * update network manager * update dhcpd * update wait on network * update rpi wifi * revert glibc
This commit is contained in:
31
buildroot/package/lua/5.3.5/0003-fix-revision-number.patch
Normal file
31
buildroot/package/lua/5.3.5/0003-fix-revision-number.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
Fix revision number
|
||||
|
||||
In 0002-shared-libs-for-lua.patch, revision number is used to set
|
||||
library name:
|
||||
TO_SOLIB = liblua.so.$(R)
|
||||
|
||||
However, library is built using PKG_VERSION which is passed only during
|
||||
build step:
|
||||
$(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
|
||||
|
||||
As a result, dynamic library is not installed in staging or target paths
|
||||
since bump to lua 5.3.5
|
||||
|
||||
So, instead of replacing R by PKG_VERSION and passing this variable in
|
||||
all steps, simply update R to 5
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -47,6 +47,6 @@
|
||||
|
||||
# Lua version and release.
|
||||
V= 5.3
|
||||
-R= $V.4
|
||||
+R= $V.5
|
||||
|
||||
# Targets start here.
|
||||
all: $(PLAT)
|
||||
@@ -1,6 +1,6 @@
|
||||
# Hashes from: http://www.lua.org/ftp/
|
||||
md5 53a9c68bcc0eda58bdc2095ad5cdfc63 lua-5.3.4.tar.gz
|
||||
sha1 79790cfd40e09ba796b01a571d4d63b52b1cd950 lua-5.3.4.tar.gz
|
||||
md5 4f4b4f323fd3514a68e0ab3da8ce3455 lua-5.3.5.tar.gz
|
||||
sha1 112eb10ff04d1b4c9898e121d6bdf54a81482447 lua-5.3.5.tar.gz
|
||||
|
||||
md5 913fdb32207046b273fdb17aad70be13 lua-5.2.4.tar.gz
|
||||
sha1 ef15259421197e3d85b7d6e4871b8c26fd82c1cf lua-5.2.4.tar.gz
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_3),y)
|
||||
LUA_VERSION = 5.3.4
|
||||
LUA_VERSION = 5.3.5
|
||||
else
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_2),y)
|
||||
LUA_VERSION = 5.2.4
|
||||
|
||||
Reference in New Issue
Block a user