mirror of
https://git.freebsd.org/ports.git
synced 2025-07-03 10:29:15 -04:00
NSPR thinks all powerpc64* are big-endian. No PORTREVISION bump to avoid unnecessary rebuilds, all users of powerpc64le are currently developers working on platform bringup.
16 lines
340 B
INI
16 lines
340 B
INI
--- pr/include/md/_freebsd.cfg.orig 2020-10-13 12:24:10 UTC
|
|
+++ pr/include/md/_freebsd.cfg
|
|
@@ -253,8 +253,13 @@
|
|
|
|
#elif defined(__powerpc64__)
|
|
|
|
+#ifdef __LITTLE_ENDIAN__
|
|
+#define IS_LITTLE_ENDIAN 1
|
|
+#undef IS_BIG_ENDIAN
|
|
+#else
|
|
#undef IS_LITTLE_ENDIAN
|
|
#define IS_BIG_ENDIAN 1
|
|
+#endif
|
|
#define IS_64
|
|
|
|
#define PR_BYTES_PER_BYTE 1
|