[gnome-chemistry-utils] - Fixed crash when opening a 2D cml file in the 3D viewer (RH #643719)
belegdol
belegdol at fedoraproject.org
Sun Oct 17 20:59:06 UTC 2010
commit 12b39435f02ccb6aeb3eb487ea3158c820d90a33
Author: Julian Sikorski <belegdol at gmail.com>
Date: Sun Oct 17 22:58:57 2010 +0200
- Fixed crash when opening a 2D cml file in the 3D viewer (RH #643719)
gnome-chemistry-utils-bz643719.patch | 12 ++++++++++++
gnome-chemistry-utils.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gnome-chemistry-utils-bz643719.patch b/gnome-chemistry-utils-bz643719.patch
new file mode 100644
index 0000000..326543f
--- /dev/null
+++ b/gnome-chemistry-utils-bz643719.patch
@@ -0,0 +1,12 @@
+Index: libs/gcu/object.cc
+===================================================================
+--- libs/gcu/object.cc (wersja 1426)
++++ libs/gcu/object.cc (wersja 1427)
+@@ -93,6 +93,7 @@
+ {
+ map<string, Object*>::iterator i;
+ while (!m_Children.empty ()) {
++ i = m_Children.begin ();
+ (*i).second->m_Parent = NULL;
+ delete (*i).second;
+ m_Children.erase ((*i).first);
diff --git a/gnome-chemistry-utils.spec b/gnome-chemistry-utils.spec
index d375787..124d73b 100644
--- a/gnome-chemistry-utils.spec
+++ b/gnome-chemistry-utils.spec
@@ -1,12 +1,13 @@
Name: gnome-chemistry-utils
Version: 0.12.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A set of chemical utilities
Group: Applications/Engineering
License: GPLv2+
URL: http://www.nongnu.org/gchemutils/
Source0: http://download.savannah.nongnu.org/releases/gchemutils/0.12/%{name}-%{version}.tar.bz2
+Patch0: gnome-chemistry-utils-bz643719.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bodr
@@ -77,6 +78,7 @@ This package contains the mozilla plugin.
%prep
%setup -q
+%patch0 -p0 -b .bz643719
%build
@@ -235,6 +237,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Sun Oct 17 2010 Julian Sikorski <belegdol at fedoraproject.org> - 0.12.4-4
+- Fixed crash when opening a 2D cml file in the 3D viewer (RH #643719)
+
* Sat Oct 02 2010 Julian Sikorski <belegdol at fedoraproject.org> - 0.12.4-3
- Rebuilt for goffice-0.8.11 and gnumeric-1.10.11
More information about the scm-commits
mailing list