rpms/gtksourceview/devel use-gnu.patch, NONE, 1.1 gtksourceview.spec, 1.48, 1.49

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Fri Feb 15 04:29:20 UTC 2008


Author: mclasen

Update of /cvs/pkgs/rpms/gtksourceview/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15568

Modified Files:
	gtksourceview.spec 
Added Files:
	use-gnu.patch 
Log Message:
rebuild


use-gnu.patch:

--- NEW FILE use-gnu.patch ---
diff -up gtksourceview-1.8.5/gtksourceview/gtksourceregex.c.use-gnu gtksourceview-1.8.5/gtksourceview/gtksourceregex.c
--- gtksourceview-1.8.5/gtksourceview/gtksourceregex.c.use-gnu	2008-02-14 23:24:42.000000000 -0500
+++ gtksourceview-1.8.5/gtksourceview/gtksourceregex.c	2008-02-14 23:25:04.000000000 -0500
@@ -27,6 +27,9 @@
 #include <glib.h>
 
 #ifdef NATIVE_GNU_REGEX
+
+#define _GNU_SOURCE 1
+
 #include <sys/types.h>
 #include <regex.h>
 #else


Index: gtksourceview.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtksourceview/devel/gtksourceview.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- gtksourceview.spec	23 Aug 2007 18:13:43 -0000	1.48
+++ gtksourceview.spec	15 Feb 2008 04:28:30 -0000	1.49
@@ -6,12 +6,13 @@
 Summary: A library for viewing source files
 Name: gtksourceview
 Version: 1.8.5
-Release: 3%{?dist} 
+Release: 4%{?dist} 
 Epoch: 1
 License: GPL
 Group: System Environment/Libraries
 URL: http://gtksourceview.sourceforge.net/ 
 Source0: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/1.8/%{name}-%{version}.tar.bz2
+Patch0: use-gnu.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 BuildRequires: gnome-vfs2-devel
 BuildRequires: libxml2-devel
@@ -41,6 +42,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .use-gnu
 
 %build
 
@@ -78,6 +80,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Thu Feb 14 2008 Matthias Clasen <mclasen at redhat.com> - 1:1.8.5-4
+- Rebuild
+
 * Thu Aug 23 2007 Adam Jackson <ajax at redhat.com> - 1:1.8.5-3
 - Rebuild for ppc toolchain bug
 




More information about the fedora-extras-commits mailing list