Date: Sun, 26 Mar 2023 21:35:18 GMT From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ccb492f209b5 - main - math/readstat: repair build (missing prototype in modern C) Message-ID: <202303262135.32QLZISP093988@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=ccb492f209b57055e2e5456b48d5d3cce809734f commit ccb492f209b57055e2e5456b48d5d3cce809734f Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2023-03-20 21:08:51 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2023-03-26 21:31:31 +0000 math/readstat: repair build (missing prototype in modern C) --- math/readstat/Makefile | 2 +- math/readstat/files/patch-src_readstat__bits.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/math/readstat/Makefile b/math/readstat/Makefile index ed2be537b797..bfdce5912113 100644 --- a/math/readstat/Makefile +++ b/math/readstat/Makefile @@ -1,6 +1,6 @@ PORTNAME= readstat DISTVERSION= 1.1.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math kde MASTER_SITES= https://github.com/WizardMac/ReadStat/releases/download/v${DISTVERSION}/ diff --git a/math/readstat/files/patch-src_readstat__bits.c b/math/readstat/files/patch-src_readstat__bits.c new file mode 100644 index 000000000000..5ccc9f5e1147 --- /dev/null +++ b/math/readstat/files/patch-src_readstat__bits.c @@ -0,0 +1,11 @@ +--- src/readstat_bits.c.orig 2023-03-16 22:38:26 UTC ++++ src/readstat_bits.c +@@ -8,7 +8,7 @@ + + #include "readstat_bits.h" + +-int machine_is_little_endian() { ++int machine_is_little_endian(void) { + int test_byte_order = 1; + return ((char *)&test_byte_order)[0]; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303262135.32QLZISP093988>