Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ncurses-libs: provide libncurses.so.{5,6}
@ 2020-07-20  4:09 gt7-void
  2020-07-21 15:59 ` [PR PATCH] [Closed]: " q66
  0 siblings, 1 reply; 2+ messages in thread
From: gt7-void @ 2020-07-20  4:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

There is a new pull request by gt7-void against master on the void-packages repository

https://github.com/gt7-void/void-packages ncurses
https://github.com/void-linux/void-packages/pull/23660

ncurses-libs: provide libncurses.so.{5,6}
For compatibility, provide symlinks

    /usr/lib/libncurses.so.5 -> /usr/lib/libncurses.so.6.2
    /usr/lib/libncurses.so.6 -> /usr/lib/libncurses.so.6.2

A patch file from https://github.com/void-linux/void-packages/pull/23660.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ncurses-23660.patch --]
[-- Type: text/x-diff, Size: 1523 bytes --]

From 37f47318107975b56192a84fec9502b534628f4d Mon Sep 17 00:00:00 2001
From: gt7-void <gt7@mail.com>
Date: Mon, 20 Jul 2020 01:00:37 -0300
Subject: [PATCH] ncurses-libs: provide libncurses.so.{5,6}

For compatibility, provide symlinks

    /usr/lib/libncurses.so.5 -> /usr/lib/libncurses.so.6.2
    /usr/lib/libncurses.so.6 -> /usr/lib/libncurses.so.6.2
---
 srcpkgs/ncurses/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncurses/template b/srcpkgs/ncurses/template
index eb0b4fcafc7..f4c048b2a3c 100644
--- a/srcpkgs/ncurses/template
+++ b/srcpkgs/ncurses/template
@@ -1,7 +1,7 @@
 # Template file for 'ncurses'
 pkgname=ncurses
 version=6.2
-revision=2
+revision=3
 bootstrap=yes
 configure_args="--enable-big-core"
 short_desc="System V Release 4.0 curses emulation library"
@@ -78,6 +78,8 @@ do_install() {
 	cd ${wrksrc}/ncurses-build
 	install -Dm755 lib/libncurses.so.${version} \
 		${DESTDIR}/usr/lib/libncurses.so.${version}
+	ln -sf libncurses.so.${version} ${DESTDIR}/usr/lib/libncurses.so.6
+	ln -sf libncurses.so.${version} ${DESTDIR}/usr/lib/libncurses.so.5
 
 	# Create libtinfo symlinks.
 	ln -sfr ${DESTDIR}/usr/lib/libncursesw.so \
@@ -107,7 +109,7 @@ do_install() {
 }
 
 ncurses-libs_package() {
-	shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5"
+	shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5 libncurses.so.5"
 	short_desc+=" -- shared libraries"
 	pkg_install() {
 		vmove "usr/lib/libform*.so.*"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: ncurses-libs: provide libncurses.so.{5,6}
  2020-07-20  4:09 [PR PATCH] ncurses-libs: provide libncurses.so.{5,6} gt7-void
@ 2020-07-21 15:59 ` q66
  0 siblings, 0 replies; 2+ messages in thread
From: q66 @ 2020-07-21 15:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There's a closed pull request on the void-packages repository

ncurses-libs: provide libncurses.so.{5,6}
https://github.com/void-linux/void-packages/pull/23660

Description:
For compatibility, provide symlinks

    /usr/lib/libncurses.so.5 -> /usr/lib/libncurses.so.6.2
    /usr/lib/libncurses.so.6 -> /usr/lib/libncurses.so.6.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-21 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20  4:09 [PR PATCH] ncurses-libs: provide libncurses.so.{5,6} gt7-void
2020-07-21 15:59 ` [PR PATCH] [Closed]: " q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).