summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-12-04 23:17:40 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-12-04 23:17:40 +0000
commitb629adb0ad83c3e719cb317fff6f6215e769c44f (patch)
tree5a68306a2dd391aba27753bc0fdda7381fc8ad9c /media-libs/libgphoto2/files
parentAdd networkmanager-0.7.0 to package mask. New version can harm kittens :P (diff)
downloadhistorical-b629adb0ad83c3e719cb317fff6f6215e769c44f.tar.gz
historical-b629adb0ad83c3e719cb317fff6f6215e769c44f.tar.bz2
historical-b629adb0ad83c3e719cb317fff6f6215e769c44f.zip
Fix compilation with gcc 4.3, bug #249677.
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64
Diffstat (limited to 'media-libs/libgphoto2/files')
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.4.3-gcc43.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.4.3-gcc43.patch b/media-libs/libgphoto2/files/libgphoto2-2.4.3-gcc43.patch
new file mode 100644
index 000000000000..cec7b0f1b973
--- /dev/null
+++ b/media-libs/libgphoto2/files/libgphoto2-2.4.3-gcc43.patch
@@ -0,0 +1,14 @@
+#
+# Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=249677
+#
+diff -Naur libgphoto2-2.4.3-orig/camlibs/smal/ultrapocket.c libgphoto2-2.4.3/camlibs/smal/ultrapocket.c
+--- libgphoto2-2.4.3-orig/camlibs/smal/ultrapocket.c 2008-10-18 11:55:46.000000000 -0600
++++ libgphoto2-2.4.3/camlibs/smal/ultrapocket.c 2008-12-02 20:41:07.000000000 -0600
+@@ -21,6 +21,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <locale.h>
+
+ #include <gphoto2/gphoto2-port-log.h>
+ #include <gphoto2/gphoto2-library.h>