Skip to content

Commit

Permalink
devel/libfaketime: Jettison byteswap/endian hacks
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
5u623l20 committed Dec 31, 2023
1 parent 75efa01 commit 0e44996
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions devel/libfaketime/Makefile
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions devel/libfaketime/files/patch-src_libfaketime.c
Expand Up @@ -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

0 comments on commit 0e44996

Please sign in to comment.