develooper Front page | perl.perl5.porters | Postings from February 2018

[PATCH] Don't export PL_underlying_numeric_obj if it doesn't exist.

Thread Next
From:
Craig A. Berry
Date:
February 11, 2018 00:43
Subject:
[PATCH] Don't export PL_underlying_numeric_obj if it doesn't exist.
Message ID:
5ED29727-4C79-4CDF-A881-9E0B19ADF981@mac.com
My commit bit is having technical difficulties at the moment that are being worked on, but in the meantime I'd appreciate it if someone could apply the following; without it blead currently fails to build on VMS.  Patch both inline and attached.  Thanks.

From efc4d5425aa6e2ec52753bc6f9505891b7e8db1f Mon Sep 17 00:00:00 2001
From: "Craig A. Berry" <craigberry@mac.com>
Date: Sat, 10 Feb 2018 17:05:07 -0600
Subject: [PATCH] Don't export PL_underlying_numeric_obj if it doesn't exist.

This broke the build on VMS and probably would on anything else
with strict linking where HAS_NEW_LOCALE is not defined.
---
 makedef.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/makedef.pl b/makedef.pl
index 5dc7bdf35c..93e47b03c5 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -403,6 +403,7 @@ unless ($define{'HAS_NEWLOCALE'} && ! $define{'NO_POSIX_2008_LOCALE'})
 {
     ++$skip{$_} foreach qw(
         PL_C_locale_obj
+        PL_underlying_numeric_obj
     );
 }

--
2.14.3 (Apple Git-98)


________________________________________
Craig A. Berry

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser



Thread Next


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