Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2021 08:59:26 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569098 - head/sysutils/cfengine-devel/files
Message-ID:  <202103240859.12O8xQDA036821@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Wed Mar 24 08:59:26 2021
New Revision: 569098
URL: https://svnweb.freebsd.org/changeset/ports/569098

Log:
  sysutils/cfengine-devel: Fix FreeBSD-11 build
  
  FreeBSD-11 requires #define _WITH_GETLINE when using getline(3).

Added:
  head/sysutils/cfengine-devel/files/patch-cf-execd_cf-execd-runagent.c   (contents, props changed)

Added: head/sysutils/cfengine-devel/files/patch-cf-execd_cf-execd-runagent.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cfengine-devel/files/patch-cf-execd_cf-execd-runagent.c	Wed Mar 24 08:59:26 2021	(r569098)
@@ -0,0 +1,15 @@
+--- cf-execd/cf-execd-runagent.c.orig	2021-03-19 07:11:45.000000000 -0700
++++ cf-execd/cf-execd-runagent.c	2021-03-24 01:35:29.063038000 -0700
+@@ -22,6 +22,12 @@
+   included file COSL.txt.
+ */
+ 
++/*
++ * XXX: _WITH_GETLINE is required for FreeBSD-11.
++ * Remove when FreeBSD-11 is EOL.
++ */
++#define _WITH_GETLINE
++
+ #include <stdio.h>
+ 
+ #include <logging.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103240859.12O8xQDA036821>