rpms/plymouth/F-12 fix-firstboot-on-intel.patch, NONE, 1.1 plymouth.spec, 1.150, 1.151

Ray Strode rstrode at fedoraproject.org
Tue Oct 6 23:21:59 UTC 2009


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24013

Modified Files:
	plymouth.spec 
Added Files:
	fix-firstboot-on-intel.patch 
Log Message:
- Prevent firstboot's X from crashing on intel hardware


fix-firstboot-on-intel.patch:
 plugin.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- NEW FILE fix-firstboot-on-intel.patch ---
>From 3228d0534dc35e9afb87702a78555598fda61a87 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode at redhat.com>
Date: Tue, 6 Oct 2009 19:07:41 -0400
Subject: [drm] Destroy console buffer object when done with it

---
 src/plugins/renderers/drm/plugin.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/plugins/renderers/drm/plugin.c b/src/plugins/renderers/drm/plugin.c
index d317e2a..22a4394 100644
--- a/src/plugins/renderers/drm/plugin.c
+++ b/src/plugins/renderers/drm/plugin.c
@@ -855,6 +855,9 @@ ply_renderer_head_set_scan_out_buffer_to_console (ply_renderer_backend_t *backen
   ply_renderer_head_set_scan_out_buffer (backend,
                                          head, head->console_buffer_id);
 
+  backend->driver_interface->destroy_buffer (backend->driver,
+                                             head->console_buffer_id);
+
   if (pixel_buffer != NULL)
     ply_pixel_buffer_free (pixel_buffer);
 
-- 
1.6.5.rc2



Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/F-12/plymouth.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -p -r1.150 -r1.151
--- plymouth.spec	5 Oct 2009 21:43:30 -0000	1.150
+++ plymouth.spec	6 Oct 2009 23:21:59 -0000	1.151
@@ -5,7 +5,7 @@
 Summary: Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.8.0
-Release: 0.2009.29.09.3%{?dist}
+Release: 0.2009.29.09.4%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -31,6 +31,7 @@ Obsoletes: plymouth-theme-pulser < 0.7.0
 
 Patch0: fix-2nd-show-splash.patch
 Patch1: fix-text-password-crash.patch
+Patch2: fix-firstboot-on-intel.patch
 
 %description
 Plymouth provides an attractive graphical boot animation in
@@ -240,6 +241,7 @@ plugin.
 
 %patch0 -p1 -b .fix-2nd-show-splash
 %patch1 -p1 -b .fix-text-password-crash
+%patch2 -p1 -b .fix-firstboot-on-intel
 
 %build
 %configure --enable-tracing --disable-tests --without-boot-entry \
@@ -457,6 +459,9 @@ fi
 %defattr(-, root, root)
 
 %changelog
+* Tue Oct 06 2009 Ray Strode <rstrode at redhat.com> 0.8.0-0.2009.29.09.4
+- Prevent firstboot's X from crashing on intel hardware
+
 * Mon Oct 05 2009 Ray Strode <rstrode at redhat.com> 0.8.0-0.2009.29.09.3
 - Fix crasher in text plugin after password prompt (bug 526652)
 - Actually apply the patch mentioned in 2009.29.09.2




More information about the fedora-extras-commits mailing list