From d506a378cdab6f71b5baed731afe0f53dacb0c88 Mon Sep 17 00:00:00 2001 From: Arnaud Degroote <arnaud.degroote@laas.fr> Date: Fri, 23 Nov 2012 15:21:59 +0100 Subject: [PATCH] [wip/hyper] Add a patch to fix compilation on NetBSD --- hyper/Makefile | 2 +- hyper/distinfo | 1 + hyper/patches/patch-ab | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 hyper/patches/patch-ab diff --git a/hyper/Makefile b/hyper/Makefile index a237173b..e29fbade 100644 --- a/hyper/Makefile +++ b/hyper/Makefile @@ -4,7 +4,7 @@ DISTNAME= hyper-${VERSION} VERSION= 0.9 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= supervision MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=hyper/} MASTER_REPOSITORY= ${MASTER_REPOSITORY_OPENROBOTS}hyper diff --git a/hyper/distinfo b/hyper/distinfo index 0e929b2b..971cd3e1 100644 --- a/hyper/distinfo +++ b/hyper/distinfo @@ -2,3 +2,4 @@ SHA1 (hyper-0.9.tar.gz) = adf3507649a3cd3afed44b300f99850243daab25 RMD160 (hyper-0.9.tar.gz) = da79fc936a80720d489630163e403ce0439bd4fe Size (hyper-0.9.tar.gz) = 176663 bytes SHA1 (patch-aa) = 1d7f8ead0ab7811bfe394dfdd7db0d599cfdb239 +SHA1 (patch-ab) = abe3ae29c6cf00f941ae5c99cd5e43e5a97da409 diff --git a/hyper/patches/patch-ab b/hyper/patches/patch-ab new file mode 100644 index 00000000..3a78985b --- /dev/null +++ b/hyper/patches/patch-ab @@ -0,0 +1,15 @@ +[model] Add stdlib header for exit(3) and daemon on NetBSD + +diff --git a/include/model/main.hh b/include/model/main.hh +index 08e3543..1f719bb 100644 +--- include/model/main.hh ++++ include/model/main.hh +@@ -3,6 +3,7 @@ + + #include <iostream> + #include <string> ++#include <stdlib.h> + #include <unistd.h> + + #include <boost/system/system_error.hpp> + -- GitLab