rpms/openvrml/devel 437611.patch,NONE,1.1 openvrml.spec,1.38,1.39

Braden McDaniel (braden) fedora-extras-commits at redhat.com
Wed Mar 26 20:02:18 UTC 2008


Author: braden

Update of /cvs/pkgs/rpms/openvrml/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14157

Modified Files:
	openvrml.spec 
Added Files:
	437611.patch 
Log Message:
Patch for crash in openvrml-xembed (bug 437611).

437611.patch:

--- NEW FILE 437611.patch ---
Index: src/openvrml-xembed/gtkvrmlbrowser.cpp
===================================================================
--- src/openvrml-xembed/gtkvrmlbrowser.cpp	(revision 3396)
+++ src/openvrml-xembed/gtkvrmlbrowser.cpp	(working copy)
@@ -241,9 +241,6 @@
     } catch (std::bad_alloc &) {
         g_return_val_if_reached(0);
     }
-    static_cast<GtkGLViewer *>(vrml_browser->viewer)
-        ->resize(GTK_WIDGET(vrml_browser)->allocation.width,
-                 GTK_WIDGET(vrml_browser)->allocation.height);
 
     return GTK_WIDGET(vrml_browser);
 }


Index: openvrml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openvrml/devel/openvrml.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- openvrml.spec	5 Feb 2008 16:54:11 -0000	1.38
+++ openvrml.spec	26 Mar 2008 20:01:27 -0000	1.39
@@ -1,11 +1,12 @@
 # -*- rpm-spec -*-
 Name:           openvrml
 Version:        0.17.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        VRML/X3D runtime library
 License:        LGPLv3+
 Group:          System Environment/Libraries
 Source:         http://downloads.sf.net/openvrml/%{name}-%{version}.tar.gz
+Patch:          437611.patch
 URL:            http://openvrml.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  pkgconfig >= 0.12.0
@@ -93,6 +94,7 @@
 
 %prep
 %setup
+%patch -p1
 
 %build
 %configure --disable-static --disable-exception-specs --disable-examples --disable-script-node-java CPPFLAGS="-DNDEBUG" BOOST_LIB_SUFFIX="-mt"
@@ -169,6 +171,9 @@
 
 
 %changelog
+* Wed Mar 26 2008  Braden McDaniel  <braden at endoframe.com> - 0.17.5-2
+- Patch for crash in openvrml-xembed (bug 437611).
+
 * Tue Feb 05 2008  Braden McDaniel  <braden at endoframe.com> - 0.17.5-1
 - Updated to 0.17.5.
 - Removed unnecessary --disable-gecko-rpath.




More information about the fedora-extras-commits mailing list