ALT Linux repos
Group :: Graphics
RPM: gphoto2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: gphoto2-2.4.0-deb-70_increase_max_entries.patch
Download
Download
#! /bin/sh /usr/share/dpatch/dpatch-run
## 70_increase_max_entries.dpatch by <fpeters@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad libgphoto2-2.4.0~/libgphoto2/gphoto2-list.c libgphoto2-2.4.0/libgphoto2/gphoto2-list.c
--- gphoto2~/libgphoto2/libgphoto2/gphoto2-list.c 2007-07-27 02:35:31.000000000 +0200
+++ gphoto2/libgphoto2/libgphoto2/gphoto2-list.c 2007-09-28 20:09:31.392540127 +0200
@@ -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;