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

[kernel/jafar-kernel] Upgrade to 0.4

Changes since 0.3:
	- portability fix
	- handle correctly recent version of boost

Changes in the packages:
	- remove now useless CPPFLAGS and CXXFLAGS
parent 27fdcfb4
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Created: Redouane Boumghar on Thu, 17 Mar 2011
#
VERSION= 0.3
VERSION= 0.4
DISTNAME= jafar-kernel-${VERSION}
CATEGORIES= wip
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=jafar-kernel/}
......@@ -16,9 +16,6 @@ LICENSE= isc
USE_LANGUAGES+= c c++ fortran
USE_PKGLOCALEDIR= yes
CPPFLAGS += -DJFR_NDEBUG
CXXFLAGS += -pthread
CMAKE_ARGS+= -DBOOST_INCLUDEDIR=${PREFIX.boost-headers}/include
CMAKE_ARGS+= -DBOOST_LIBDIR=${PREFIX.boost-libs}/include
......
SHA1 (jafar-kernel-0.3.tar.gz) = 0dbf0bffa2fda89fbf8036c6cce8952798096a64
RMD160 (jafar-kernel-0.3.tar.gz) = 56b06fd70ce4ec8896c9ddb08e58a1ac63da8752
Size (jafar-kernel-0.3.tar.gz) = 94135 bytes
SHA1 (patch-aa) = f23f565348cf4566426987927e6f33f2770375e8
SHA1 (jafar-kernel-0.4.tar.gz) = 8ad1cc888e67829519a76ceaac4c38b1123ade8a
RMD160 (jafar-kernel-0.4.tar.gz) = ecf27735fd1b7ae37b47d381a7eb649260fce12a
Size (jafar-kernel-0.4.tar.gz) = 68451 bytes
execinfo.h is, by default, only available on Linux + GLibc.
So build it only if we are on linux
--- src/jafarException.cpp.old 2011-12-21 18:22:22.021107884 +0100
+++ src/jafarException.cpp 2011-12-21 18:22:42.521137944 +0100
@@ -18,12 +18,12 @@
namespace kernel {
#include <stdlib.h>
-#ifndef WIN32
+#ifdef __linux__
#include <execinfo.h>
#endif
std::string get_system_trace ()
{
-#ifndef WIN32
+#ifdef __linux__
void *array[15];
size_t size;
char **strings;
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