radare2: bump version.

This commit is contained in:
Jerome Duval
2017-11-10 19:35:47 +01:00
parent 10753c0be2
commit da9fd2f0c0
2 changed files with 33 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
From 525e11115f4d549021fc6f69e85f85ba40cddc29 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 10 Nov 2017 19:12:01 +0100
Subject: Haiku patch
diff --git a/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h b/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h
index c907d91..52dae8b 100644
--- a/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h
+++ b/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h
@@ -9,7 +9,7 @@
#else
# include <sys/param.h>
# include <sys/mman.h>
-# if !defined(__pnacl__) && !defined(__native_client__)
+# if !defined(__pnacl__) && !defined(__native_client__) && !defined(__HAIKU__)
# include <sys/syscall.h>
# if !defined(SYS_write) && defined(__NR_write)
# define SYS_write __NR_write
--
2.14.2

View File

@@ -9,7 +9,8 @@ LICENSE="GNU GPL v3
GNU LGPL v3"
REVISION="1"
SOURCE_URI="https://github.com/radare/radare2/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="759d1c65dcd69d1189fc73e427c568ec234a7ca1958c19f5001c255dd31a3787"
CHECKSUM_SHA256="d8f7e1ab96028fc8bd62d4f92fbbe8bbf48c6cda8112e6eaec93bf5ffbbbd1dd"
PATCHES="radare2-$portVersion.patchset"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -29,9 +30,7 @@ PROVIDES="
cmd:rarun2$secondaryArchSuffix
cmd:rasm2$secondaryArchSuffix
cmd:rax2$secondaryArchSuffix
cmd:r2_docker$secondaryArchSuffix
cmd:r2_indent$secondaryArchSuffix
lib:libr2$secondaryArchSuffix = 1.6.0
lib:libr2$secondaryArchSuffix = 2.0.1
lib:libr_anal$secondaryArchSuffix
lib:libr_asm$secondaryArchSuffix
lib:libr_bin$secondaryArchSuffix
@@ -59,12 +58,14 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix
lib:libcapstone$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libmagic$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
"
PROVIDES_devel="
radare2${secondaryArchSuffix}_devel = $portVersion
devel:libr2$secondaryArchSuffix = 1.6.0
devel:libr2$secondaryArchSuffix = 2.0.1
"
REQUIRES_devel="
radare2${secondaryArchSuffix} == $portVersion base
@@ -73,8 +74,10 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcapstone$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:liblua$secondaryArchSuffix
devel:libmagic$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
@@ -91,7 +94,7 @@ BUILD_PREREQUIRES="
BUILD()
{
runConfigure --omit-dirs docdir,datarootdir ./configure --with-sysmagic \
--with-syscapstone
--with-syscapstone --with-openssl
make $jobArgs
}
@@ -106,4 +109,6 @@ INSTALL()
prepareInstalledDevelLib libr2
packageEntries devel $developDir
rm $binDir/r2-docker $binDir/r2-indent
}