- 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:
parent
026e64eced
commit
5fa45cd82b
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;
|
@ -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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user