summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2019-08-05 19:21:12 +0000
committermaya <maya@pkgsrc.org>2019-08-05 19:21:12 +0000
commit79ba33ec581208bda18c1be82a44345d7d5c6e3c (patch)
treee3181bd363bb7f724b52e2d689d9255c4c871696 /archivers
parent99647304338126959ce67aed57c7b6013797af22 (diff)
downloadpkgsrc-79ba33ec581208bda18c1be82a44345d7d5c6e3c.tar.gz
hpack: use -std=gnu89 for older GNU inline semantics.
(Code requires expertise in C archaeology to understand...) Fixes build on newer MacOS. From Clement Bouvier in PR pkg/54358
Diffstat (limited to 'archivers')
-rw-r--r--archivers/hpack/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/hpack/Makefile b/archivers/hpack/Makefile
index f5f57bf506f..e87c8fca027 100644
--- a/archivers/hpack/Makefile
+++ b/archivers/hpack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2018/01/02 05:37:22 maya Exp $
+# $NetBSD: Makefile,v 1.41 2019/08/05 19:21:12 maya Exp $
DISTNAME= hpack79src
PKGNAME= hpack-0.79
@@ -14,9 +14,12 @@ WRKSRC= ${WRKDIR}
MAKE_FILE= makefile
MAKE_FLAGS+= CFLAGS=${HPACK_CFLAGS:Q} CMDL=${HPACK_LDFLAGS:Q}
BUILD_TARGET= hpack
+USE_LANGUAGES= c
.include "../../mk/bsd.prefs.mk"
+CFLAGS+= -std=gnu89
+
.if ${OPSYS} == "Linux"
HPACK_CFLAGS= -DLINUX
.else