summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2010-11-26 17:49:56 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2010-11-26 17:49:56 +0000
commitcdf9065afa775bb6e9d25f15b153fd3a24a483a5 (patch)
tree74c0219e851854771ef349ee8af1d0ce6b47cddc /media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch
parentadding comment and postinstall info (diff)
downloadje_fro-cdf9065afa775bb6e9d25f15b153fd3a24a483a5.tar.gz
je_fro-cdf9065afa775bb6e9d25f15b153fd3a24a483a5.tar.bz2
je_fro-cdf9065afa775bb6e9d25f15b153fd3a24a483a5.zip
latest version, trying to escape compilation error in 2.4.10 - st2205/st2205_decode.c:425:1: error: expected identifier or '(' before '{' token
svn path=/; revision=305
Diffstat (limited to 'media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch')
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch b/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch
new file mode 100644
index 0000000..16aadd1
--- /dev/null
+++ b/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch
@@ -0,0 +1,15 @@
+Increase max entries from 1024 to 8192 until
+http://sourceforge.net/tracker/index.php?func=detail&aid=1515453&group_id=8874&atid=108874
+fix is backported to 2.4 branch.
+This fixes http://bugs.gentoo.org/show_bug.cgi?id=291049
+--- a/libgphoto2/gphoto2-list.c
++++ b/libgphoto2/gphoto2-list.c
+@@ -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;