SOURCES: libgphoto2-increase_max_entries.patch (NEW) - from ubuntu, lp#144585

glen glen at pld-linux.org
Tue Jun 24 13:50:00 CEST 2008


Author: glen                         Date: Tue Jun 24 11:50:00 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from ubuntu, lp#144585

---- Files affected:
SOURCES:
   libgphoto2-increase_max_entries.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libgphoto2-increase_max_entries.patch
diff -u /dev/null SOURCES/libgphoto2-increase_max_entries.patch:1.1
--- /dev/null	Tue Jun 24 13:50:00 2008
+++ SOURCES/libgphoto2-increase_max_entries.patch	Tue Jun 24 13:49:54 2008
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70_increase_max_entries.dpatch by  <fpeters at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad libgphoto2-2.4.0~/libgphoto2/gphoto2-list.c libgphoto2-2.4.0/libgphoto2/gphoto2-list.c
+--- libgphoto2-2.4.0~/libgphoto2/gphoto2-list.c	2007-07-27 02:35:31.000000000 +0200
++++ libgphoto2-2.4.0/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;
================================================================


More information about the pld-cvs-commit mailing list