From fd7e3ee9b0ead7d8743f3eee8ca5f31d25394d17 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 5 Oct 2012 17:16:44 +0200 Subject: firefox, add alignment patch --- recipes-mozilla/firefox/files/alignment.patch | 11 +++++++++++ recipes-mozilla/firefox/firefox_10.0.2.bbappend | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 recipes-mozilla/firefox/files/alignment.patch create mode 100644 recipes-mozilla/firefox/firefox_10.0.2.bbappend diff --git a/recipes-mozilla/firefox/files/alignment.patch b/recipes-mozilla/firefox/files/alignment.patch new file mode 100644 index 0000000..4047124 --- /dev/null +++ b/recipes-mozilla/firefox/files/alignment.patch @@ -0,0 +1,11 @@ +--- mozilla-release/ipc/ipdl/ipdl/cxx/cgen.py~ 2012-07-29 11:14:45.000000000 +0200 ++++ mozilla-release/ipc/ipdl/ipdl/cxx/cgen.py 2012-07-29 11:13:36.000000000 +0200 +@@ -107,7 +107,7 @@ + self.println(';') + self.dedent() + +- self.printdent('}') ++ self.printdent('} __attribute__ ((aligned (__BIGGEST_ALIGNMENT__)))') + + + def visitTypedef(self, td): diff --git a/recipes-mozilla/firefox/firefox_10.0.2.bbappend b/recipes-mozilla/firefox/firefox_10.0.2.bbappend new file mode 100644 index 0000000..213e335 --- /dev/null +++ b/recipes-mozilla/firefox/firefox_10.0.2.bbappend @@ -0,0 +1,6 @@ +PRINC = "3" + +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://alignment.patch \ +" + -- cgit v1.2.3