diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2021-02-09 00:14:44 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-09 08:48:51 +0000 |
commit | 7636414fbc647c2b6b9c9de31be50c86df356808 (patch) | |
tree | f8dff5e96a96ab54fcec2ea967df0c84e94b8c07 /dev-libs/tvision | |
parent | app-shells/fzf: drop old (diff) | |
download | gentoo-7636414fbc647c2b6b9c9de31be50c86df356808.tar.gz gentoo-7636414fbc647c2b6b9c9de31be50c86df356808.tar.bz2 gentoo-7636414fbc647c2b6b9c9de31be50c86df356808.zip |
dev-libs/tvision: fix linker flags
Enables linking with LLD
Fix metadata issues.
Closes: https://bugs.gentoo.org/737202
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19382
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/tvision')
-rw-r--r-- | dev-libs/tvision/files/tvision-2.2.1.4-Gentoo-specific-fix-linker-paths.patch | 33 | ||||
-rw-r--r-- | dev-libs/tvision/metadata.xml | 4 | ||||
-rw-r--r-- | dev-libs/tvision/tvision-2.2.1.4.ebuild | 4 |
3 files changed, 37 insertions, 4 deletions
diff --git a/dev-libs/tvision/files/tvision-2.2.1.4-Gentoo-specific-fix-linker-paths.patch b/dev-libs/tvision/files/tvision-2.2.1.4-Gentoo-specific-fix-linker-paths.patch new file mode 100644 index 000000000000..6721aa9c029c --- /dev/null +++ b/dev-libs/tvision/files/tvision-2.2.1.4-Gentoo-specific-fix-linker-paths.patch @@ -0,0 +1,33 @@ +From 62fce1e63e92ae71e2ce061c40ba736f4b22f71d Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Mon, 8 Feb 2021 23:43:47 +0100 +Subject: [PATCH] [Gentoo-specific] fix linker paths + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- + config.pl | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config.pl b/config.pl +index 4664baa..9e2cb96 100644 +--- a/config.pl ++++ b/config.pl +@@ -179,13 +179,13 @@ if ($OS eq 'UNIX') + # QNX 6.2 beta 3 workaround + $MakeDefsRHIDE[3].='/lib ' if ($OSf eq 'QNXRtP'); + # Link with installed libraries +- $MakeDefsRHIDE[3].=$realPrefix.'/lib'; ++ #$MakeDefsRHIDE[3].=$realPrefix.'/lib'; + $MakeDefsRHIDE[3].='/'.$conf{'libs-subdir'} if $conf{'libs-subdir'}; + $MakeDefsRHIDE[3].=' '; + $MakeDefsRHIDE[3].='../../makes ' unless $conf{'libs-here'} eq 'no'; + $MakeDefsRHIDE[3].=$here.'/makes ' unless $conf{'libs-here'} eq 'no'; + $MakeDefsRHIDE[3].='../../intl/dummy ' if $UseDummyIntl; +- $MakeDefsRHIDE[3].=$conf{'X11LibPath'}.' ' if ($conf{'HAVE_X11'} eq 'yes'); ++ #$MakeDefsRHIDE[3].=$conf{'X11LibPath'}.' ' if ($conf{'HAVE_X11'} eq 'yes'); + $MakeDefsRHIDE[3].=$AllegroPath.' ' if $conf{'HAVE_ALLEGRO'} eq 'yes'; + } + elsif ($OS eq 'DOS') +-- +2.30.0 + diff --git a/dev-libs/tvision/metadata.xml b/dev-libs/tvision/metadata.xml index f49a07fd74f4..2b609c0582b1 100644 --- a/dev-libs/tvision/metadata.xml +++ b/dev-libs/tvision/metadata.xml @@ -10,11 +10,11 @@ <name>Proxy Maintainers</name> </maintainer> <use> - <flag restrict=">dev-libs/tvision-2.2.1-r4" name="gpm"> + <flag name="gpm"> Support text mode mouse through <pkg>sys-libs/gpm</pkg> </flag> </use> <upstream> - <remote-id type="sourceforge">tvision</remote-id> + <remote-id type="github">set-soft/tvision</remote-id> </upstream> </pkgmetadata> diff --git a/dev-libs/tvision/tvision-2.2.1.4.ebuild b/dev-libs/tvision/tvision-2.2.1.4.ebuild index 4cbbeea9403b..08f6776519ed 100644 --- a/dev-libs/tvision/tvision-2.2.1.4.ebuild +++ b/dev-libs/tvision/tvision-2.2.1.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -45,6 +45,7 @@ PATCHES=( "${FILESDIR}/${P}-gcc6.patch" "${FILESDIR}/${P}-flags.patch" "${FILESDIR}/${P}-fix-overloaded-abs.patch" + "${FILESDIR}/${P}-Gentoo-specific-fix-linker-paths.patch" ) src_configure() { @@ -62,7 +63,6 @@ src_install() { libdir="\$(prefix)/$(get_libdir)" einstalldocs - dosym rhtvision /usr/include/tvision # remove CVS directory which gets copied over rm -r "${ED}/usr/share/doc/${P}/html/CVS" || die |