From 39014292188f3e89a6a72dfad876ca7b19a03f46 Mon Sep 17 00:00:00 2001 From: Arnaud Degroote <arnaud.degroote@laas.fr> Date: Mon, 19 Nov 2012 13:51:39 +0100 Subject: [PATCH] [wip/jafar-lgl] Add a patch to fix the build with gcc-4.7 The patch includes explicity <sys/types.h> to get the definition of ssize_t. It is equivalent to commit cd27fb49d in mainstream. --- jafar-lgl/Makefile | 1 + jafar-lgl/distinfo | 1 + jafar-lgl/patches/patch-aa | 13 +++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 jafar-lgl/patches/patch-aa diff --git a/jafar-lgl/Makefile b/jafar-lgl/Makefile index bb4c9647..02a79f85 100644 --- a/jafar-lgl/Makefile +++ b/jafar-lgl/Makefile @@ -4,6 +4,7 @@ VERSION= 1.7.1 DISTNAME= jafar-lgl-${VERSION} +PKGREVISION= 1 CATEGORIES= wip MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=jafar-lgl/} MASTER_REPOSITORY= git ssh://trac.laas.fr/git/robots/jafar/jafar/modules/lgl diff --git a/jafar-lgl/distinfo b/jafar-lgl/distinfo index 35e08c62..167b7981 100644 --- a/jafar-lgl/distinfo +++ b/jafar-lgl/distinfo @@ -1,3 +1,4 @@ SHA1 (jafar-lgl-1.7.1.tar.gz) = b604ba2f16d0f63c93276db249bef12f433675a8 RMD160 (jafar-lgl-1.7.1.tar.gz) = 1866b27da0ec15789444e56f3d582de85d1f3a64 Size (jafar-lgl-1.7.1.tar.gz) = 264210 bytes +SHA1 (patch-aa) = 4dfa02ec06ee2ffea94b600f46b8d3c0fced416f diff --git a/jafar-lgl/patches/patch-aa b/jafar-lgl/patches/patch-aa new file mode 100644 index 00000000..89893918 --- /dev/null +++ b/jafar-lgl/patches/patch-aa @@ -0,0 +1,13 @@ +diff --git a/include/lgl/FlexGrid.hpp b/include/lgl/FlexGrid.hpp +index 8e1a9f6..5cdcaad 100644 +--- include/lgl/FlexGrid.hpp ++++ include/lgl/FlexGrid.hpp +@@ -18,6 +18,8 @@ + #include <stdexcept> + #include <iterator> + ++#include <sys/types.h> ++ + namespace jafar { + namespace lgl { + -- GitLab