On Wed, Aug 15, 2018 at 11:44:32PM +0200, John Paul Adrian Glaubitz wrote:
> On 08/15/2018 11:43 PM, Adrian Bunk wrote:
> > A binNMU rebuilds outdated binaries.
> > 
> > When no binaries exist there is no need to rebuild.
> 
> The bug affects all architectures, so also those where the package
> is already built. So I'm not sure what you mean.

It only affects arm*/alpha/sh4.

I've attached a fix.

> Adrian

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Description: Fix the function signature of GphotoGrabber::errorDumper()
Author: Adrian Bunk <b...@debian.org>
Bug-Debian: https://bugs.debian.org/846499

--- qstopmotion-2.3.2.orig/src/technical/grabber/gphoto2/gpgrabber.cpp
+++ qstopmotion-2.3.2/src/technical/grabber/gphoto2/gpgrabber.cpp
@@ -60,7 +60,7 @@ GphotoGrabber::GphotoGrabber(Frontend *f
     filePath.append(rootDir);
 
     gphotoContext = gp_context_new();
-    gphotoErrorId = gp_log_add_func(GP_LOG_ERROR, (GPLogFunc)errorDumper, NULL);
+    gphotoErrorId = gp_log_add_func(GP_LOG_ERROR, errorDumper, NULL);
 
     openCamera();
 
@@ -806,18 +806,9 @@ int GphotoGrabber::lookupWidget(CameraWi
 void GphotoGrabber::errorDumper(GPLogLevel  level,
                                 const char *domain,
                                 const char *format,
-                                va_list     args,
                                 void       *data)
 {
-    char temp[1024];
-
-    if (args != NULL) {
-        vsprintf(temp, format, args);
-        qDebug() << "GphotoGrabber::errorDumper --> Domain: " << domain << "Error: " << temp;
-    }
-    else {
-        qDebug() << "GphotoGrabber::errorDumper --> Domain: " << domain << "Error: " << format;
-    }
+    qDebug() << "GphotoGrabber::errorDumper --> Domain: " << domain << "Error: " << format;
 }
 
 
--- qstopmotion-2.3.2.orig/src/technical/grabber/gphoto2/gpgrabber.h
+++ qstopmotion-2.3.2/src/technical/grabber/gphoto2/gpgrabber.h
@@ -100,7 +100,6 @@ private:
     static void errorDumper(GPLogLevel  level,
                             const char *domain,
                             const char *format,
-                            va_list     args,
                             void       *data);
 
     bool canonEnableCapture(Camera       *gphotoCamera,
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to