rpms/gtk2/devel entry-include-fix.patch, NONE, 1.1 gtk2.spec, 1.385, 1.386

Matthias Clasen mclasen at fedoraproject.org
Mon Jul 13 13:27:01 UTC 2009


Author: mclasen

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

Modified Files:
	gtk2.spec 
Added Files:
	entry-include-fix.patch 
Log Message:
fix a problem with gtkentry.h


entry-include-fix.patch:

--- NEW FILE entry-include-fix.patch ---
diff --git a/gtk/gtkentrybuffer.h b/gtk/gtkentrybuffer.h
index cf2ddda..275aaa1 100644
--- a/gtk/gtkentrybuffer.h
+++ b/gtk/gtkentrybuffer.h
@@ -17,7 +17,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 


Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.385
retrieving revision 1.386
diff -u -p -r1.385 -r1.386
--- gtk2.spec	11 Jul 2009 01:23:45 -0000	1.385
+++ gtk2.spec	13 Jul 2009 13:27:01 -0000	1.386
@@ -17,7 +17,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.17/gtk+-%{version}.tar.bz2
@@ -29,6 +29,8 @@ Source3: im-cedilla.conf
 Patch0: gtk+-2.13.5-lib64.patch
 # http://bugzilla.redhat.com/show_bug.cgi?id=478400
 Patch1: default_printer.patch
+# from upstream
+Patch2: entry-include-fix.patch
 
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
@@ -141,6 +143,7 @@ This package contains developer document
 
 %patch0 -p1 -b .lib64
 %patch1 -p0 -b .default-printer
+%patch2 -p1 -b .entry-include-fix
 
 # make sure that gtkmarshalers.{c, h} get regenerated during the build
 #  - caused by print_authentication.patch
@@ -376,6 +379,9 @@ fi
 
 
 %changelog
+* Mon Jul 13 2009 Matthias Clasen <mclasen at redhat.com> - 2.17.4-2
+- Fix a problem with gtkentry.h
+
 * Fri Jul 10 2009 Matthias Clasen <mclasen at redhat.com> - 2.17.4-1
 - Update to 2.17.4
 




More information about the fedora-extras-commits mailing list