pixman: add patch to fix Microblaze build failure
PATCH 1/1 pixman: add patch to fix Microblaze build failure
The Microblaze build of pixman was failing due to FE_DIVBYZERO not being implemented. It turns out that the usage of it, like fenv.h and feenableexcept() is optional. So the patch simply adds a configure check and disables the appropriate code (which is only use in the tests anyway).
This commit also renames the existing patch to follow the patch naming convention, and get a reliable ordering when applying patches.
Fixes:
http://autobuild.buildroot.org/results/806/8064092cdbac85fbf4322429d29d5d11dc51860f/
---
...flags.patch => pixman-01-loongson-cflags.patch} | 0
package/pixman/pixman-02-check-fe-divbyzero.patch | 41 ++++++++++++++++++++++
2 files changed, 41 insertions(+)
rename package/pixman/{pixman-loongson-cflags.patch => pixman-01-loongson-cflags.patch} (100%)
create mode 100644 package/pixman/pixman-02-check-fe-divbyzero.patchpackage/pixman/pixman-01-loongson-cflags.patch renamed from package/pixman/pixman-loongson-cflags.patch +0 -0
package/pixman/pixman-02-check-fe-divbyzero.patch new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
1.8.3.2
PATCH 1/1 pixman: add patch to fix Microblaze build failure
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
The Microblaze build of pixman was failing due to
FE_DIVBYZEROnot being implemented. It turns out that the usage of it, likefenv.handfeenableexcept()is optional. So the patch simply adds a configure check and disables the appropriate code (which is only use in the tests anyway).
Quoted 8 lines
This commit also renames the existing patch to follow the patch naming convention, and get a reliable ordering when applying patches.
Fixes:
http://autobuild.buildroot.org/results/806/8064092cdbac85fbf4322429d29d5d11dc51860f/
Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Don't forget to send the patch upstream.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 pixman: add patch to fix Microblaze build failure
Dear Peter Korsgaard,
Quoted 1 line · Peter Korsgaard
Don't forget to send the patch upstream.
http://lists.freedesktop.org/archives/pixman/2014-February/003172.html
:-)
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 pixman: add patch to fix Microblaze build failure
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Dear Peter Korsgaard,
Quoted 1 line · Peter Korsgaard
Don't forget to send the patch upstream.
http://lists.freedesktop.org/archives/pixman/2014-February/003172.html
:-)
Great, thanks!
Signature · 1 line
Bye, Peter Korsgaard