summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/gphoto2/gphoto2-2.5.8/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/gphoto2/gphoto2-2.5.8/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch')
-rw-r--r--meta-oe/recipes-graphics/gphoto2/gphoto2-2.5.8/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/gphoto2/gphoto2-2.5.8/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch b/meta-oe/recipes-graphics/gphoto2/gphoto2-2.5.8/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch
new file mode 100644
index 000000000..e6c7dd667
--- /dev/null
+++ b/meta-oe/recipes-graphics/gphoto2/gphoto2-2.5.8/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch
@@ -0,0 +1,32 @@
1From 884d4c9bbd2dc147d614a5fabc25dbea7a71cd48 Mon Sep 17 00:00:00 2001
2From: Andreas Baak <andreas.baak@gmail.com>
3Date: Sun, 12 Jul 2015 02:13:58 -0700
4Subject: [PATCH] Look for popt with GP_CHECK_LIBRARY function
5
6The previously used proprietary function GP_CHECK_POPT
7defined in /.m4m/gp-check-opt.m4 is not ready for cross
8compilation since it looks for the library and headers
9in the host system. Yocto reports the following error:
10"QA Issue: gphoto2: The compile log indicates that host
11include and/or library paths were used."
12Using the GP_CHECK_LIBRARY function fixes this problem
13---
14 configure.ac | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/configure.ac b/configure.ac
18index 93fbaf2..6d661f0 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -285,7 +285,7 @@ GP_CONFIG_MSG([Text preview support],[$aa_msg])
22 dnl ---------------------------------------------------------------------------
23 dnl popt.h: Simplifies handling of command-line options enormously.
24 dnl ---------------------------------------------------------------------------
25-GP_CHECK_POPT([mandatory])
26+GP_CHECK_LIBRARY([POPT], [popt], [], [popt.h], [], [], [mandatory])
27
28
29 dnl ---------------------------------------------------------------------------
30--
311.9.1
32