Date: Tue, 4 Jan 2022 18:17:55 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4e9442df82ea - main - graphics/gmt: fix build on big-endian Message-ID: <202201041817.204IHt9N039300@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e9442df82ea7db8ba5396cbde90d8f272bdcfd6 commit 4e9442df82ea7db8ba5396cbde90d8f272bdcfd6 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-01-04 18:11:41 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-01-04 18:11:41 +0000 graphics/gmt: fix build on big-endian ld: error: src/libgmt.so.6.3.0: undefined reference to bswap32 [--no-allow-shlib-undefined] --- graphics/gmt/files/patch-src_grd2xyz.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/graphics/gmt/files/patch-src_grd2xyz.c b/graphics/gmt/files/patch-src_grd2xyz.c new file mode 100644 index 000000000000..b4199a5ebfa9 --- /dev/null +++ b/graphics/gmt/files/patch-src_grd2xyz.c @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201041817.204IHt9N039300>