1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 70_increase_max_entries.dpatch by <fpeters@debian.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
8 diff -urNad libgphoto2-2.4.0~/libgphoto2/gphoto2-list.c libgphoto2-2.4.0/libgphoto2/gphoto2-list.c
9 --- libgphoto2-2.4.0~/libgphoto2/gphoto2-list.c 2007-07-27 02:35:31.000000000 +0200
10 +++ libgphoto2-2.4.0/libgphoto2/gphoto2-list.c 2007-09-28 20:09:31.392540127 +0200
13 #ifdef CAMERALIST_STRUCT_COMPATIBILITY
15 -#define MAX_ENTRIES 1024
16 +#define MAX_ENTRIES 8192
17 #define MAX_LIST_STRING_LENGTH 128