Skip to contentSkip to conversation

freetype: add some dependencies

PATCH New Steve Kenton 2 participants 3 messages Dec 14, 2014 – Dec 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 freetype: add some dependencies

freetype needs fenv.h which is not available on uClibc except for x86, add dependencies

Signed-off-by Stephen M. Kenton <[email protected]>
---
Modeled on the python-numpy solution to the same fenv.h problem

package/freetype/Config.in +3 -0
diff -ru buildroot/package/freetype/Config.in buildroot.modified/package/freetype/Config.in
@@ -1,5 +1,8 @@
 config BR2_PACKAGE_FREETYPE
 	bool "freetype"
+	# freetype needs fenv.h. Available for all architectures in
+	# glibc, but only for x86 and x86-64 in uClibc.
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64
 	help
 	  a free, high-quality and portable font engine.
#1 lore raw

PATCH 1/1 freetype: add some dependencies

Quoted 3 lines · Steve Kenton

freetype needs fenv.h which is not available on uClibc except for x86, add dependencies

Signed-off-by Stephen M. Kenton <[email protected]>

Hi.
This is wrong.
I'm using freetype with rrdtool for ARM and PowerPC targets with uClibc just fine.
In fact any search for fenv.h in the freetype source gives nothing. And the autobuilders would have caught this by now.
Is it possible that some other application that links to freetype is breaking, and uses fenv itself?
Regards.

#2 lore raw

PATCH 1/1 freetype: add some dependencies

Quoted 9 lines · Gustavo Zacarias
Quoted 3 lines · Steve Kenton

freetype needs fenv.h which is not available on uClibc except for x86, add dependencies

Signed-off-by Stephen M. Kenton<[email protected]>

Hi.
This is wrong.
I'm using freetype with rrdtool for ARM and PowerPC targets with uClibc just fine.

My apologies, you are right

Quoted 4 lines

In fact any search for fenv.h in the freetype source gives nothing. And the autobuilders would have caught this by now.
Is it possible that some other application that links to freetype is breaking, and uses fenv itself?

Yes, the problem is in the app using freetype, I misinterpreted things. I will try again with a hopefully better patch.

Quoted 2 lines

Regards.