pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/hpack hpack: use -std=gnu89 for older GNU in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfa508db4a40
branches:  trunk
changeset: 399276:cfa508db4a40
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Aug 05 19:21:12 2019 +0000

description:
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:

 archivers/hpack/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 43dd3bf094da -r cfa508db4a40 archivers/hpack/Makefile
--- a/archivers/hpack/Makefile  Mon Aug 05 19:09:22 2019 +0000
+++ b/archivers/hpack/Makefile  Mon Aug 05 19:21:12 2019 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index