pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/ossinfo



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Nov  9 19:20:59 UTC 2023

Modified Files:
        pkgsrc/audio/ossinfo: Makefile.common

Log Message:
ossinfo: SunOS fixes


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/audio/ossinfo/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/ossinfo/Makefile.common
diff -u pkgsrc/audio/ossinfo/Makefile.common:1.4 pkgsrc/audio/ossinfo/Makefile.common:1.5
--- pkgsrc/audio/ossinfo/Makefile.common:1.4    Thu May  5 08:28:16 2022
+++ pkgsrc/audio/ossinfo/Makefile.common        Thu Nov  9 19:20:59 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2022/05/05 08:28:16 nia Exp $
+# $NetBSD: Makefile.common,v 1.5 2023/11/09 19:20:59 nia Exp $
 # Common Makefile logic for commands included with the OSSv4 distribution.
 
 # used by audio/ossinfo/Makefile
@@ -31,6 +31,13 @@ LDFLAGS+=    ${LIBOSSAUDIO}
 PKG_SKIP_REASON+=      "Requires OSSv4 support"
 .endif
 
+# These OSSv4 definitions are missing in Sun's "boomer",
+# for whatever reason. However, they're the same as
+# PCM_ENABLE_(INPUT|OUTPUT), which are defined.
+CFLAGS.SunOS+=         -DOSS_OPEN_READ=0x00000001
+CFLAGS.SunOS+=         -DOSS_OPEN_WRITE=0x00000002
+CFLAGS.SunOS+=         -DOSS_OPEN_READWRITE=0x00000003
+
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
 SUBST_FILES.paths=     cmd/${PKGBASE}/${PKGBASE}.man



Home | Main Index | Thread Index | Old Index