[mine_detector] Added a patch to adapt to an API change in GTKada 2.24.2.
Björn Persson
rombobeorn at fedoraproject.org
Fri Jul 6 11:46:28 UTC 2012
commit 39d839b015f45728f1dc93aeaa7936100d735727
Author: Björn Persson <bjorn at rombobjörn.se>
Date: Fri Jul 6 13:46:24 2012 +0200
Added a patch to adapt to an API change in GTKada 2.24.2.
mine_detector-6.0-gtkada-2.24.2.patch | 11 +++++++++++
mine_detector.spec | 9 ++++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/mine_detector-6.0-gtkada-2.24.2.patch b/mine_detector-6.0-gtkada-2.24.2.patch
new file mode 100644
index 0000000..3fbb081
--- /dev/null
+++ b/mine_detector-6.0-gtkada-2.24.2.patch
@@ -0,0 +1,11 @@
+--- user_if.adb~ 2012-07-06 02:50:07.000000000 +0200
++++ user_if.adb 2012-07-06 02:50:07.000000000 +0200
+@@ -490,7 +490,7 @@
+ Window_Cb.To_Marshaller (When_Close'Access));
+ Gtk_New_Hbox (Box => Box, Spacing => 2);
+ Add (Window, Box);
+- Gtk_New (Widget => Table,
++ Gtk_New (Table,
+ Rows => Glib.Guint (Field.Valid_Row'Last),
+ Columns => Glib.Guint (Field.Valid_Column'Last),
+ Homogeneous => True);
diff --git a/mine_detector.spec b/mine_detector.spec
index b47c960..a072b3e 100644
--- a/mine_detector.spec
+++ b/mine_detector.spec
@@ -1,6 +1,6 @@
Name: mine_detector
Version: 6.0
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Mine Detector, a mine-finding game
Summary(sv): Mine Detector, ett minröjningsspel
@@ -15,6 +15,9 @@ Source3: mine_detector.desktop
Source4: mine_detector-license.txt
Source5: mine_detector-README.Fedora
Source6: mine_detector-license_clarification.mbox
+# Patch to adapt to GTKada 2.24.2 without breaking compatibility with 2.18.0,
+# proposed upstream by email 2012-07-06:
+Patch1: mine_detector-6.0-gtkada-2.24.2.patch
BuildRequires: gcc-gnat PragmARC-devel GtkAda-devel desktop-file-utils
BuildRequires: fedora-gnat-project-common >= 3
@@ -38,6 +41,7 @@ cp -p %{SOURCE2} .
cp -p %{SOURCE4} license.txt
cp -p %{SOURCE5} README.Fedora
cp -p %{SOURCE6} license_clarification.mbox
+%patch1
%build
@@ -59,6 +63,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE3}
%changelog
+* Fri Jul 06 2012 Björn Persson <bjorn at rombobjörn.se> - 6.0-11
+- Added a patch to adapt to an API change in GTKada 2.24.2.
+
* Thu Jan 05 2012 Björn Persson <bjorn at rombobjörn.se> - 6.0-10
- Rebuilt with GCC 4.7.
More information about the scm-commits
mailing list