Hello community,

here is the log from the commit of package gnome-session for openSUSE:Factory 
checked in at 2013-06-30 06:58:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-session (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-session.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-session"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-session/gnome-session.changes      
2013-05-16 10:52:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-session.new/gnome-session.changes 
2013-06-30 07:01:30.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jun 26 17:31:51 UTC 2013 - [email protected]
+
+- Fix gnome-session-kdm-support.patch: gcc 4.8 became stricter in
+  the use of snprintf.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-session-kdm-support.patch ++++++
--- /var/tmp/diff_new_pack.ZU9Bi3/_old  2013-06-30 07:01:31.000000000 +0200
+++ /var/tmp/diff_new_pack.ZU9Bi3/_new  2013-06-30 07:01:31.000000000 +0200
@@ -104,7 +104,7 @@
  
                  return FALSE;
          }
-@@ -299,13 +304,76 @@ gdm_init_protocol_connection (GdmProtoco
+@@ -299,13 +304,78 @@ gdm_init_protocol_connection (GdmProtoco
  
          if (!gdm_authenticate_connection (data)) {
                  g_warning ("Failed to authenticate with GDM");
@@ -123,6 +123,7 @@
 +        char               *dm_display;
 +        char               *dm_control;
 +        char               *p0 = NULL;
++        int width;
 +
 +        g_assert (data->fd <= 0);
 +
@@ -150,8 +151,9 @@
 +                return FALSE;
 +        }
 +
++        width = p0 ? p0 - dm_display : 512;
 +        snprintf (addr.sun_path, sizeof (addr.sun_path), 
"%s/dmctl-%.*s/socket",
-+                  dm_control, p0 ? p0 - dm_display : 512, dm_display);
++                  dm_control, width, dm_display);
 +        addr.sun_family = AF_UNIX;
 +
 +        g_free (dm_display);
@@ -182,7 +184,7 @@
  static void
  gdm_parse_query_response (GdmProtocolData *data,
                            const char      *response)
-@@ -360,7 +428,23 @@ gdm_parse_query_response (GdmProtocolDat
+@@ -360,7 +430,23 @@ gdm_parse_query_response (GdmProtocolDat
  }
  
  static void
@@ -207,7 +209,7 @@
  {
          time_t current_time;
          char  *response;
-@@ -373,26 +457,35 @@ gdm_update_logout_actions (GdmProtocolDa
+@@ -373,26 +459,35 @@ gdm_update_logout_actions (GdmProtocolDa
  
          data->last_update = current_time;
  
@@ -250,7 +252,7 @@
  
          return TRUE;
  }
-@@ -400,7 +493,7 @@ gdm_is_available (void)
+@@ -400,7 +495,7 @@ gdm_is_available (void)
  gboolean
  gdm_supports_logout_action (GdmLogoutAction action)
  {
@@ -259,7 +261,7 @@
  
          return (gdm_protocol_data.available_actions & action) != 0;
  }
-@@ -408,21 +501,15 @@ gdm_supports_logout_action (GdmLogoutAct
+@@ -408,21 +503,15 @@ gdm_supports_logout_action (GdmLogoutAct
  GdmLogoutAction
  gdm_get_logout_action (void)
  {
@@ -284,7 +286,7 @@
  
          switch (action) {
          case GDM_LOGOUT_ACTION_NONE:
-@@ -439,16 +526,58 @@ gdm_set_logout_action (GdmLogoutAction a
+@@ -439,16 +528,58 @@ gdm_set_logout_action (GdmLogoutAction a
                  break;
          }
  
@@ -346,7 +348,7 @@
  }
  
  void
-@@ -456,16 +585,16 @@ gdm_new_login (void)
+@@ -456,16 +587,16 @@ gdm_new_login (void)
  {
          char *response;
  

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to