summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl-gentoo@posteo.net>2021-02-09 00:14:44 +0100
committerSam James <sam@gentoo.org>2021-02-09 08:48:51 +0000
commit7636414fbc647c2b6b9c9de31be50c86df356808 (patch)
treef8dff5e96a96ab54fcec2ea967df0c84e94b8c07 /dev-libs/tvision/files
parentapp-shells/fzf: drop old (diff)
downloadgentoo-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/files')
-rw-r--r--dev-libs/tvision/files/tvision-2.2.1.4-Gentoo-specific-fix-linker-paths.patch33
1 files changed, 33 insertions, 0 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
+