Patch6: get-webkit_revision.patch
Patch7: dlopen_sonamed_gl.patch
Patch8: chromium_useragent.patch.in
+Patch9: system-expat.patch
URL: http://www.chromium.org/Home
%{?with_gconf:BuildRequires: GConf2-devel}
BuildRequires: OpenGL-GLU-devel
BuildRequires: bzip2-devel
%{?with_cups:BuildRequires: cups-devel}
BuildRequires: dbus-glib-devel
+BuildRequires: expat-devel
%{?with_system_flac:BuildRequires: flac-devel}
BuildRequires: flex
BuildRequires: fontconfig-devel
%patch5 -p1
%patch6 -p1
%patch7 -p1
+cd src
+%patch9 -p1
+cd ..
# drop bundled libs, from gentoo
remove_bundled_lib() {
}
cd src
+rm -v third_party/expat/files/lib/expat.h
remove_bundled_lib "third_party/bzip2"
remove_bundled_lib "third_party/icu"
remove_bundled_lib "third_party/libevent"
--- /dev/null
+diff -up chromium-6.0.425.0-20100603svn48849/chrome/browser/autofill/autofill_xml_parser.h.system-expat chromium-6.0.425.0-20100603svn48849/chrome/browser/autofill/autofill_xml_parser.h
+--- chromium-6.0.425.0-20100603svn48849/chrome/browser/autofill/autofill_xml_parser.h.system-expat 2010-06-03 14:30:56.000000000 -0400
++++ chromium-6.0.425.0-20100603svn48849/chrome/browser/autofill/autofill_xml_parser.h 2010-06-03 16:58:16.607188633 -0400
+@@ -10,7 +10,7 @@
+ #include "base/basictypes.h"
+ #include "chrome/browser/autofill/field_types.h"
+ #include "chrome/browser/autofill/form_structure.h"
+-#include "third_party/expat/files/lib/expat.h"
++#include <expat.h>
+ #include "third_party/libjingle/source/talk/xmllite/xmlparser.h"
+
+ // The base class that contains common functionality between