Skip to content
Snippets Groups Projects
Commit 11992c57 authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

[wip/jafar-rtslam] Add a patch to fix some portability issue

Equivalent to 75dcf4ffb63c7 in mainstream repository
Bump PKGREVISION
parent 24d08da4
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
#
JAFAR_PKG= rtslam-0.2
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= wip
JAFAR_COMMENT= Jafar module to do fast and generic EKF Slam.
......
......@@ -3,3 +3,4 @@ RMD160 (jafar-rtslam-0.2.tar.gz) = b6840c5170beef8b4c409c86da74ac3cf9841353
Size (jafar-rtslam-0.2.tar.gz) = 733290 bytes
SHA1 (patch-aa) = f5e95671e0ded99b9f2207ac93764da44bffda3c
SHA1 (patch-ab) = fdaab1bc3511fdbb78b201782b8a0ffc76ed22ce
SHA1 (patch-ac) = e9bf8fe7288a956fa84e00c9449831e28bb50a00
Change __sighandler_t into sig_t which is not platform dependant
diff --git a/include/rtslam/main.hpp b/include/rtslam/main.hpp
index 51cee4b..a9d9897 100644
--- include/rtslam/main.hpp
+++ include/rtslam/main.hpp
@@ -1435,7 +1435,7 @@ void demo_slam_stop(world_ptr_t *world)
}
-void set_signals(__sighandler_t catcher)
+void set_signals(sig_t catcher)
{
signal(SIGQUIT, catcher);
signal(SIGTERM, catcher);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment