import freerdp-2.2.0-1.el8
This commit is contained in:
parent
c178d4fe83
commit
5c6a07b87f
@ -1 +1 @@
|
||||
74013042a9d8bdbfd58f0a887f197702183c0df9 SOURCES/FreeRDP-2.1.1.tar.gz
|
||||
84f51c81388c8b49346b9c5a7c4c982909017443 SOURCES/FreeRDP-2.2.0.tar.gz
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/FreeRDP-2.1.1.tar.gz
|
||||
SOURCES/FreeRDP-2.2.0.tar.gz
|
||||
|
@ -1,32 +0,0 @@
|
||||
From d8cd671cc68d503757e32eb80f7a4dee44e47754 Mon Sep 17 00:00:00 2001
|
||||
From: Ondrej Holy <oholy@redhat.com>
|
||||
Date: Wed, 27 May 2020 08:43:00 +0200
|
||||
Subject: [PATCH] winpr/library: Use RTLD_GLOBAL for dlopen
|
||||
|
||||
LoadLibraryA implementation uses the RTLD_LOCAL flag for dlopen currently.
|
||||
This flag doesn't allow the symbols to be used by the subsequently loaded
|
||||
libraries. This is a problem for the video channel when -DBUILTIN_CHANNELS=OFF
|
||||
is used as it uses functions from the geometry channel. Let's use RTLD_GLOBAL
|
||||
instead to prevent "undefined symbol" errors in such cases.
|
||||
|
||||
Fixes: https://github.com/FreeRDP/FreeRDP/issues/6236
|
||||
---
|
||||
winpr/libwinpr/library/library.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/winpr/libwinpr/library/library.c b/winpr/libwinpr/library/library.c
|
||||
index f44a96d27..8d33227b2 100644
|
||||
--- a/winpr/libwinpr/library/library.c
|
||||
+++ b/winpr/libwinpr/library/library.c
|
||||
@@ -125,7 +125,7 @@ HMODULE LoadLibraryA(LPCSTR lpLibFileName)
|
||||
return hModule;
|
||||
#else
|
||||
HMODULE library;
|
||||
- library = dlopen(lpLibFileName, RTLD_LOCAL | RTLD_LAZY);
|
||||
+ library = dlopen(lpLibFileName, RTLD_GLOBAL | RTLD_LAZY);
|
||||
|
||||
if (!library)
|
||||
{
|
||||
--
|
||||
2.26.2
|
||||
|
@ -21,7 +21,7 @@
|
||||
%endif
|
||||
|
||||
Name: freerdp
|
||||
Version: 2.1.1
|
||||
Version: 2.2.0
|
||||
Release: 1%{?dist}
|
||||
Epoch: 2
|
||||
Summary: Free implementation of the Remote Desktop Protocol (RDP)
|
||||
@ -30,8 +30,6 @@ URL: http://www.freerdp.com/
|
||||
|
||||
Source0: https://github.com/FreeRDP/FreeRDP/archive/%{version}/FreeRDP-%{version}.tar.gz
|
||||
|
||||
Patch1: winpr-library-Use-RTLD_GLOBAL-for-dlopen.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: alsa-lib-devel
|
||||
@ -302,6 +300,9 @@ find %{buildroot} -name "*.a" -delete
|
||||
%{_libdir}/pkgconfig/winpr-tools2.pc
|
||||
|
||||
%changelog
|
||||
* Fri Nov 20 2020 Ondrej Holy <oholy@redhat.com> - 2:2.2.0-1
|
||||
- Update to 2.2.0 (rhbz#1881971)
|
||||
|
||||
* Mon May 25 2020 Ondrej Holy <oholy@redhat.com> - 2:2.1.1-1
|
||||
- Update to 2.1.1 (rhbz#1834287).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user