diff mbox

[1/3] flann: bump version to fix build with gcc 6

Message ID 1463520230-6127-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Headers show

Commit Message

Thomas Petazzoni May 17, 2016, 9:23 p.m. UTC
The current version of flann in Buildroot fails to build with gcc 6.x,
with the following failure:

  error: call of overloaded 'abs(flann::KDTreeIndex<flann::L2<float> >::ElementType)' is ambiguous

By bumping the upstream version one commit further, we get an upstream
fix that fixes the build problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/flann/flann.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni May 24, 2016, 3:40 p.m. UTC | #1
Hello,

On Tue, 17 May 2016 23:23:48 +0200, Thomas Petazzoni wrote:
> The current version of flann in Buildroot fails to build with gcc 6.x,
> with the following failure:
> 
>   error: call of overloaded 'abs(flann::KDTreeIndex<flann::L2<float> >::ElementType)' is ambiguous
> 
> By bumping the upstream version one commit further, we get an upstream
> fix that fixes the build problem.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/flann/flann.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

All three patches applied to master.

Thomas
diff mbox

Patch

diff --git a/package/flann/flann.mk b/package/flann/flann.mk
index 8af58e3..af86a02 100644
--- a/package/flann/flann.mk
+++ b/package/flann/flann.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-FLANN_VERSION = 04b4a56533faf8c8228d011d05ba376038364b49
+FLANN_VERSION = 3645f0c30a47267e56e5acdecfc7bac2b76bc3d5
 FLANN_SITE = $(call github,mariusmuja,flann,$(FLANN_VERSION))
 FLANN_INSTALL_STAGING = YES
 FLANN_LICENSE = BSD-3c