develooper Front page | perl.perl5.porters | Postings from May 2019

[perl #134116] Add locale support to Android builds

From:
Richard
Date:
May 19, 2019 03:08
Subject:
[perl #134116] Add locale support to Android builds
Message ID:
rt-4.0.24-21227-1558235281-820.134116-75-0@perl.org
# New Ticket Created by  Richard 
# Please include the string:  [perl #134116]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134116 >


Hi Porters,

Early Android releases did not support locales and so the android
hints file undefs the necessary variables. (Apart from d_newlocale,
which is missing). Efforts to build perl on Android 8.1 (Oreo) under
the Termux app environment (RT#133787) show that modern Android does
support locales, and the attached patch updates the hints file
accordingly.

This patch reverts
https://perl5.git.perl.org/perl.git/commit/19abaf5c0cfc9d2967c43999e14f952574f0fced.
I checked with the original author (Jess Robinson) and committer
(Brian Fraser), neither has built perl on Android for a few years and
so didn't have a problem with this ticket being submitted.

Please could this patch be applied once blead is unfrozen?

Thanks,
Richard



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About