mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
textproc/augeas: fix build with clang 16
Clang 16 has a new error about incompatible integer to pointer conversions, which shows up when building textproc/augeas: augprint.c:1477:24: warning: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char *program_name = basename(argv[0]); ^ augprint.c:1477:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion] char *program_name = basename(argv[0]); ^ ~~~~~~~~~~~~~~~~~ This is because basename(3) is declared in <libgen.h>, but augprint.c does not include it. Upstream has already fixed this, so apply the commit until there is a new release. PR: 271316 Approved by: portmgr (build fix blanket) MFH: 2023Q2
This commit is contained in:
parent
d7847f1e76
commit
67237e5afd
2 changed files with 7 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
||||||
PORTNAME= augeas
|
PORTNAME= augeas
|
||||||
DISTVERSION= 1.14.0
|
DISTVERSION= 1.14.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= https://github.com/hercules-team/augeas/releases/download/release-${DISTVERSION}/
|
MASTER_SITES= https://github.com/hercules-team/augeas/releases/download/release-${DISTVERSION}/
|
||||||
|
|
||||||
|
PATCH_SITES= https://github.com/hercules-team/augeas/commit/
|
||||||
|
PATCHFILES+= 7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch:-p1 # https://github.com/hercules-team/augeas/pull/792
|
||||||
|
|
||||||
MAINTAINER= puppet@FreeBSD.org
|
MAINTAINER= puppet@FreeBSD.org
|
||||||
COMMENT= Configuration editing tool
|
COMMENT= Configuration editing tool
|
||||||
WWW= https://augeas.net/
|
WWW= https://augeas.net/
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
TIMESTAMP = 1683030743
|
TIMESTAMP = 1683741338
|
||||||
SHA256 (augeas-1.14.0.tar.gz) = 8c101759ca3d504bd1d805e70e2f615fa686af189dd7cf0529f71d855c087df1
|
SHA256 (augeas-1.14.0.tar.gz) = 8c101759ca3d504bd1d805e70e2f615fa686af189dd7cf0529f71d855c087df1
|
||||||
SIZE (augeas-1.14.0.tar.gz) = 2651463
|
SIZE (augeas-1.14.0.tar.gz) = 2651463
|
||||||
|
SHA256 (7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch) = 08b0dbf7f303cd7cb341e2dff13f9b5df7042c2171dcfc89ed00d1d8f4886983
|
||||||
|
SIZE (7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch) = 1239
|
||||||
|
|
Loading…
Add table
Reference in a new issue