forked from pool/libgphoto2
- bump maximum file limit to 4096, as 2.5 is not ready yet bnc#439065
OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=36
This commit is contained in:
13
libgphoto2-4096files.patch
Normal file
13
libgphoto2-4096files.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
Reference in New Issue
Block a user