graphics/gmt: fix build on big-endian
ld: error: src/libgmt.so.6.3.0: undefined reference to bswap32 [--no-allow-shlib-undefined]
This commit is contained in:
parent
f6e17b1726
commit
4e9442df82
10
graphics/gmt/files/patch-src_grd2xyz.c
Normal file
10
graphics/gmt/files/patch-src_grd2xyz.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/grd2xyz.c.orig 2022-01-03 22:31:11 UTC
|
||||
+++ src/grd2xyz.c
|
||||
@@ -23,6 +23,7 @@
|
||||
* Version: 6 API
|
||||
*/
|
||||
|
||||
+#include "gmt_common_byteswap.h"
|
||||
#include "gmt_dev.h"
|
||||
|
||||
#define THIS_MODULE_CLASSIC_NAME "grd2xyz"
|
Loading…
Reference in New Issue
Block a user