[arch-commits] Commit in kdebindings-qyoto/trunk (fix-build.patch)

Andrea Scarpino andrea at archlinux.org
Mon Oct 20 08:04:02 UTC 2014


    Date: Monday, October 20, 2014 @ 10:04:01
  Author: andrea
Revision: 224912

Add missing patch

Added:
  kdebindings-qyoto/trunk/fix-build.patch

-----------------+
 fix-build.patch |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: fix-build.patch
===================================================================
--- fix-build.patch	                        (rev 0)
+++ fix-build.patch	2014-10-20 08:04:01 UTC (rev 224912)
@@ -0,0 +1,28 @@
+Index: qyoto-4.14.2/qdbus/QDBusReply.cs
+===================================================================
+--- qyoto-4.14.2.orig/qdbus/QDBusReply.cs
++++ qyoto-4.14.2/qdbus/QDBusReply.cs
+@@ -4,9 +4,12 @@ namespace Qyoto {
+ 	using System.Runtime.InteropServices;
+ 	using System.Collections.Generic; 
+ 
+-	public class QDBusReply<T> {
++	class QDBusReplyFill {
+ 		[DllImport("qyoto", CharSet=CharSet.Ansi)]
+-		private static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant);
++		public static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant);
++	}
++
++	public class QDBusReply<T> {
+ 		
+ 		public QDBusReply(QDBusMessage reply) {
+ 			m_error = new QDBusError(reply);
+@@ -18,7 +21,7 @@ namespace Qyoto {
+ 				variant = QVariant.FromValue<T>(default(T));
+ 			}
+ 
+-			qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error),
++			QDBusReplyFill.qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error),
+ 				(IntPtr) GCHandle.Alloc(variant));
+ 
+ 			if (!m_error.IsValid()) {



More information about the arch-commits mailing list