erlang: update to 18.2.
This commit is contained in:
parent
cf8322fc6b
commit
1be5a4d5ce
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'erlang'
|
||||
pkgname=erlang
|
||||
version=18.1
|
||||
version=18.2
|
||||
revision=1
|
||||
wrksrc=otp_src_${version}
|
||||
build_style=gnu-configure
|
||||
|
@ -14,19 +14,11 @@ license="Apache-2.0"
|
|||
homepage="http://www.erlang.org/"
|
||||
distfiles="http://www.erlang.org/download/otp_src_${version}.tar.gz
|
||||
http://www.erlang.org/download/otp_doc_man_${version}.tar.gz"
|
||||
checksum="e4a147228a6b7fa60dce05c8adfb3cbc254d97cf6e45456d93d93adbde8b0f11
|
||||
e080e656820b26dd45d806b632e12eec7d1de34f38e5de19a7aebc9fd6e5c9b6"
|
||||
checksum="43de28ac307d2ecf26b6134647f8de1cdf7b419517514a7d5c2af04284fb3fd0
|
||||
3695f3a10652e1e1b06d14639d9690d5e533c5e3b831c37f80214f68b8c56a29"
|
||||
|
||||
build_options="x11"
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/__uint32_t/uint32_t/' erts/emulator/sys/common/erl_poll.h
|
||||
sed -i 's/__ANDROID__/__linux__/' lib/erl_interface/src/connect/ei_resolve.c
|
||||
sed -i -e 's/#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3)/& || __linux__/' \
|
||||
-e '/!defined(__GLIBC__) && !defined(__DARWIN__) && !defined(__NetBSD__)/s/__GLIBC__/__linux__/' \
|
||||
-e '/#define _NSIG NSIG/d' \
|
||||
erts/emulator/hipe/hipe_x86_signal.c
|
||||
}
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Build the bootstrap compiler for the host platform.
|
||||
|
|
Loading…
Reference in New Issue