Commit graph

8 commits

Author SHA1 Message Date
Sebastian Kemper
49ad98ce60 erlang: fix host build when pcre/host is installed
OpenWrt added pcre/host recently. When it is available (installed)
erlang finds staging_dir/hostpkg/include/pcre.h before it finds its own
copy and the build fails.

 CC	obj/x86_64-pc-linux-gnu/opt/smp/erl_bif_chksum.o
 CC	obj/x86_64-pc-linux-gnu/opt/smp/erl_bif_re.o
beam/erl_bif_re.c: In function 'erts_init_bif_re':
beam/erl_bif_re.c:96:5: error: 'erts_pcre_malloc' undeclared (first use in this function)
     erts_pcre_malloc = &erts_erts_pcre_malloc;
     ^~~~~~~~~~~~~~~~
beam/erl_bif_re.c:96:5: note: each undeclared identifier is reported only once for each function it appears in
beam/erl_bif_re.c:97:5: error: 'erts_pcre_free' undeclared (first use in this function)
     erts_pcre_free = &erts_erts_pcre_free;
     ^~~~~~~~~~~~~~

This adds a patch from Romain Naour and Bernd Kuhls to prevent that.
Patch snatched from buildroot [1].

[1] https://github.com/buildroot/buildroot/blob/master/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-01 23:15:06 +02:00
Rosen Penev
13b76d1b10
erlang: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:15:55 -07:00
Xiaobo Tian
55b247b3a8 erlang: upgrade opt 23.0
Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com>
2020-06-10 17:07:40 +08:00
Rosen Penev
83b9991e07
erlang: Fix compilation without deprecated OpenSSL APIs
Renamed the patch as it does more than fix ENGINE support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-20 13:29:32 -07:00
Rosen Penev
d9c1c3b07d erlang: Fix compilation without deprecated OpenSSL 1.0.2 APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-01 23:23:00 -08:00
Arnaud Sautaux
5a56e39f1d erlang: update to version 19.3, add packages
New packages:
* erlang-tools: This Erlang/OTP package provides support for misc tools.
* erlang-reltool: This Erlang/OTP package provides support for release management.
* erlang-erl-interface: This Erlang/OTP package provides support for erlang interoperability with other languages.
* erlang-os_mon: This Erlang/OTP package provides the following services:
  - cpu_sup CPU load and utilization supervision
  - disksup Disk supervision
  - memsup Memory supervision
* erlang-xmerl: This Erlang/OTP package provides functions for exporting XML data to an external format

Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
2018-06-13 13:56:38 +02:00
Nicolas Thill
d4afd14ff1 erlang: fix musl compatibility
gethostbyname_r is available when _GNU_SOURCE is defined, add a patch to check for it instead of __GLIBC__, build with -D_GNU_SOURCE, bump release number

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-06-23 01:06:36 +02:00
Nicolas Thill
efec55b785 erlang: import from old packages feed
- update to latest version (v17.1)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-08-20 15:50:32 +02:00