rpms/gtkspell/devel gtkspell-2.0.11-static.patch, NONE, 1.1 gtkspell.spec, 1.17, 1.18

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Feb 15 01:34:36 UTC 2007


Author: mbarnes

Update of /cvs/dist/rpms/gtkspell/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14655

Modified Files:
	gtkspell.spec 
Added Files:
	gtkspell-2.0.11-static.patch 
Log Message:

* Wed Feb 14 2007 Matthew Barnes <mbarnes at redhat.com> - 2.0.11-3.fc7
- Add patch for RH bug #216142 (symbols missing "static" qualifier).


gtkspell-2.0.11-static.patch:
 gtkspell.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE gtkspell-2.0.11-static.patch ---
--- gtkspell-2.0.11/gtkspell/gtkspell.c.static	2007-02-14 20:23:15.000000000 -0500
+++ gtkspell-2.0.11/gtkspell/gtkspell.c	2007-02-14 20:24:39.000000000 -0500
@@ -46,8 +46,8 @@
    #define aspell pspell
 #endif
 
-const int debug = 0;
-const int quiet = 0;
+static const int debug = 0;
+static const int quiet = 0;
 
 struct _GtkSpell {
 	GtkTextView *view;
@@ -357,7 +357,7 @@
 	g_free(oldword);
 }
 
-GtkWidget*
+static GtkWidget*
 build_suggestion_menu(GtkSpell *spell, GtkTextBuffer *buffer,
                       const char *word) {
 	const char *suggestion;


Index: gtkspell.spec
===================================================================
RCS file: /cvs/dist/rpms/gtkspell/devel/gtkspell.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- gtkspell.spec	12 Jul 2006 06:18:43 -0000	1.17
+++ gtkspell.spec	15 Feb 2007 01:34:34 -0000	1.18
@@ -1,16 +1,27 @@
+### Abstract ###
+
 Name: gtkspell
 Version: 2.0.11
-Release: 2.1
+Release: 3%{?dist}
 License: GPL
 Group: System Environment/Libraries
 Summary: GtkSpell provides on-the-fly spell checking for GtkTextView widgets.
 URL: http://gtkspell.sourceforge.net/
-Source: %{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Source: %{name}-%{version}.tar.gz
+
+### Patches ###
+
+Patch0: gtkspell-2.0.11-libs.patch
+
+# RH bug #216142
+Patch1: gtkspell-2.0.11-static.patch
+
+### Build Dependencies ###
+
 BuildRequires: aspell-devel
 BuildRequires: gtk2-devel
 BuildRequires: gettext
-Patch0: gtkspell-2.0.11-libs.patch
 
 %description
 GtkSpell provides word-processor-style highlighting and replacement of 
@@ -31,6 +42,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .libs
+%patch1 -p1 -b .static
 
 %build
 %configure --disable-gtk-doc
@@ -66,6 +78,9 @@
 %{_libdir}/pkgconfig/gtkspell-2.0.pc
 
 %changelog
+* Wed Feb 14 2007 Matthew Barnes <mbarnes at redhat.com> - 2.0.11-3.fc7
+- Add patch for RH bug #216142 (symbols missing "static" qualifier).
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 2.0.11-2.1
 - rebuild
 




More information about the fedora-cvs-commits mailing list