rpms/gdm/devel gdm-2.25.2-maybe-work-around-gcc-bug.patch, NONE, 1.1 gdm.spec, 1.451, 1.452

Ray Strode rstrode at fedoraproject.org
Thu Mar 12 19:25:04 UTC 2009


Author: rstrode

Update of /cvs/pkgs/rpms/gdm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22115

Modified Files:
	gdm.spec 
Added Files:
	gdm-2.25.2-maybe-work-around-gcc-bug.patch 
Log Message:
- Add a lame patch in the off chance it might work around a
  gcc bug on ppc:
      unable to find register to spill in class 'LINK_OR_CTR_REGS'
  Probably won't work.


gdm-2.25.2-maybe-work-around-gcc-bug.patch:

--- NEW FILE gdm-2.25.2-maybe-work-around-gcc-bug.patch ---
diff -up gdm-2.25.2/gui/simple-greeter/gdm-chooser-widget.c.maybe-work-around-gcc-bug gdm-2.25.2/gui/simple-greeter/gdm-chooser-widget.c
--- gdm-2.25.2/gui/simple-greeter/gdm-chooser-widget.c.maybe-work-around-gcc-bug	2009-03-12 15:19:51.102176587 -0400
+++ gdm-2.25.2/gui/simple-greeter/gdm-chooser-widget.c	2009-03-12 15:20:57.411172890 -0400
@@ -2311,6 +2311,7 @@ stop_timer (GdmChooserWidget    *widget,
         GtkTreeModel *model;
         GtkTreePath  *path;
         GtkTreeIter   iter;
+        volatile double zero = 0.0;
 
         model = GTK_TREE_MODEL (widget->priv->list_store);
 
@@ -2320,12 +2321,12 @@ stop_timer (GdmChooserWidget    *widget,
 
         gtk_list_store_set (widget->priv->list_store, &iter,
                             CHOOSER_TIMER_START_TIME_COLUMN,
-                            0.0, -1);
+                            zero, -1);
         gtk_list_store_set (widget->priv->list_store, &iter,
                             CHOOSER_TIMER_DURATION_COLUMN,
-                            0.0, -1);
+                            zero, -1);
         gtk_list_store_set (widget->priv->list_store, &iter,
-                            CHOOSER_TIMER_VALUE_COLUMN, 0.0, -1);
+                            CHOOSER_TIMER_VALUE_COLUMN, zero, -1);
 
         widget->priv->number_of_active_timers--;
         if (widget->priv->number_of_active_timers == 0) {


Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/devel/gdm.spec,v
retrieving revision 1.451
retrieving revision 1.452
diff -u -r1.451 -r1.452
--- gdm.spec	12 Mar 2009 18:28:29 -0000	1.451
+++ gdm.spec	12 Mar 2009 19:24:34 -0000	1.452
@@ -15,7 +15,7 @@
 Summary: The GNOME Display Manager
 Name: gdm
 Version: 2.25.2
-Release: 18%{?dist}
+Release: 19%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: User Interface/X
@@ -94,6 +94,7 @@
 Patch15: gdm-2.25.2-start-faster.patch
 
 Patch16: gdm-2.25.2-use-resolvable-hostname.patch
+Patch17: gdm-2.25.2-maybe-work-around-gcc-bug.patch
 
 # Fedora-specific
 Patch99: gdm-2.23.1-fedora-logo.patch
@@ -123,6 +124,7 @@
 %patch14 -p1 -b .multistack-but-boring
 %patch15 -p1 -b .start-faster
 %patch16 -p1 -b .use-resolvable-hostname
+%patch17 -p1 -b .maybe-work-around-gcc-bug
 
 %patch99 -p1 -b .fedora-logo
 
@@ -346,6 +348,12 @@
 %{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml
 
 %changelog
+* Thu Mar 12 2009 Ray Strode <rstrode at redhat.com> - 1:2.25.2-19
+- Add a lame patch in the off chance it might work around a
+  gcc bug on ppc:
+      unable to find register to spill in class 'LINK_OR_CTR_REGS'
+  Probably won't work.
+
 * Thu Mar 12 2009 Ray Strode <rstrode at redhat.com> - 1:2.25.2-18
 - Add Requires: libXau >= 1.0.4-4 to use localhost in xauth cookies
 - Use localhost instead of g_get_host_name ()




More information about the fedora-extras-commits mailing list