ports/graphics/gmt/files/patch-src_grd2xyz.c
Piotr Kubaj 4e9442df82 graphics/gmt: fix build on big-endian
ld: error: src/libgmt.so.6.3.0: undefined reference to bswap32 [--no-allow-shlib-undefined]
2022-01-04 18:11:41 +00:00

10 lines
211 B
C

--- 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"