add patched ebuild for exif
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1522 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
14
media-libs/libgphoto2/files/gphoto2-ixany.patch
Normal file
14
media-libs/libgphoto2/files/gphoto2-ixany.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -up gphoto2-2.4.0/libgphoto2-2.4.0/libgphoto2_port/serial/unix.c.ixany gphoto2-2.4.0/libgphoto2-2.4.0/libgphoto2_port/serial/unix.c
|
||||
--- libgphoto2-2.4.0/libgphoto2_port/serial/unix.c.ixany 2007-07-27 02:36:13.000000000 +0200
|
||||
+++ libgphoto2-2.4.0/libgphoto2_port/serial/unix.c 2008-02-25 06:40:40.000000000 +0100
|
||||
@@ -98,6 +98,10 @@
|
||||
|
||||
#define CHECK(result) {int r=(result); if (r<0) return (r);}
|
||||
|
||||
+#ifndef IXANY
|
||||
+#define IXANY 0004000
|
||||
+#endif
|
||||
+
|
||||
/* Linux */
|
||||
#ifdef __linux__
|
||||
/* devfs is accounted for in the implementation */
|
||||
11
media-libs/libgphoto2/files/libgphoto2-2.4.0-rpm.patch
Normal file
11
media-libs/libgphoto2/files/libgphoto2-2.4.0-rpm.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- configure.old 2007-09-24 22:21:16.000000000 +0200
|
||||
+++ configure 2007-09-24 22:21:27.000000000 +0200
|
||||
@@ -26609,7 +26609,7 @@
|
||||
# whether libusb-devel is installed or not defines whether the RPM
|
||||
# packages we're going to build will depend on libusb and libusb-devel
|
||||
# RPM packages or not.
|
||||
- if rpm -q libusb-devel > /dev/null 2>&1; then
|
||||
+ if false -q libusb-devel > /dev/null 2>&1; then
|
||||
RPM_LIBUSB_DEVEL_TRUE=
|
||||
RPM_LIBUSB_DEVEL_FALSE='#'
|
||||
else
|
||||
65
media-libs/libgphoto2/files/libgphoto2-2.4.3-automagic.patch
Normal file
65
media-libs/libgphoto2/files/libgphoto2-2.4.3-automagic.patch
Normal file
@@ -0,0 +1,65 @@
|
||||
--- a/libgphoto2_port/configure.ac 2008-11-29 22:04:31.000000000 +0100
|
||||
+++ b/libgphoto2_port/configure.ac 2008-11-29 22:10:50.000000000 +0100
|
||||
@@ -161,14 +161,25 @@
|
||||
])
|
||||
])
|
||||
|
||||
+dnl ---------------------------------------------------------------------------
|
||||
dnl Apple Bonjour / mDNSResponder multicast DNS queries.
|
||||
+dnl ---------------------------------------------------------------------------
|
||||
+
|
||||
MDNS_LIBS=
|
||||
-AC_CHECK_HEADER([dns_sd.h],[
|
||||
- AC_CHECK_LIB(dns_sd,DNSServiceResolve,[
|
||||
- MDNS_LIBS="-ldns_sd"
|
||||
- AC_DEFINE(HAVE_MDNS_BONJOUR,1,[Define if you have Bonjour/mDNSResponder.])
|
||||
- ])
|
||||
-])
|
||||
+have_bonjour=false
|
||||
+
|
||||
+AC_ARG_ENABLE([bonjour],
|
||||
+ AS_HELP_STRING([--disable-bonjour], [disable Bonjour support]),
|
||||
+ ,enable_bonjour=yes)
|
||||
+
|
||||
+if test "x$enable_bonjour" = "xyes"; then
|
||||
+ AC_CHECK_HEADER([dns_sd.h],[
|
||||
+ AC_CHECK_LIB(dns_sd,DNSServiceResolve,[
|
||||
+ MDNS_LIBS="-ldns_sd"
|
||||
+ AC_DEFINE(HAVE_MDNS_BONJOUR,1,[Define if you have Bonjour/mDNSResponder.])
|
||||
+ ])
|
||||
+ ])
|
||||
+fi
|
||||
|
||||
dnl Check for mnt_mountp in struct mnttab
|
||||
AC_MSG_CHECKING([for mnt_mountp in struct mnttab])
|
||||
@@ -347,15 +358,24 @@
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl disk - hal and various stuff
|
||||
dnl ---------------------------------------------------------------------------
|
||||
-PKG_CHECK_MODULES(HAL, [dbus-1 >= 0.31 hal >= 0.5.0],
|
||||
+have_hal=false
|
||||
+
|
||||
+AC_ARG_ENABLE([hal],
|
||||
+ AS_HELP_STRING([--disable-hal], [disable HAL support]),
|
||||
+ ,enable_hal=yes)
|
||||
+
|
||||
+if test "x$enable_hal" = "xyes"; then
|
||||
+ PKG_CHECK_MODULES(HAL, [dbus-1 >= 0.31 hal >= 0.5.0],
|
||||
[have_hal=true],
|
||||
[have_hal=false])
|
||||
-if test "x$have_hal" = "xtrue"; then
|
||||
- AC_SUBST(HAL_CFLAGS)
|
||||
- AC_SUBST(HAL_LIBS)
|
||||
- AC_DEFINE(HAVE_HAL,1,[defined if HAL is available])
|
||||
+ if test "x$have_hal" = "xtrue"; then
|
||||
+ AC_SUBST(HAL_CFLAGS)
|
||||
+ AC_SUBST(HAL_LIBS)
|
||||
+ AC_DEFINE(HAVE_HAL,1,[defined if HAL is available])
|
||||
+ IOLIB_SUBDIRS="$IOLIB_SUBDIRS disk"
|
||||
+ fi
|
||||
fi
|
||||
-IOLIB_SUBDIRS="$IOLIB_SUBDIRS disk"
|
||||
+
|
||||
|
||||
dnl ptpip - works 'everywhere' with TCP/IP stack.
|
||||
IOLIB_SUBDIRS="$IOLIB_SUBDIRS ptpip"
|
||||
14
media-libs/libgphoto2/files/libgphoto2-2.4.3-gcc43.patch
Normal file
14
media-libs/libgphoto2/files/libgphoto2-2.4.3-gcc43.patch
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user