Kaynağa Gözat

upgrading package: gtk2 2.8.4 -> 2.8.6

Ralf S. Engelschall 20 yıl önce
ebeveyn
işleme
e04ae10e44
2 değiştirilmiş dosya ile 16 ekleme ve 2 silme
  1. 12 0
      gtk2/gtk2.patch
  2. 4 2
      gtk2/gtk2.spec

+ 12 - 0
gtk2/gtk2.patch

@@ -0,0 +1,12 @@
+Index: gtk/gtkcalendar.c
+--- gtk/gtkcalendar.c.orig	2005-10-04 05:24:16 +0200
++++ gtk/gtkcalendar.c	2005-10-06 09:02:38 +0200
+@@ -669,7 +669,7 @@
+    * first day of the week to calendar:week_start:1 if you want Monday
+    * to be the first day of the week, and so on.
+    */  
+-  week_start = _("calendar:week_start:0");
++  char *week_start = _("calendar:week_start:0");
+ 
+   if (strncmp (week_start, "calendar:week_start:", 20) == 0)
+     priv->week_start = *(week_start + 20) - '0';

+ 4 - 2
gtk2/gtk2.spec

@@ -23,7 +23,7 @@
 ##
 
 #   package version
-%define       V_gtk         2.8.4
+%define       V_gtk         2.8.6
 %define       V_gtk_major   2.8
 %define       V_glib_major  2.8
 %define       V_pango_major 1.10
@@ -40,10 +40,11 @@ Class:        PLUS
 Group:        XWindow
 License:      GPL
 Version:      %{V_gtk}
-Release:      20050929
+Release:      20051006
 
 #   list of sources
 Source0:      ftp://ftp.gtk.org/pub/gtk/v%{V_gtk_major}/gtk+-%{V_gtk}.tar.gz
+Patch0:       gtk2.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -74,6 +75,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q -n gtk+-%{version}
+    %patch -p0
 
     #   avoid including static libraries into convenience libraries
     %{l_shtool} subst \