freebsd-ports/graphics/libgphoto2/files/patch-MAX_ENTRIES
Pav Lucistnik de019f2420 - Update to 2.4.3
- Raise MAX_ENTRIES limit from 1024 to 8192 entries (a stopgap for 2.4.x
  series, 2.5.x will have adaptive list)
PR:		ports/127847
Requested by:	Henrik Herranen <leopold@iki.fi>
2008-11-09 16:10:50 +00:00

11 lines
323 B
Text

--- libgphoto2/gphoto2-list.c.orig 2007-07-27 07:52:55.000000000 +0200
+++ libgphoto2/gphoto2-list.c 2008-11-09 17:04:16.000000000 +0100
@@ -72,7 +72,7 @@
#ifdef CAMERALIST_STRUCT_COMPATIBILITY
-#define MAX_ENTRIES 1024
+#define MAX_ENTRIES 8192
#define MAX_LIST_STRING_LENGTH 128
struct _CameraList {
int count;