git: 0e4499661bdd - main - devel/libfaketime: Jettison byteswap/endian hacks
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Dec 2023 22:59:35 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e4499661bdd7d563fac28ba8f12adbca0f2ced4 commit 0e4499661bdd7d563fac28ba8f12adbca0f2ced4 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-12-31 04:49:54 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-12-31 20:23:47 +0000 devel/libfaketime: Jettison byteswap/endian hacks - Mark BROKEN on 15 as it fails with ld: error: version script assignment of 'GLIBC_2.2' to symbol 'timer_gettime' failed: symbol not defined --- devel/libfaketime/Makefile | 2 ++ devel/libfaketime/files/patch-src_libfaketime.c | 9 --------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/devel/libfaketime/Makefile b/devel/libfaketime/Makefile index 8303709ce1dc..a13aac66a289 100644 --- a/devel/libfaketime/Makefile +++ b/devel/libfaketime/Makefile @@ -10,6 +10,8 @@ WWW= https://github.com/wolfcw/libfaketime LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN_FreeBSD_15= ld: error: version script assignment of 'GLIBC_2.2' to symbol 'timer_gettime' failed: symbol not defined + USES= gmake shebangfix USE_GITHUB= yes GH_ACCOUNT= wolfcw diff --git a/devel/libfaketime/files/patch-src_libfaketime.c b/devel/libfaketime/files/patch-src_libfaketime.c index 52adf6e34de5..69334d3542b1 100644 --- a/devel/libfaketime/files/patch-src_libfaketime.c +++ b/devel/libfaketime/files/patch-src_libfaketime.c @@ -18,12 +18,3 @@ #include <stdio.h> #include <stdlib.h> #include <stdint.h> -@@ -58,6 +69,8 @@ - extern char *__progname; - #ifdef __sun - #include "sunos_endian.h" -+#elif defined(__FreeBSD__) -+#include <sys/endian.h> - #else - #include <endian.h> - #endif