Compare commits
3 Commits
master
...
f29-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 899d05f147 | |
David Abdurachmanov | 85abe445d3 | |
David Abdurachmanov | 55886a9a78 |
|
@ -46,7 +46,7 @@ BuildRequires: pkgconfig(libsystemd)
|
||||||
Name: qt5-qtbase
|
Name: qt5-qtbase
|
||||||
Summary: Qt5 - QtBase components
|
Summary: Qt5 - QtBase components
|
||||||
Version: 5.11.1
|
Version: 5.11.1
|
||||||
Release: 7%{?dist}
|
Release: 7.0.riscv64%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, for exception details
|
# See LGPL_EXCEPTIONS.txt, for exception details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
|
@ -118,6 +118,9 @@ Patch68: qtbase-everywhere-src-5.11.1-python3.patch
|
||||||
# glibc stat
|
# glibc stat
|
||||||
Patch69: qt5-qtbase-glibc.patch
|
Patch69: qt5-qtbase-glibc.patch
|
||||||
|
|
||||||
|
# add support for RISC-V (riscv64)
|
||||||
|
Patch80: qtbase5-double-conversion-add-riscv.patch
|
||||||
|
|
||||||
## upstream patches
|
## upstream patches
|
||||||
|
|
||||||
# Do not check any files in %%{_qt5_plugindir}/platformthemes/ for requires.
|
# Do not check any files in %%{_qt5_plugindir}/platformthemes/ for requires.
|
||||||
|
@ -373,6 +376,7 @@ Qt5 libraries used for drawing widgets and OpenGL items.
|
||||||
%if 0%{?fedora} > 28
|
%if 0%{?fedora} > 28
|
||||||
%patch69 -p1 -b .glibc
|
%patch69 -p1 -b .glibc
|
||||||
%endif
|
%endif
|
||||||
|
%patch80 -p1 -b .double_con_riscv
|
||||||
|
|
||||||
## upstream patches
|
## upstream patches
|
||||||
|
|
||||||
|
@ -983,6 +987,9 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 20 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 5.11.1-7.0.riscv64
|
||||||
|
- add support for RISC-V (riscv64)
|
||||||
|
|
||||||
* Thu Jul 26 2018 Than Ngo <than@redhat.com> - 5.11.1-7
|
* Thu Jul 26 2018 Than Ngo <than@redhat.com> - 5.11.1-7
|
||||||
- fixed FTBFS
|
- fixed FTBFS
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
||||||
|
index 20bfd36..fe6cb4c 100644
|
||||||
|
--- a/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
||||||
|
+++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h
|
||||||
|
@@ -65,7 +65,8 @@
|
||||||
|
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
|
||||||
|
defined(__SH4__) || defined(__alpha__) || \
|
||||||
|
defined(_MIPS_ARCH_MIPS32R2) || \
|
||||||
|
- defined(__AARCH64EL__)
|
||||||
|
+ defined(__AARCH64EL__) || \
|
||||||
|
+ defined(__riscv)
|
||||||
|
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||||
|
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
|
||||||
|
#if defined(_WIN32)
|
Loading…
Reference in New Issue