[gtksourceview] fix build

Ray Strode rstrode at fedoraproject.org
Mon Jul 23 14:36:53 UTC 2012


commit e3ab9bcf5e3b8e938f5937c5633fdb6aec5c540e
Author: Ray Strode <rstrode at redhat.com>
Date:   Mon Jul 23 10:36:42 2012 -0400

    fix build

 fix-build.patch    |   25 +++++++++++++++++++++++++
 gtksourceview.spec |    7 ++++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/fix-build.patch b/fix-build.patch
new file mode 100644
index 0000000..0f8ee20
--- /dev/null
+++ b/fix-build.patch
@@ -0,0 +1,25 @@
+diff -up gtksourceview-1.8.5/gtksourceview/gtksourcelanguage.c.fix-build gtksourceview-1.8.5/gtksourceview/gtksourcelanguage.c
+--- gtksourceview-1.8.5/gtksourceview/gtksourcelanguage.c.fix-build	2012-07-23 10:33:55.217025301 -0400
++++ gtksourceview-1.8.5/gtksourceview/gtksourcelanguage.c	2012-07-23 10:35:08.450013509 -0400
+@@ -31,7 +31,7 @@
+ #include <libxml/xmlreader.h>
+ 
+ #include <glib/gstdio.h>
+-#include <glib/gmappedfile.h>
++#include <glib.h>
+ 
+ #include "gtksourceview-i18n.h"
+ 
+diff -up gtksourceview-1.8.5/gtksourceview/gtksourceregex.c.fix-build gtksourceview-1.8.5/gtksourceview/gtksourceregex.c
+diff -up gtksourceview-1.8.5/gtksourceview/gtksourceregex.h.fix-build gtksourceview-1.8.5/gtksourceview/gtksourceregex.h
+--- gtksourceview-1.8.5/gtksourceview/gtksourceregex.h.fix-build	2012-07-23 10:34:50.095766288 -0400
++++ gtksourceview-1.8.5/gtksourceview/gtksourceregex.h	2012-07-23 10:34:55.592840359 -0400
+@@ -20,7 +20,7 @@
+ #ifndef __GTK_SOURCE_REGEX_H__
+ #define __GTK_SOURCE_REGEX_H__
+ 
+-#include <glib/gtypes.h>
++#include <glib.h>
+ 
+ G_BEGIN_DECLS
+ 
diff --git a/gtksourceview.spec b/gtksourceview.spec
index 62d7262..5245742 100644
--- a/gtksourceview.spec
+++ b/gtksourceview.spec
@@ -6,13 +6,14 @@
 Summary: A library for viewing source files
 Name: gtksourceview
 Version: 1.8.5
-Release: 11%{?dist} 
+Release: 12%{?dist} 
 Epoch: 1
 License: GPLv2+
 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
+Patch1: fix-build.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 BuildRequires: gnome-vfs2-devel
 BuildRequires: libxml2-devel
@@ -43,6 +44,7 @@ applications which use GtkSourceView.
 %prep
 %setup -q
 %patch0 -p1 -b .use-gnu
+%patch1 -p1 -b .fix-build
 
 %build
 
@@ -80,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/*.so
 
 %changelog
+* Mon Jul 23 2012 Ray Strode <rstrode at redhat.com> 1.8.5- 12
+- Fix build
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:1.8.5-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list