forked from pool/ncurses
Work around missing defintion of GSS_NORETURN
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=460
This commit is contained in:
parent
12696e09fb
commit
af18c868b8
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 09:25:48 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add temporary patch workaround-20191214.patch to add missed
|
||||
declaration of GCC_NORETURN in term.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 17 09:03:41 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -75,6 +75,7 @@ Source7: baselibs.conf
|
||||
Patch0: ncurses-6.1.dif
|
||||
Patch1: ncurses-5.9-ibm327x.dif
|
||||
Patch2: ncurses-5.7-tack.dif
|
||||
Patch3: workaround-20191214.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _miscdir %{_datadir}/misc
|
||||
%global _incdir %{_includedir}
|
||||
@ -311,6 +312,7 @@ tar -xzf %{S:5}
|
||||
mv tack-* tack
|
||||
%patch1 -p0 -b .327x
|
||||
%patch2 -p0 -b .hs
|
||||
%patch3 -p0 -b .workaround
|
||||
%patch0 -p0 -b .p0
|
||||
|
||||
%build
|
||||
|
16
workaround-20191214.patch
Normal file
16
workaround-20191214.patch
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
include/MKterm.h.awk.in | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- include/MKterm.h.awk.in
|
||||
+++ include/MKterm.h.awk.in 2019-12-18 09:23:20.480600045 +0000
|
||||
@@ -376,6 +376,9 @@ END {
|
||||
print "/*"
|
||||
print " * Debugging features."
|
||||
print " */"
|
||||
+ print "#ifndef GCC_NORETURN"
|
||||
+ print "#define GCC_NORETURN /* nothing */"
|
||||
+ print "#endif"
|
||||
print "extern NCURSES_EXPORT(void) exit_terminfo(int) GCC_NORETURN;"
|
||||
print ""
|
||||
print "#ifdef __cplusplus"
|
Loading…
Reference in New Issue
Block a user