Commit Graph

38 Commits

Author SHA1 Message Date
Fredrik Fornwall
ebff4c36b0 erlang: Update from 21.1.1 to 21.1.2 2018-11-17 22:07:42 +01:00
Fredrik Fornwall
62e0929a4d erlang: Update from 21.1 to 21.1.1 2018-10-18 19:44:53 +02:00
Fredrik Fornwall
7449470ca3 erlang: Bump revision after cpu_sup.c patch 2018-09-27 21:49:59 +02:00
Alexander Clouter
9ba79974e7 re-enable cpu_sup.patch for Erlang now it compiles 2018-09-27 21:48:49 +02:00
Alexander Clouter
f4b820f806 compile fix for Erlang that slipped through in PR#2905, sorry! 2018-09-27 21:48:49 +02:00
Fredrik Fornwall
aed31a04af erlang: Disable broken patch
The patch caused the following errors:

cpu_sup.c:346:33: error: expected expression
    case AVG1:          (unsigned int)(return info.loads[0] / 256);
                                       ^
cpu_sup.c:347:33: error: expected expression
    case AVG5:          (unsigned int)(return info.loads[1] / 256);
                                       ^
cpu_sup.c:348:33: error: expected expression
    case AVG15:         (unsigned int)(return info.loads[2] / 256);
                                       ^
cpu_sup.c:351:26: error: use of undeclared identifier 'avgs'
    sendi((unsigned int)(avgs[idx] * 256));
                         ^
cpu_sup.c:351:31: error: use of undeclared identifier 'idx'
    sendi((unsigned int)(avgs[idx] * 256));
                              ^
5 errors generated.
2018-09-27 21:06:33 +02:00
Fredrik Fornwall
266c6512a7 erlang&make: Bump revision after patches 2018-09-27 20:57:39 +02:00
Alexander Clouter
aef83cad47 Make Erlang's cpu_sup function better on Android
Due to `/proc` restrictions in newer Android releases enforced by SELinux, Erlang needs a fix so that it can get some basic CPU stats (use the `sysinfo` syscall rather than reading `/proc/loadavg`).
2018-09-27 20:56:06 +02:00
Alexander Clouter
6ce53ebfe6 fix Erlang's os:cmd, by adding @TERMUX_PREFIX@ so /bin/sh works 2018-09-27 20:56:06 +02:00
Alexander Clouter
42293b0997 include dev componments for Erlang 2018-09-27 20:56:06 +02:00
Fredrik Fornwall
8cfa4a3d33 erlang: Update from 21.0.8 to 21.1 2018-09-26 08:27:26 +02:00
Fredrik Fornwall
fd72a74c42 openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
Fredrik Fornwall
347767715f erlang: Update from 21.0.7 to 21.0.8 2018-09-09 23:03:06 +02:00
Fredrik Fornwall
fd1149feb0 erlang: Update from 21.0.6 to 21.0.7 2018-08-31 02:31:50 +02:00
Fredrik Fornwall
9d212cb09c erlang: Update from 21.0.5 to 21.0.6 2018-08-26 02:48:28 +02:00
Fredrik Fornwall
3e6fbcef2f openssl 1.1.1 preparation patches 2018-08-24 02:34:07 +02:00
Fredrik Fornwall
aa081a30fd erlang: Update from 21.0.4 to 21.0.5 2018-08-14 12:20:18 +02:00
Fredrik Fornwall
fec20ef17f erlang: Update from 21.0.3 to 21.0.4 2018-07-28 23:33:00 +02:00
Fredrik Fornwall
91316d7e79 erlang: Update from 21.0.2 to 21.0.3 2018-07-14 00:26:59 +02:00
Fredrik Fornwall
513ec5c89b erlang: Update from 21.0.1 to 21.0.2 2018-07-05 13:41:25 +02:00
Fredrik Fornwall
edd512a8f0 erlang: Update from 20.3.8 to 21.0.1 2018-07-01 23:19:57 +02:00
Fredrik Fornwall
f13e84a728 erlang: Update from 20.3.7 to 20.3.8 2018-06-20 01:25:16 +02:00
Fredrik Fornwall
30f0adfd10 erlang: Update from 20.3.6 to 20.3.7 2018-06-05 23:47:10 +02:00
Fredrik Fornwall
53b0f0bb4b erlang: Update from 20.3.4 to 20.3.6 2018-05-13 02:52:42 +02:00
Fredrik Fornwall
079164292d erlang: Update from 20.3.2 to 20.3.4 2018-04-23 00:06:41 +02:00
Fredrik Fornwall
099031e31c erlang: Update from 20.3.1 to 20.3.2 2018-03-22 22:36:57 +01:00
Fredrik Fornwall
e7d88ab691 erlang: Update from 20.2.4 to 20.3.1 2018-03-18 21:30:13 +01:00
Fredrik Fornwall
2c9ea72d0c erlang: Update from 20.2.1 to 20.2.4 2018-02-25 23:36:26 +01:00
Fredrik Fornwall
ca6ee46677 erlang: Update from 20.1.6 to 20.2.1 2017-12-17 00:44:55 +01:00
Fredrik Fornwall
f8af14d10a erlang: Update from 20.1 to 20.1.6 2017-11-22 16:43:28 +01:00
Fredrik Fornwall
41396cc1eb erlang: Update from 20.0 to 20.1 2017-10-15 01:02:39 +02:00
Fredrik Fornwall
51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Fredrik Fornwall
f79bf89485 erlang: Update from 19.3 to 20.0 2017-07-17 20:24:18 +02:00
Fredrik Fornwall
461b0ab8cf erlang: Update from 19.2 to 19.3 2017-03-27 01:56:37 +02:00
Fredrik Fornwall
762f98e740 erlang: Seems we need to build host part each time 2017-01-10 06:34:38 -05:00
Fredrik Fornwall
11e97371db erlang: Cleanup and improve build script
- Add a src checksum
- Put host-built binaries first into PATH to avoid problems if
  and erlang is already available.
- Do not build a new host build on every build
2017-01-10 03:15:05 -05:00
Fredrik Fornwall
03b4db0ce2 erlang: Update from 18.3.3 to 19.2
Also fix how the system openssl is specified.
2016-12-23 17:17:53 -05:00
Remco van 't Veer
5b7fa6e963 Add erlang package (#439)
* Add erlang package

* Can't build erlang after building pcre package

Use patch from buildroot to avoid problems:

  https://github.com/buildroot/buildroot/blob/master/package/erlang/0002-erts-ethread-instruct-libatomic_ops-we-do-require-CA.patch

Thanks to github user @its-pointless for pointing it out.

* Enable termcap in erlang package

This provides readline like behaviour in erlang shell (erl).
2016-12-23 22:12:42 +01:00