diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-25 12:45:53 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-27 14:38:15 -0400 |
commit | 316dfdd917bec6a218f431211d28bf8df6b6fb0f (patch) | |
tree | 5541073f9851f44c2bd67b4959dc776ee3c3810f /import-layers/meta-openembedded/meta-oe/recipes-graphics/gphoto2/gphoto2/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch | |
parent | 36acd3e888044dea2ac0b2946f15616f968388c9 (diff) | |
download | talos-openbmc-316dfdd917bec6a218f431211d28bf8df6b6fb0f.tar.gz talos-openbmc-316dfdd917bec6a218f431211d28bf8df6b6fb0f.zip |
Yocto 2.5
Move OpenBMC to Yocto 2.5(sumo)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5c5ad6904a16e14c1c397f0baf10c9d465594a78
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-graphics/gphoto2/gphoto2/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch')
-rw-r--r-- | import-layers/meta-openembedded/meta-oe/recipes-graphics/gphoto2/gphoto2/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-graphics/gphoto2/gphoto2/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch b/import-layers/meta-openembedded/meta-oe/recipes-graphics/gphoto2/gphoto2/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch new file mode 100644 index 000000000..e6c7dd667 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-graphics/gphoto2/gphoto2/0002-Look-for-popt-with-GP_CHECK_LIBRARY-function.patch @@ -0,0 +1,32 @@ +From 884d4c9bbd2dc147d614a5fabc25dbea7a71cd48 Mon Sep 17 00:00:00 2001 +From: Andreas Baak <andreas.baak@gmail.com> +Date: Sun, 12 Jul 2015 02:13:58 -0700 +Subject: [PATCH] Look for popt with GP_CHECK_LIBRARY function + +The previously used proprietary function GP_CHECK_POPT +defined in /.m4m/gp-check-opt.m4 is not ready for cross +compilation since it looks for the library and headers +in the host system. Yocto reports the following error: +"QA Issue: gphoto2: The compile log indicates that host +include and/or library paths were used." +Using the GP_CHECK_LIBRARY function fixes this problem +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 93fbaf2..6d661f0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -285,7 +285,7 @@ GP_CONFIG_MSG([Text preview support],[$aa_msg]) + dnl --------------------------------------------------------------------------- + dnl popt.h: Simplifies handling of command-line options enormously. + dnl --------------------------------------------------------------------------- +-GP_CHECK_POPT([mandatory]) ++GP_CHECK_LIBRARY([POPT], [popt], [], [popt.h], [], [], [mandatory]) + + + dnl --------------------------------------------------------------------------- +-- +1.9.1 + |