From 7d6e6fc6e6ab923956919479a79190081e664287 Mon Sep 17 00:00:00 2001 From: Mike Albon Date: Wed, 3 Jan 2007 10:17:01 +0000 Subject: [PATCH] Check in tested gphoto2 patch. Thanks. SVN-Revision: 5971 --- multimedia/gphoto2/patches/100-gpdebug.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 multimedia/gphoto2/patches/100-gpdebug.patch diff --git a/multimedia/gphoto2/patches/100-gpdebug.patch b/multimedia/gphoto2/patches/100-gpdebug.patch new file mode 100644 index 000000000..469011c84 --- /dev/null +++ b/multimedia/gphoto2/patches/100-gpdebug.patch @@ -0,0 +1,12 @@ +diff -ru gphoto2-2.2.0/gphoto2/foreach.c gphoto2-2.2.0-patched/gphoto2/foreach.c +--- gphoto2-2.2.0/gphoto2/foreach.c 2006-06-15 23:03:47.000000000 -0700 ++++ gphoto2-2.2.0-patched/gphoto2/foreach.c 2007-01-03 00:33:21.000000000 -0800 +@@ -31,6 +31,8 @@ + + #include + ++#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);}} -- 2.30.2