mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
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
This commit is contained in:
parent
37f10e75dd
commit
b85c507213
@ -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}
|
||||
|
14
devel/remake/files/patch-src_make.h
Normal file
14
devel/remake/files/patch-src_make.h
Normal file
@ -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
|
14
devel/remake/files/patch-src_makeint.h
Normal file
14
devel/remake/files/patch-src_makeint.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user