aboutsummaryrefslogtreecommitdiff
path: root/graphics/libgphoto2/files/patch-MAX_ENTRIES
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgphoto2/files/patch-MAX_ENTRIES')
-rw-r--r--graphics/libgphoto2/files/patch-MAX_ENTRIES11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/libgphoto2/files/patch-MAX_ENTRIES b/graphics/libgphoto2/files/patch-MAX_ENTRIES
new file mode 100644
index 000000000000..a438eed96a11
--- /dev/null
+++ b/graphics/libgphoto2/files/patch-MAX_ENTRIES
@@ -0,0 +1,11 @@
+--- 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;