Skip to content
Permalink
Browse files

less: fix implicitly defined functions in configure

  • Loading branch information
Schamschula committed Jun 26, 2020
1 parent d9b027b commit 8a4424585bcd4799c9514b4597f2dfccd5f3c4e5
Showing with 59 additions and 1 deletion.
  1. +3 −1 textproc/less/Portfile
  2. +56 −0 textproc/less/files/patch-configure.diff
@@ -1,4 +1,4 @@
PortSystem 1.0
PortSystem 1.0

name less
version 551
@@ -27,6 +27,8 @@ checksums rmd160 7011513218523819c0565ffdda305c432a034c11 \
depends_lib port:ncurses \
port:gettext

patchfiles patch-configure.diff

configure.args --with-regex=posix

post-destroot {
@@ -0,0 +1,56 @@
--- configure.orig 2019-06-11 13:12:02.000000000 -0500
+++ configure 2020-06-26 15:34:31.000000000 -0500
@@ -4049,6 +4049,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

+#include <curses.h>
+#include <term.h>
int
main ()
{
@@ -4078,6 +4080,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

+#include <curses.h>
+#include <term.h>
int
main ()
{
@@ -4107,6 +4111,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

+#include <curses.h>
+#include <term.h>
int
main ()
{
@@ -4136,6 +4142,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

+#include <curses.h>
+#include <term.h>
int
main ()
{
@@ -4166,6 +4174,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

+#include <curses.h>
+#include <term.h>
int
main ()
{
@@ -4197,6 +4207,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

+#include <curses.h>
+#include <term.h>
int
main ()
{

0 comments on commit 8a44245

Please sign in to comment.
You can’t perform that action at this time.