openbsd-ports/graphics/kipi-plugins/patches/patch-kipi-plugins_kameraklient_gpstatus_h
2013-01-19 11:26:02 +00:00

19 lines
1.2 KiB
Plaintext

$OpenBSD: patch-kipi-plugins_kameraklient_gpstatus_h,v 1.1 2013/01/19 11:27:01 zhuk Exp $
Fix compilation with GPhoto 2.5. Based on ideas from this patch:
http://bugsfiles.kde.org/attachment.cgi?id=73176
--- kipi-plugins/kameraklient/gpstatus.h.orig Sat Jan 19 01:01:33 2013
+++ kipi-plugins/kameraklient/gpstatus.h Sat Jan 19 01:02:54 2013
@@ -48,9 +48,9 @@ class GPStatus : public QObject {
private:
static GPContextFeedback cancel_func(GPContext *context, void *data);
- static void error_func(GPContext *context, const char *format, va_list args, void *data);
- static void status_func(GPContext *context, const char *format, va_list args, void *data);
- static unsigned int progress_start_func (GPContext *context, float target, const char *format, va_list args, void *data);
+ static void error_func(GPContext *context, const char *format, void *data);
+ static void status_func(GPContext *context, const char *format, void *data);
+ static unsigned int progress_start_func (GPContext *context, float target, const char *format, void *data);
static void progress_update_func (GPContext *context, unsigned int id, float current, void *data);
static void progress_stop_func(GPContext *context, unsigned int id, void *data);
static float target;