[package] update gphoto2 to 2.4.5, cleanup dependency (#5510)
[openwrt/svn-archive/archive.git] / multimedia / gphoto2 / patches / 100-gpdebug.patch
1 --- a/gphoto2/foreach.c
2 +++ b/gphoto2/foreach.c
3 @@ -31,6 +31,8 @@
4
5 #include <gphoto2/gphoto2-port-log.h>
6
7 +#define GP_DEBUG (void)
8 +
9 #define GP_ERROR_FRONTEND_BAD_ID -10000
10 #define CR(result) {int __r=(result); if(__r<0) return(__r);}
11 #define CL(result,list) {int __r=(result); if(__r<0) {gp_list_free(list);return(__r);}}