[gpsim] add glib patch
Roy Rankin
rrankin at fedoraproject.org
Sat Dec 10 02:29:43 UTC 2011
commit bf2f7aa194d2540f6f6626506927b3c62b70f3b1
Author: Roy Rankin <rrankin at ihug.com.au>
Date: Sat Dec 10 13:29:07 2011 +1100
add glib patch
gpsim-0.26.1-glib.patch | 13 +++++++++++++
gpsim.spec | 7 ++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/gpsim-0.26.1-glib.patch b/gpsim-0.26.1-glib.patch
new file mode 100644
index 0000000..e081395
--- /dev/null
+++ b/gpsim-0.26.1-glib.patch
@@ -0,0 +1,13 @@
+Index: src/bitlog.h
+===================================================================
+--- src/bitlog.h (revision 2177)
++++ src/bitlog.h (working copy)
+@@ -25,7 +25,7 @@
+
+ // include the absolute minimum portion of GLIB to get the definitions
+ // for guint64, etc.
+-#include <glibconfig.h>
++#include <glib.h>
+
+ /**********************************************************************
+ * boolean event logging
diff --git a/gpsim.spec b/gpsim.spec
index 90430b2..d5f89b2 100644
--- a/gpsim.spec
+++ b/gpsim.spec
@@ -1,6 +1,6 @@
Name: gpsim
Version: 0.26.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A simulator for Microchip (TM) PIC (TM) microcontrollers
Summary(fr): Un simulateur pour les microcontrôleurs PIC (TM) Microchip (TM)
@@ -10,6 +10,7 @@ License: GPLv2+ and LGPLv2+
URL: http://gpsim.sourceforge.net/gpsim.html
Source: http://downloads.sourceforge.net/gpsim/gpsim-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch: %{name}-%{version}-glib.patch
BuildRequires: gtk+extra-devel, flex, readline-devel, popt-devel
BuildRequires: autoconf
@@ -46,6 +47,7 @@ qui utilisent la bibliothèque gpsim.
%prep
%setup -q
+%patch -p0
mv AUTHORS AUTHORS.raw
mv ChangeLog ChangeLog.raw
iconv -f ISO88592 -t UTF8 AUTHORS.raw -o AUTHORS
@@ -90,6 +92,9 @@ autoconf
%{_includedir}/*
%changelog
+* Wed Dec 07 2011 Roy Rankin <rrankin at ihug.com.au> 0.26.1-3
+- patch for glib
+
* Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 0.26.1-2
- Rebuild for new libpng
More information about the scm-commits
mailing list