!27 upload readline-8.0-shlib.patch to fix undefined symbol problem
From: @ziyangc Reviewed-by: @hubin95 Signed-off-by: @hubin95
This commit is contained in:
commit
151d4e6298
30
readline-8.0-shlib.patch
Normal file
30
readline-8.0-shlib.patch
Normal file
@ -0,0 +1,30 @@
|
||||
From 3c0b10478d91274e761a50c5958b6a3645a4e8ee Mon Sep 17 00:00:00 2001
|
||||
From: Jan Chaloupka <jchaloup@redhat.com>
|
||||
Date: Mon, 21 Jul 2014 13:50:01 +0200
|
||||
Subject: [PATCH] shlib
|
||||
|
||||
---
|
||||
support/shobj-conf | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/support/shobj-conf b/support/shobj-conf
|
||||
index cd7634d..b9df437 100644
|
||||
--- a/support/shobj-conf
|
||||
+++ b/support/shobj-conf
|
||||
@@ -126,10 +126,11 @@ sunos5*|solaris2*)
|
||||
linux*-*|gnu*-*|k*bsd*-gnu-*|midnightbsd*|freebsd*|dragonfly*)
|
||||
SHOBJ_CFLAGS=-fPIC
|
||||
SHOBJ_LD='${CC}'
|
||||
- SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
|
||||
+ SHOBJ_LDFLAGS='$(CFLAGS) -shared -Wl,-soname,$@'
|
||||
|
||||
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
||||
+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
||||
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
|
||||
+ SHLIB_LIBS='-ltinfo'
|
||||
;;
|
||||
|
||||
# Darwin/MacOS X
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
Name: readline
|
||||
Version: 8.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Readline library for editing typed command lines
|
||||
|
||||
License: GPLv3+
|
||||
URL: http://tiswww.case.edu/php/chet/readline/rltop.html
|
||||
Source0: http://git.savannah.gnu.org/cgit/readline.git/snapshot/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: readline-8.0-shlib.patch
|
||||
|
||||
BuildRequires: gcc gcc-c++ ncurses-devel
|
||||
|
||||
%description
|
||||
@ -78,6 +80,9 @@ export CPPFLAGS="-I%{_includedir}/ncurses"
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 1 2023 chenziyang <chenziyang4@huawei.com> - 8.2-2
|
||||
- upload readline-8.0-shlib.patch to fix undefined symbol problem
|
||||
|
||||
* Tue Jan 31 2023 chenziyang <chenziyang4@huawei.com> - 8.2-1
|
||||
- update to 8.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user