SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
graphics/djview4/patches/patch-nsdejavu_npsdk_prcpucfg_h
Normal file
12
graphics/djview4/patches/patch-nsdejavu_npsdk_prcpucfg_h
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: nsdejavu/npsdk/prcpucfg.h
|
||||
--- nsdejavu/npsdk/prcpucfg.h.orig
|
||||
+++ nsdejavu/npsdk/prcpucfg.h
|
||||
@@ -514,7 +514,7 @@
|
||||
#define PR_BYTES_PER_WORD_LOG2 2
|
||||
#define PR_BYTES_PER_DWORD_LOG2 3
|
||||
|
||||
-#elif defined(__aarch64__)
|
||||
+#elif defined(__aarch64__) || (defined(__riscv) && (__riscv_xlen == 64))
|
||||
|
||||
#define IS_LITTLE_ENDIAN 1
|
||||
#undef IS_BIG_ENDIAN
|
Loading…
Add table
Add a link
Reference in a new issue