Date: Tue, 16 Aug 2022 12:16:28 GMT From: Nuno Teixeira <eduardo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b85c50721320 - main - devel/remake: Fix build on armv7 Message-ID: <202208161216.27GCGSHb007386@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=b85c50721320f4f43669b071551adff77eeee182 commit b85c50721320f4f43669b071551adff77eeee182 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-08-16 12:12:28 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-08-16 12:16:12 +0000 devel/remake: Fix build on armv7 - For historical reasons, the code base has a hard coded check that prevents the use of POSIX functions on ARM platforms. Disable that check to make the build succeed. PR: 265513 Approved by: maintainer timeout, >2 weeks --- devel/remake/Makefile | 1 + devel/remake/files/patch-src_make.h | 14 ++++++++++++++ devel/remake/files/patch-src_makeint.h | 14 ++++++++++++++ 3 files changed, 29 insertions(+) diff --git a/devel/remake/Makefile b/devel/remake/Makefile index 2f3ce80fc5d5..9e4b4ee16439 100644 --- a/devel/remake/Makefile +++ b/devel/remake/Makefile @@ -1,5 +1,6 @@ PORTNAME= remake PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/bashdb/remake/4.3+dbg-${PORTVERSION}/ DISTNAME= remake-4.3+dbg-${PORTVERSION} diff --git a/devel/remake/files/patch-src_make.h b/devel/remake/files/patch-src_make.h new file mode 100644 index 000000000000..003a3c732852 --- /dev/null +++ b/devel/remake/files/patch-src_make.h @@ -0,0 +1,14 @@ +--- src/make.h.orig 2022-07-30 04:29:00 UTC ++++ src/make.h +@@ -100,11 +100,6 @@ extern int errno; + # endif + #endif + +-/* Some systems define _POSIX_VERSION but are not really POSIX.1. */ +-#if (defined (butterfly) || defined (__arm) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386))) +-# undef POSIX +-#endif +- + #if !defined (POSIX) && defined (_AIX) && defined (_POSIX_SOURCE) + # define POSIX 1 + #endif diff --git a/devel/remake/files/patch-src_makeint.h b/devel/remake/files/patch-src_makeint.h new file mode 100644 index 000000000000..800952d09bb1 --- /dev/null +++ b/devel/remake/files/patch-src_makeint.h @@ -0,0 +1,14 @@ +--- src/makeint.h.orig 2022-07-30 04:31:09 UTC ++++ src/makeint.h +@@ -113,11 +113,6 @@ extern int errno; + # endif + #endif + +-/* Some systems define _POSIX_VERSION but are not really POSIX.1. */ +-#if (defined (butterfly) || defined (__arm) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386))) +-# undef POSIX +-#endif +- + #if !defined (POSIX) && defined (_AIX) && defined (_POSIX_SOURCE) + # define POSIX 1 + #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208161216.27GCGSHb007386>