pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/normalize normalize: Force gnu89 on SunOS to wor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47796b86185c
branches:  trunk
changeset: 324614:47796b86185c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Oct 24 12:30:07 2018 +0000

description:
normalize: Force gnu89 on SunOS to work around _POSIX_C_SOURCE.

It's set in too many files to patch.

diffstat:

 audio/normalize/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9dd77613a8d3 -r 47796b86185c audio/normalize/Makefile
--- a/audio/normalize/Makefile  Wed Oct 24 11:52:33 2018 +0000
+++ b/audio/normalize/Makefile  Wed Oct 24 12:30:07 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2018/08/22 09:42:56 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2018/10/24 12:30:07 jperkin Exp $
 
 DISTNAME=      normalize-0.7.7
 PKGREVISION=   8
@@ -23,6 +23,9 @@
 LDFLAGS+=              -L${BUILDLINK_PREFIX.libaudiofile}/lib
 LDFLAGS+=              ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libaudiofile}/lib -laudiofile
 
+# Hardcodes _POSIX_C_SOURCE=2 everywhere
+CFLAGS.SunOS+= -std=gnu89
+
 # is a generated file which doesn't exist when REPLACE_PERL happens
 #REPLACE_PERL=         src/normalize-mp3
 



Home | Main Index | Thread Index | Old Index