Apply temporary fix for armhfp build issue
This commit is contained in:
parent
c6ef02b1b4
commit
bf5e09bbb8
15
glibc-fedora-armhfp-long-double-hotfix.patch
Normal file
15
glibc-fedora-armhfp-long-double-hotfix.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
This is based on the suggestion here:
|
||||||
|
|
||||||
|
<https://sourceware.org/ml/libc-alpha/2015-11/msg00174.html>
|
||||||
|
|
||||||
|
diff -up glibc-2.22-517-g2eecc8a/math/test-signgam-finite-c99.c.armhfp glibc-2.22-517-g2eecc8a/math/test-signgam-finite-c99.c
|
||||||
|
--- glibc-2.22-517-g2eecc8a/math/test-signgam-finite-c99.c.armhfp 2015-11-09 17:30:15.873258439 +0100
|
||||||
|
+++ glibc-2.22-517-g2eecc8a/math/test-signgam-finite-c99.c 2015-11-09 17:31:04.806517973 +0100
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
|
||||||
|
#undef _LIBC
|
||||||
|
#undef _GNU_SOURCE
|
||||||
|
+#undef _Mlong_double_
|
||||||
|
#define _ISOMAC
|
||||||
|
|
||||||
|
#include <math.h>
|
@ -1,6 +1,6 @@
|
|||||||
%define glibcsrcdir glibc-2.22-517-g2eecc8a
|
%define glibcsrcdir glibc-2.22-517-g2eecc8a
|
||||||
%define glibcversion 2.22.90
|
%define glibcversion 2.22.90
|
||||||
%define glibcrelease 15%{?dist}
|
%define glibcrelease 16%{?dist}
|
||||||
# Pre-release tarballs are pulled in from git using a command that is
|
# Pre-release tarballs are pulled in from git using a command that is
|
||||||
# effectively:
|
# effectively:
|
||||||
#
|
#
|
||||||
@ -230,6 +230,9 @@ Patch0058: glibc-bug-regex-gcc5.patch
|
|||||||
# Add C.UTF-8 locale into /usr/lib/locale/
|
# Add C.UTF-8 locale into /usr/lib/locale/
|
||||||
Patch0059: glibc-c-utf8-locale.patch
|
Patch0059: glibc-c-utf8-locale.patch
|
||||||
|
|
||||||
|
# Temporary workaround for armhfp build problem.
|
||||||
|
Patch0060: glibc-fedora-armhfp-long-double-hotfix.patch
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# Patches from upstream
|
# Patches from upstream
|
||||||
@ -657,6 +660,7 @@ cat /proc/meminfo
|
|||||||
%patch0057 -p1
|
%patch0057 -p1
|
||||||
%patch0058 -p1
|
%patch0058 -p1
|
||||||
%patch0059 -p1
|
%patch0059 -p1
|
||||||
|
%patch0060 -p1
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# %%prep - Additional prep required...
|
# %%prep - Additional prep required...
|
||||||
@ -1855,6 +1859,9 @@ rm -f *.filelist*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 9 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-16
|
||||||
|
- Apply temporary fix for armhfp build issue.
|
||||||
|
|
||||||
* Mon Nov 09 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-15
|
* Mon Nov 09 2015 Florian Weimer <fweimer@redhat.com> - 2.22.90-15
|
||||||
- Auto-sync with upstream master.
|
- Auto-sync with upstream master.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user