diff --git a/liferea-1.4.10-gtkhtml2_x64.patch b/liferea-1.4.10-gtkhtml2_x64.patch
new file mode 100644
index 0000000..c69dbcf
--- /dev/null
+++ b/liferea-1.4.10-gtkhtml2_x64.patch
@@ -0,0 +1,14 @@
+diff -ur liferea-1.4.10.OLD/configure liferea-1.4.10/configure
+--- liferea-1.4.10.OLD/configure 2007-12-19 15:00:52.000000000 -0500
++++ liferea-1.4.10/configure 2008-01-07 15:12:39.000000000 -0500
+@@ -21685,8 +21685,8 @@
+ echo $ECHO_N "checking for 64bit platform... $ECHO_C" >&6; }
+ case "$target" in
+ x86_64-*-*)
+- enable_gtkhtml2=no
+- { echo "$as_me:$LINENO: result: yes -> disabling GtkHTML2" >&5
++ enable_gtkhtml2=yes
++ { echo "$as_me:$LINENO: result: yes -> enabling GtkHTML2" >&5
+ echo "${ECHO_T}yes -> disabling GtkHTML2" >&6; }
+ ;;
+ *)
diff --git a/liferea.spec b/liferea.spec
index bf62321..4838f0f 100644
--- a/liferea.spec
+++ b/liferea.spec
@@ -2,7 +2,7 @@
Name: liferea
Version: 1.4.10
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An RSS/RDF feed reader
Group: Applications/Internet
@@ -10,9 +10,13 @@ License: GPLv2+
URL: http://liferea.sourceforge.net/
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: %{name}-fedorafeed.patch
+# Temporary hack to work around gtkhtml2 support on x86_64,
+# until xulrunner support is fixed.
+Patch1: %{name}-%{version}-gtkhtml2_x64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gecko-devel = %{gecko_ver}
+#BuildRequires: gecko-devel = %{gecko_ver}
+BuildRequires: gtkhtml2-devel
BuildRequires: GConf2-devel
BuildRequires: libX11-devel
BuildRequires: libSM-devel
@@ -45,7 +49,7 @@ browse through their items, and show their contents.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .fedorafeed
-
+%patch1 -p1 -b .gtkhtml2
%build
%configure --disable-schemas-install \
@@ -117,6 +121,10 @@ fi
%changelog
+* Mon Jan 7 2008 Brian Pepple - 1.4.10-2
+- Build only gtkhtml2 plugin for now, until xulrunner support is fixed.
+- Add patch to build gtkhtml2 for x84_64.
+
* Wed Dec 19 2007 Brian Pepple - 1.4.10-1
- Update to 1.4.10.
- Update feed patch.