aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/remake/Makefile1
-rw-r--r--devel/remake/files/patch-src_make.h14
-rw-r--r--devel/remake/files/patch-src_makeint.h14
3 files changed, 29 insertions, 0 deletions
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