rpms/libgphoto2/devel gphoto2-maxentries.patch, NONE, 1.1 libgphoto2.spec, 1.10, 1.11

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Mon Jul 7 08:12:32 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/libgphoto2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6202

Modified Files:
	libgphoto2.spec 
Added Files:
	gphoto2-maxentries.patch 
Log Message:
* Mon Jul 07 2008 Jindrich Novy <jnovy at redhat.com> 2.4.1-6
- increase maximal number of entries in the camera list (#454245)


gphoto2-maxentries.patch:

--- NEW FILE gphoto2-maxentries.patch ---
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;


Index: libgphoto2.spec
===================================================================
RCS file: /cvs/extras/rpms/libgphoto2/devel/libgphoto2.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- libgphoto2.spec	20 Jun 2008 16:27:59 -0000	1.10
+++ libgphoto2.spec	7 Jul 2008 08:11:48 -0000	1.11
@@ -1,7 +1,7 @@
 Summary: Library for accessing digital cameras
 Name: libgphoto2
 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
 License: GPLv2+ and GPLv2
 Group: Development/Libraries
@@ -10,6 +10,7 @@
 Patch1: gphoto2-pkgcfg.patch
 Patch2: gphoto2-storage.patch
 Patch3: gphoto2-ixany.patch
+Patch4: gphoto2-maxentries.patch
 Patch6: gphoto2-libusb-fix-build.patch
 Url: http://www.gphoto.org/
 Requires: lockdev
@@ -53,6 +54,7 @@
 %patch1 -p1 -b .pkgcfg
 %patch2 -p1 -b .storage
 %patch3 -p1 -b .ixany
+%patch4 -p1 -b .maxentries
 %patch6 -p1 -b .libusb-build
 
 # FIXME: These .pc.in files aren't actually being installed?
@@ -151,6 +153,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 07 2008 Jindrich Novy <jnovy at redhat.com> 2.4.1-6
+- increase maximal number of entries in the camera list (#454245)
+
 * Fri Jun 20 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 2.4.1-5
 - fix pkgcfg patch to match actual .pc file names (fixes kdegraphics build)
 




More information about the fedora-extras-commits mailing list