update lua to v5.1.3, fix package descriptions, refresh patches
[openwrt/svn-archive/archive.git] / multimedia / gphoto2 / patches / 100-gpdebug.patch
1 diff -ru gphoto2-2.2.0/gphoto2/foreach.c gphoto2-2.2.0-patched/gphoto2/foreach.c
2 --- gphoto2-2.2.0/gphoto2/foreach.c 2006-06-15 23:03:47.000000000 -0700
3 +++ gphoto2-2.2.0-patched/gphoto2/foreach.c 2007-01-03 00:33:21.000000000 -0800
4 @@ -31,6 +31,8 @@
5
6 #include <gphoto2-port-log.h>
7
8 +#define GP_DEBUG (void)
9 +
10 #define GP_ERROR_FRONTEND_BAD_ID -10000
11 #define CR(result) {int __r=(result); if(__r<0) return(__r);}
12 #define CL(result,list) {int __r=(result); if(__r<0) {gp_list_free(list);return(__r);}}