[Packages] multimedia/gphoto2: Update to 2.4.0
[openwrt/svn-archive/archive.git] / multimedia / gphoto2 / patches / 100-gpdebug.patch
1 Index: gphoto2-2.4.0/gphoto2/foreach.c
2 ===================================================================
3 --- gphoto2-2.4.0.orig/gphoto2/foreach.c 2008-02-26 19:59:37.000000000 +0100
4 +++ gphoto2-2.4.0/gphoto2/foreach.c 2008-02-26 19:59:38.000000000 +0100
5 @@ -31,6 +31,8 @@
6
7 #include <gphoto2/gphoto2-port-log.h>
8
9 +#define GP_DEBUG (void)
10 +
11 #define GP_ERROR_FRONTEND_BAD_ID -10000
12 #define CR(result) {int __r=(result); if(__r<0) return(__r);}
13 #define CL(result,list) {int __r=(result); if(__r<0) {gp_list_free(list);return(__r);}}