summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2016-09-15 20:33:02 +0000
committerwiedi <wiedi@pkgsrc.org>2016-09-15 20:33:02 +0000
commit27bd9074d29c86970963f0f3a9a7e72c0960ba68 (patch)
treed2ee5cdda02024c1c4a54d5e24df8f881273c00d
parent26dcc622026f45b9bf7565ed4653d3f8adce1f47 (diff)
downloadpkgsrc-27bd9074d29c86970963f0f3a9a7e72c0960ba68.tar.gz
fix int types on SunOS
-rw-r--r--audio/alsa-plugins-oss/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/alsa-plugins-oss/Makefile b/audio/alsa-plugins-oss/Makefile
index d2bdb68f3c4..379866d034f 100644
--- a/audio/alsa-plugins-oss/Makefile
+++ b/audio/alsa-plugins-oss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2016/04/20 12:10:24 nros Exp $
+# $NetBSD: Makefile,v 1.12 2016/09/15 20:33:02 wiedi Exp $
DISTNAME= alsa-plugins-1.1.1
PKGNAME= ${DISTNAME:S/plugins/plugins-oss/}
@@ -20,6 +20,7 @@ USE_LIBTOOL= yes
CFLAGS.SunOS+= -DSOUND_MIXER_PHONEIN=SOUND_MIXER_PHONE
CFLAGS.SunOS+= -DSOUND_MIXER_PHONEOUT=SOUND_MIXER_MONO
CFLAGS.SunOS+= -DSOUND_MIXER_MONITOR=SOUND_MIXER_DEPTH
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
CFLAGS+= -DDEVOSSAUDIO=\"${DEVOSSAUDIO:U/dev/dsp}\"
LIBS+= ${LIBOSSAUDIO}