- increase maximal number of entries in the camera list (#454245)
This commit is contained in:
parent
3608e437f0
commit
05b56d805c
12
gphoto2-maxentries.patch
Normal file
12
gphoto2-maxentries.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up libgphoto2-2.4.1/libgphoto2/gphoto2-list.c.maxentries libgphoto2-2.4.1/libgphoto2/gphoto2-list.c
|
||||||
|
--- libgphoto2-2.4.1/libgphoto2/gphoto2-list.c.maxentries 2007-07-27 07:52:55.000000000 +0200
|
||||||
|
+++ libgphoto2-2.4.1/libgphoto2/gphoto2-list.c 2008-07-07 09:27:04.000000000 +0200
|
||||||
|
@@ -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,7 +1,7 @@
|
|||||||
Summary: Library for accessing digital cameras
|
Summary: Library for accessing digital cameras
|
||||||
Name: libgphoto2
|
Name: libgphoto2
|
||||||
Version: 2.4.1
|
Version: 2.4.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
|
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
|
||||||
License: GPLv2+ and GPLv2
|
License: GPLv2+ and GPLv2
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -10,6 +10,7 @@ Source0: http://downloads.sourceforge.net/gphoto/libgphoto2-%{version}.tar.bz2
|
|||||||
Patch1: gphoto2-pkgcfg.patch
|
Patch1: gphoto2-pkgcfg.patch
|
||||||
Patch2: gphoto2-storage.patch
|
Patch2: gphoto2-storage.patch
|
||||||
Patch3: gphoto2-ixany.patch
|
Patch3: gphoto2-ixany.patch
|
||||||
|
Patch4: gphoto2-maxentries.patch
|
||||||
Patch6: gphoto2-libusb-fix-build.patch
|
Patch6: gphoto2-libusb-fix-build.patch
|
||||||
Url: http://www.gphoto.org/
|
Url: http://www.gphoto.org/
|
||||||
Requires: lockdev
|
Requires: lockdev
|
||||||
@ -53,6 +54,7 @@ use libgphoto2.
|
|||||||
%patch1 -p1 -b .pkgcfg
|
%patch1 -p1 -b .pkgcfg
|
||||||
%patch2 -p1 -b .storage
|
%patch2 -p1 -b .storage
|
||||||
%patch3 -p1 -b .ixany
|
%patch3 -p1 -b .ixany
|
||||||
|
%patch4 -p1 -b .maxentries
|
||||||
%patch6 -p1 -b .libusb-build
|
%patch6 -p1 -b .libusb-build
|
||||||
|
|
||||||
# FIXME: These .pc.in files aren't actually being installed?
|
# FIXME: These .pc.in files aren't actually being installed?
|
||||||
@ -151,6 +153,9 @@ rm -rf "${RPM_BUILD_ROOT}"
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 07 2008 Jindrich Novy <jnovy@redhat.com> 2.4.1-6
|
||||||
|
- increase maximal number of entries in the camera list (#454245)
|
||||||
|
|
||||||
* Fri Jun 20 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.4.1-5
|
* Fri Jun 20 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.4.1-5
|
||||||
- fix pkgcfg patch to match actual .pc file names (fixes kdegraphics build)
|
- fix pkgcfg patch to match actual .pc file names (fixes kdegraphics build)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user