File: fast-big-endian.patch

package info (click to toggle)
eccodes 2.41.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 409,472 kB
  • sloc: cpp: 152,723; sh: 19,388; ansic: 12,671; f90: 6,707; python: 2,948; perl: 2,790; javascript: 1,427; yacc: 854; fortran: 468; lex: 359; makefile: 111
file content (19 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Disable fast big-endian; breaks on s390x due to const limitations
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2023-06-17
Forwarded:  no

Index: eccodes-2.41.0/src/eccodes/grib_api_internal.h
===================================================================
--- eccodes-2.41.0.orig/src/eccodes/grib_api_internal.h
+++ eccodes-2.41.0/src/eccodes/grib_api_internal.h
@@ -40,7 +40,8 @@ extern "C" {
 /* See ECC-670 */
 #if IS_BIG_ENDIAN
     #if GRIB_MEM_ALIGN
-        #define FAST_BIG_ENDIAN 1
+  /*        #define FAST_BIG_ENDIAN 1 */
+        #define FAST_BIG_ENDIAN 0
     #else
         #define FAST_BIG_ENDIAN 0
     #endif