From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/RFC] Add fontconfig bug fix for parallel build
Date: Tue, 7 Oct 2008 16:03:58 +0200 [thread overview]
Message-ID: <20081007160358.75a577b2@surf> (raw)
Hi,
fontconfig is affected by a compile bug that only occurs from time to
time when parallel compilation is enabled. The bug is described at
https://bugs.freedesktop.org/show_bug.cgi?id=16464.
The attached patch includes the fix for fontconfig in buildroot.
However, it modifies a Makefile.am file, so running automake is needed,
but I'm not sure Buildroot will do that automatically (as the bug only
occurs sometimes, it's quite hard to test whether the fix properly works
or not).
Sincerly,
Thomas
---
Add a parallel compilation fix for fontconfig
This patch adds a patch to fix bug
https://bugs.freedesktop.org/show_bug.cgi?id=16464 affecting parallel
compilation of fontconfig.
The patch is the one proposed in the bugzilla entry, available at
https://bugs.freedesktop.org/attachment.cgi?id=17294.
Without this patch, the compilation of fontconfig sometimes fails
with:
In file included from fc-case.c:25:
../src/fcint.h:118:21: error: fcalias.h: No such file or directory
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/fontconfig/parallel-compilation-fix.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Index: buildroot/package/fontconfig/parallel-compilation-fix.patch
===================================================================
--- /dev/null
+++ buildroot/package/fontconfig/parallel-compilation-fix.patch
@@ -0,0 +1,22 @@
+=== modified file 'fc-case/Makefile.am'
+--- fc-case/Makefile.am 2008-06-22 15:28:39 +0000
++++ fc-case/Makefile.am 2008-06-22 15:50:28 +0000
+@@ -36,6 +36,8 @@
+
+ noinst_MANS=fc-case.man
+
++noinst_HEADERS=$(TARG)
++
+ fc_case_SRCS= \
+ fc-case.c \
+ fccaseint.h \
+@@ -52,7 +54,7 @@
+
+ ALIAS_FILES = fcalias.h fcaliastail.h
+
+-BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
++BUILT_SOURCES = $(ALIAS_FILES)
+
+ $(ALIAS_FILES):
+ touch $(ALIAS_FILES)
+
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
reply other threads:[~2008-10-07 14:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081007160358.75a577b2@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox