summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Serafini <nicolas.serafini@sensefly.com>2014-12-04 11:18:14 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-07 22:10:17 +0100
commitc2d8802fc7cd33d715f690bb839f5989751decf6 (patch)
tree0eedc752bafbdf681163579621eb3c5361da905b
parent3f985a262854df70dcf0fc3be0b261a9b7e56518 (diff)
downloadbuildroot-c2d8802fc7cd33d715f690bb839f5989751decf6.tar.gz
buildroot-c2d8802fc7cd33d715f690bb839f5989751decf6.zip
exiv2: add patch to fix build error with some toolchains
This patch remove a header inclusion that is not required an can create build error with some toolchains. The patch is pushed on the upstream for the next release. http://dev.exiv2.org/issues/1007 Fixes: http://autobuild.buildroot.net/results/09d/09d9b525eeee458247e10a7948070c00bbabb964/ Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/exiv2/exiv2-0001-remove-useless-header.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/exiv2/exiv2-0001-remove-useless-header.patch b/package/exiv2/exiv2-0001-remove-useless-header.patch
new file mode 100644
index 0000000000..96a37348b9
--- /dev/null
+++ b/package/exiv2/exiv2-0001-remove-useless-header.patch
@@ -0,0 +1,19 @@
+version.cpp: remove useless header inclusion
+
+The inclusion of link.h header is not required and can create build
+error with some toolchains.
+The patch is pushed on the upstream for the next release.
+http://dev.exiv2.org/issues/1007
+
+Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
+
+--- exiv2-0.24.orig/src/version.cpp 2013-12-01 13:13:42.000000000 +0100
++++ exiv2-0.24/src/version.cpp 2014-12-04 09:30:39.667234130 +0100
+@@ -116,7 +116,6 @@ typedef string_v::iterator string_i;
+ #elif defined(__linux__)
+ # include <unistd.h>
+ // http://syprog.blogspot.com/2011/12/listing-loaded-shared-objects-in-linux.html
+-# include "link.h"
+ # include <dlfcn.h>
+ struct something
+ {
OpenPOWER on IntegriCloud