packages/multimedia/gphoto2/patches/100-gpdebug.patch
olli 993e642424 [Packages] libs/libgphoto2 & multimedia/gphoto2: Update to 2.4.1
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-19 12:06:34 +00:00

14 lines
538 B
Diff

Index: gphoto2-2.4.1/gphoto2/foreach.c
===================================================================
--- gphoto2-2.4.1.orig/gphoto2/foreach.c 2008-04-19 13:58:07.000000000 +0200
+++ gphoto2-2.4.1/gphoto2/foreach.c 2008-04-19 13:58:07.000000000 +0200
@@ -31,6 +31,8 @@
#include <gphoto2/gphoto2-port-log.h>
+#define GP_DEBUG (void)
+
#define GP_ERROR_FRONTEND_BAD_ID -10000
#define CR(result) {int __r=(result); if(__r<0) return(__r);}
#define CL(result,list) {int __r=(result); if(__r<0) {gp_list_free(list);return(__r);}}