Skip to contentSkip to conversation

pixman: add patch to fix Microblaze build failure

PATCH New Thomas Petazzoni 2 participants 4 messages Feb 22, 2014

lore
Share & tools
lore
#0 lore raw

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.patch
package/pixman/pixman-01-loongson-cflags.patch renamed from package/pixman/pixman-loongson-cflags.patch +0 -0
similarity index 100%
rename from package/pixman/pixman-loongson-cflags.patch
rename to package/pixman/pixman-01-loongson-cflags.patch
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
#1 lore raw

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_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).

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/

Committed, thanks.

Don't forget to send the patch upstream.

Signature · 1 line
Bye, Peter Korsgaard