# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/perl/hotfix-x-bigendian.diff # Copyright (C) 2022 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- perl-5.36.0/config.h 2022-10-25 10:41:08.707005658 +0200 +++ perl-5.36.0/config.h 2022-10-25 01:02:00.964000000 +0200 @@ -849,7 +849,7 @@ # endif # endif #else -#define BYTEORDER 0x12345678 /* large digits for MSB */ +#define BYTEORDER 0x4321 /* large digits for MSB */ #endif /* CHARBITS: @@ -3844,10 +3845,10 @@ * This symbol, if defined, is a comma-separated list of * hexadecimal bytes (0xHH) for the long double precision not-a-number. */ -#define DOUBLEINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f /**/ -#define DOUBLENANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xff /**/ -#define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ -#define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ +#define DOUBLEINFBYTES 0x7f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ +#define DOUBLENANBYTES 0x7f, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ +#define LONGDBLINFBYTES 0x7f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ +#define LONGDBLNANBYTES 0x7f, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ /* PERL_PRIfldbl: * This symbol, if defined, contains the string used by stdio to