From db3c7ca100d8b761299df5f3aa67757b60e8d608 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 23 Apr 2007 19:11:21 +0000 Subject: [PATCH] - Add patch for RH bug #230837 (initialize GThread). --- devhelp-0.13-initialize-gthread.patch | 11 +++++++++++ devhelp.spec | 11 ++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 devhelp-0.13-initialize-gthread.patch diff --git a/devhelp-0.13-initialize-gthread.patch b/devhelp-0.13-initialize-gthread.patch new file mode 100644 index 0000000..3461a24 --- /dev/null +++ b/devhelp-0.13-initialize-gthread.patch @@ -0,0 +1,11 @@ +--- devhelp-0.13/src/dh-main.c.initialize-gthread 2007-04-23 15:05:15.000000000 -0400 ++++ devhelp-0.13/src/dh-main.c 2007-04-23 15:05:31.000000000 -0400 +@@ -112,6 +112,8 @@ + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (PACKAGE); + ++ g_thread_init (NULL); ++ + if (!gtk_init_with_args (&argc, &argv, NULL, options, GETTEXT_PACKAGE, &error)) { + g_printerr ("%s\n", error->message); + return 1; diff --git a/devhelp.spec b/devhelp.spec index fccccd8..5a782c8 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -4,7 +4,7 @@ Name: devhelp Version: 0.13 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL Group: Development/Tools Summary: API document browser @@ -12,6 +12,11 @@ URL: http://developer.imendio.com/projects/devhelp Source: http://ftp.gnome.org/pub/GNOME/sources/devhelp/%{version}/devhelp-%{version}.tar.bz2 BuildRoot: %{_tmppath}/devhelp-%{version}-%{release}-root +### Patch ### + +# RH bug #230837 / GNOME bug #414221 +Patch1: devhelp-0.13-initialize-gthread.patch + ### Dependencies ### Requires(pre): GConf2 >= 2.14 @@ -47,6 +52,7 @@ Library of Devhelp for embedding into other applications %prep %setup -q -n devhelp-%{version} +%patch1 -p1 -b .initialize-gthread %build %configure --disable-static @@ -127,6 +133,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Mon Apr 23 2007 Matthew Barnes - 0.13-7.fc7 +- Add patch for RH bug #230837 (initialize GThread). + * Sat Apr 21 2007 Matthias Clasen - 0.13-6 - Don't install INSTALL