Package: lua-posix
Version: 33.4.0-2.1
Followup-For: Bug #891541

Control: tags 891541 + patch
Control: thanks

Alexander Grund wrote on Mon, 12 Mar 2018 16:18:39 +0100:
> The reason for this happening is that lua-posix changed its main module 
> name from posix_c to posix. The maintainers of the debian package missed 
> that and still install a symlink from 
> /usr/lib/x86_64-linux-gnu/lua/5.1/posix_c.so.

Thank you for those pointers, the following patch seems to fix this issue for
me :-)

 - Roland
From: Roland Hieber <roh...@rohieb.name>
Date: Wed, 4 Apr 2018 17:21:40 +0200
Subject: [PATCH] WIP: posix_c.so -> posix.so

---
 debian/lua5.1.posix.dh-lua.conf | 2 +-
 1 files changed, 1 insertions(+), 1 deletion(-)

diff --git a/debian/lua5.1.posix.dh-lua.conf b/debian/lua5.1.posix.dh-lua.conf
index 802652f..c5a8871 100644
--- a/debian/lua5.1.posix.dh-lua.conf
+++ b/debian/lua5.1.posix.dh-lua.conf
@@ -12,7 +12,7 @@ LUA_HEADER=
 LUA_SOURCES=lib/posix/*.lua
 LUA_SOURCES_MANGLER=sed -e 's?^lib/??'
 LUA_MODNAME=posix
-LUA_MODNAME_CPART=posix_c
+LUA_MODNAME_CPART=posix
 
 ### this part is relative to pkg-config
 PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' 
-f 1)
-- 
2.16.3

Reply via email to