summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-13 21:52:01 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-13 21:52:01 +0200
commit02055495eaf2bc4034cb5313b134c27c9ad6ddb9 (patch)
treebb7b34d5a59143f844054db03312555e89f63359 /debian/patches
parentd5fd3ca1f05d290e78c2357dcb79bbe88d6c50f1 (diff)
New d/p/0105-vala_56.6.patch to fix FTBFS with newer vala releases
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0105-vala_56.6.patch45
-rw-r--r--debian/patches/series1
2 files changed, 46 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..d0bbbc3
--- /dev/null
+++ b/debian/patches/0105-vala_56.6.patch
@@ -0,0 +1,45 @@
+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 (
diff --git a/debian/patches/series b/debian/patches/series
index f7b4a86..62cf3ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0100-webp.patch
+0105-vala_56.6.patch