pkgsrc/sysutils/cdrdao/patches/patch-aj
markd 10ce2c5ef7 {cdrdao,gcdmaster}: update to 1.2.4
This is a maintenance release containing only minor bug, warning and
compilation fixes.

* Fixed autocon warnings (Denis Leroy)
* Ported to lame 3.100 (from Fedora)
* G++ compile fixes (Nick Bailey)
* Renamed xdao folder to gcdmaster (Denis Leroy)
* pccts format security patch (from Fedora)
* Fixed compile issues with glibc >= 2.12
* Gcdmaster segfault fix (Adrian Knoth)
* Prevent a FTBFS on kfreebsd (Christoph Egger)
* Also look in /etc/default/cdrdao config (Andrew Suffield)
* Fix printf format security issues (Frantisek Kluknavsky Fedora)
* Add missing options to man page (Honza Horák)
* CD_TEXT fix for HL-DT-ST (Kees Cook)
* Man page hyphen fixes (Markus Koschany)
* Some updates to the old scsilib smake files (Ubuntu patches)
2018-11-15 01:13:01 +00:00

21 lines
725 B
Text

$NetBSD: patch-aj,v 1.3 2018/11/15 01:13:02 markd Exp $
--- gcdmaster/SoundIF-solaris.cc.orig 2007-12-29 13:31:54.000000000 +0100
+++ gcdmaster/SoundIF-solaris.cc
@@ -45,6 +45,7 @@
* Sound interface for Solaris. Thanks to Tobias Oetiker <oetiker@ee.ethz.ch>.
*/
+#include <sys/types.h>
#include <sys/audioio.h>
#include <stdio.h>
#include <assert.h>
@@ -197,7 +198,7 @@ int SoundIFImpl::setupDevice()
auinf.play.sample_rate=44100;
auinf.play.channels=2;
auinf.play.precision=16;
- auinf.play.encoding=AUDIO_ENCODING_LINEAR;
+ auinf.play.encoding=AUDIO_ENCODING_SLINEAR_BE;
if (ioctl(dspFd_, AUDIO_SETINFO, &auinf) < 0) {
log_message(-1, _("Cannot setup audio interface: %s"), strerror(errno));