pkgsrc/audio/mpegaudio/Makefile
rillig 4f4f64fdce mark packages that fail with -Werror=char-subscripts
These packages are susceptible to bugs when confronted with non-ASCII
characters.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182.

It takes some time to analyze and fix these individually, therefore they
are only marked as "needs work".
2020-05-20 06:09:03 +00:00

28 lines
1,018 B
Makefile

# $NetBSD: Makefile,v 1.10 2020/05/20 06:09:06 rillig Exp $
DISTNAME= mpegaudio
PKGNAME= mpegaudio-3.9
CATEGORIES= audio
MASTER_SITES= # empty
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= MPEG/audio Layer 1 and Layer 2 encoder/decoder package
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
# common.c: In function 'aiff_read_headers':
# common.c:729:28: error: array subscript has type 'char' [-Werror=char-subscripts]
# temp_sampleRate[i] = CommChunk.sampleRate[i];
# ^
# common.c:729:54: error: array subscript has type 'char' [-Werror=char-subscripts]
# temp_sampleRate[i] = CommChunk.sampleRate[i];
# ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
post-install:
${INSTALL_MAN} ${FILESDIR}/mpeg_musicin.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${FILESDIR}/mpeg_musicout.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"