libgphoto2/libgphoto2-4096files.patch

14 lines
403 B
Diff

Index: libgphoto2-2.4.9/libgphoto2/gphoto2-list.c
===================================================================
--- libgphoto2-2.4.9.orig/libgphoto2/gphoto2-list.c
+++ libgphoto2-2.4.9/libgphoto2/gphoto2-list.c
@@ -72,7 +72,7 @@
#ifdef CAMERALIST_STRUCT_COMPATIBILITY
-#define MAX_ENTRIES 1024
+#define MAX_ENTRIES 4096
#define MAX_LIST_STRING_LENGTH 128
struct _CameraList {
int count;