[Pkg-cli-apps-commits] [SCM] pdfmod branch, master, updated. debian/0.9.1-1-2-g5888027
Iain Lane
laney at ubuntu.com
Tue May 24 21:16:53 UTC 2011
The following commit has been merged in the master branch:
commit b137df18da8b4cc9c092163762ee43826f12d171
Author: Iain Lane <laney at ubuntu.com>
Date: Sun May 22 14:43:40 2011 +0100
Cherry-pick commit a29cfe7f8f by Nuno Araujo to fix 2.10 compilation
diff --git a/debian/patches/0001-Fix-compilation-under-Mono-2.10-bgo-644516.patch b/debian/patches/0001-Fix-compilation-under-Mono-2.10-bgo-644516.patch
new file mode 100644
index 0000000..6ba0a60
--- /dev/null
+++ b/debian/patches/0001-Fix-compilation-under-Mono-2.10-bgo-644516.patch
@@ -0,0 +1,26 @@
+From: Nuno Araujo <nuno.araujo at russo79.com>
+Date: Mon, 21 Mar 2011 12:10:52 +0800
+Subject: Fix compilation under Mono 2.10 (bgo#644516)
+
+Force use of the overloaded implicit operator of Hyena.Gui.DragDropList
+to solve mono 2.10 compilation problems.
+
+Signed-off-by: Alexander Kojevnikov <alexander at kojevnikov.com>
+---
+ src/PdfMod/Gui/DocumentIconView.cs | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/PdfMod/Gui/DocumentIconView.cs b/src/PdfMod/Gui/DocumentIconView.cs
+index 5796c72..386d662 100644
+--- a/src/PdfMod/Gui/DocumentIconView.cs
++++ b/src/PdfMod/Gui/DocumentIconView.cs
+@@ -319,7 +319,7 @@ namespace PdfMod.Gui
+ if (to_index < 0)
+ return;
+
+- var pages = args.SelectionData.Data as Hyena.Gui.DragDropList<Page>;
++ Hyena.Gui.DragDropList<Page> pages = args.SelectionData;
+ to_index -= pages.Count (p => p.Index < to_index);
+ var action = new MoveAction (document, pages, to_index);
+ action.Do ();
+--
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b3cbd7f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-compilation-under-Mono-2.10-bgo-644516.patch
--
pdfmod
More information about the Pkg-cli-apps-commits
mailing list