Revert "package/libopenssl: fix build on riscv32"
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 3 Mar 2021 10:15:29 +0000 (11:15 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 3 Mar 2021 10:15:29 +0000 (11:15 +0100)
commit6cfb4ad7f76a52d890ba2018f45d59f8d86e06f5
tree47ff7e6f4971d74be5cf93a035053e750831f4fa
parent2bb26c1a1d24cdbb946bc2a77680dbc8f9c0d537
Revert "package/libopenssl: fix build on riscv32"

This reverts commit 2bb26c1a1d24cdbb946bc2a77680dbc8f9c0d537.

There was some negative feedback from Arnd Bergmann on that patch:
    https://github.com/openssl/openssl/commit/5b5e2985f355c8e99c196d9ce5d02c15bebadfbc#commitcomment-44782859

    The patch looks wrong to me: __NR_io_pgetevents_time64 must be used
    whenever time_t is 64-bit wide on a 32-bit architecture, while
    __NR_io_getevents/__NR_io_pgetevents must be used when time_t is the
    same width as 'long'.

    Checking whether __NR_io_getevents is defined is wrong for all
    architectures other than riscv

And in light of the above, indeed the patch does not look so correct
after all.

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libopenssl/0006-Add-support-for-io_pgetevents_time64-syscall.patch [deleted file]