summaryrefslogtreecommitdiff
path: root/debian/patches/0105-vala_56.6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0105-vala_56.6.patch')
-rw-r--r--debian/patches/0105-vala_56.6.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/debian/patches/0105-vala_56.6.patch b/debian/patches/0105-vala_56.6.patch
new file mode 100644
index 0000000..aab7959
--- /dev/null
+++ b/debian/patches/0105-vala_56.6.patch
@@ -0,0 +1,53 @@
+Description: Fix FTBFS with vala 0.56-6
+Author: <name and email of author, optional>
+Origin: https://gitlab.gnome.org/GNOME/shotwell/-/commit/1c8760ed7
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034011
+Forwarded: not-needed
+Last-Update: 2023-06-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/vapi/libgphoto2.vapi
+===================================================================
+--- trunk.orig/vapi/libgphoto2.vapi
++++ trunk/vapi/libgphoto2.vapi
+@@ -340,19 +340,40 @@ namespace GPhoto {
+ public void set_message_func([CCode (delegate_target_pos=3.1)] ContextMessageFunc messageFunc);
+ }
+
++ [CCode (
++ cheader_filename="gphoto2/gphoto2-context.h"
++ )]
+ public delegate void ContextIdleFunc(Context context);
+
++ [CCode (
++ cheader_filename="gphoto2/gphoto2-context.h"
++ )]
+ public delegate void ContextErrorFunc(Context context, string text);
+
++ [CCode (
++ cheader_filename="gphoto2/gphoto2-context.h"
++ )]
+ public delegate void ContextStatusFunc(Context context, string text);
+
++ [CCode (
++ cheader_filename="gphoto2/gphoto2-context.h"
++ )]
+ public delegate void ContextMessageFunc(Context context, string text);
+
+ // TODO: Support for va_args in Vala, esp. for delegates?
++ [CCode (
++ cheader_filename="gphoto2/gphoto2-context.h"
++ )]
+ public delegate uint ContextProgressStartFunc(Context context, float target, string text);
+
++ [CCode (
++ cheader_filename="gphoto2/gphoto2-context.h"
++ )]
+ public delegate void ContextProgressUpdateFunc(Context context, uint id, float current);
+
++ [CCode (
++ cheader_filename="gphoto2/gphoto2-context.h"
++ )]
+ public delegate void ContextProgressStopFunc(Context context, uint id);
+
+ [CCode (