- 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:
Marcus Meissner 2010-06-21 14:44:55 +00:00 committed by Git OBS Bridge
parent 026e64eced
commit 5fa45cd82b
3 changed files with 17 additions and 1 deletions

View 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;

View File

@ -1,6 +1,7 @@
-------------------------------------------------------------------
Thu Jun 17 17:39:28 CEST 2010 - meissner@suse.de
Mon Jun 21 16:43:41 CEST 2010 - meissner@suse.de
- bump maximum file limit to 4096, as 2.5 is not ready yet bnc#439065
- Fixed some bugs in the ptp2 drivers.
-------------------------------------------------------------------

View File

@ -35,6 +35,7 @@ Release: 2
Source0: libgphoto2-%{version}.tar.bz2
Source1: baselibs.conf
Patch0: libgphoto24-branch.patch
Patch1: libgphoto2-4096files.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
@ -70,6 +71,7 @@ These are its development libraries and headers.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%{?suse_update_config:%{suse_update_config -f . libgphoto2_port}}