summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-06-09 12:21:07 +0000
committerryoon <ryoon@pkgsrc.org>2014-06-09 12:21:07 +0000
commit021acc6cb60108f67f110ac71a313e0dfc1f55b0 (patch)
tree894425c3869dfb6e08464d42aca4d5e19790347e /audio
parente7ebc8eb92b199a703e28e6a4488f4161a5122ca (diff)
downloadpkgsrc-021acc6cb60108f67f110ac71a313e0dfc1f55b0.tar.gz
Update to 1.0.27.2
Changelog: Changelog between 1.0.27.1 and 1.0.27.2 releases Core Release v1.0.27.2 Allow specifying the max number of cards Control API Allow specifying the max number of cards HWDEP API Allow specifying the max number of cards PCM API pcm_direct: fix SEGFAULT when getgrnam_r() returns 0 and pgrp is NULL pcm_hw: Fix buffer overflow in chmap chmap: Always succeed setting the map to what it already is pcm_direct: fix the memory leak when parsing the slave definitions pcm_plugin: Fix return value of snd_pcm_rewind pcm_hw: Remove unused fields in struct pcm: Fix typo in documentation: PREPARE → PREPARED. Use Case Manager API ucm: Fix segfault when device argument is missing from _sw{dev, mod} Configuration Allow specifying the max number of cards Changelog between 1.0.27 and 1.0.27.1 releases Core Release v1.0.27.1 Remove an obsolete macro in configure.in Add AM_MAINTAINER_MODE. conf/ucm: Set up for installation Add definition of __inline__ for non-GCC Use __inline__ for exported headers Control API Use __inline__ for exported headers PCM API Use __inline__ for exported headers bring pcm.h and pcm.c in sync with the kernel list pcm.c: fix indentation RawMidi API Fix several spelling errors for “writable” and derivatives. Sequencer API seqmid: restore sequencer address prefix match feature ALSA Lisp Fix several spelling errors for “writable” and derivatives. Configuration conf/ucm: DAISY-I2S: Set default filter mode for HiFi. conf/ucm: Set up for installation conf/ucm: tegraalc5632: add UCM config from Ubuntu conf/ucm: SDP4430: add UCM config from Ubuntu conf/ucm: PandaBoardES: add UCM config from Ubuntu conf/ucm: PandaBoard: add UCM config from Ubuntu conf/ucm: DAISY-I2S: add Samsung ARM Chromebook UCM config from ChromeOS conf - Add Scarlett 2i2 USB to S/PDIF blacklist Dynamic Loader helpers Compile in the ALSA search path instead of relying on ld.so.conf. Fix doubly call of dlclose() in dlobj caching code External PCM Filter Plugin SDK Use __inline__ for exported headers Changelog between 1.0.26 and 1.0.27 releases Core Release v1.0.27 all places: doxygen cleanups Add sys/types.h to include list Add snd_lib_error_set_local() to install a thread-local error handler. configure: do not detect incorrect cross-compiler Fix endian check in local.h configure: Quite AM_CONDITIONAL() arguments Add workaround for conflicting snd_seq_event_t definitions Merge kernel uapi/sound/asound.h and asequencer.h Control API control: enhance doc for snd_ctl_ascii_value_parse() function control, pcm: implement snd_ctl_abort() and snd_pcm_abort() functions Add workaround for conflicting IEC958 controls for HD-audio control: Simplify using snd_config_get_bool() snd_device_name_hint(): do not use global snd_config. snd_device_name_hint(): do not change the global error handler. Merge kernel uapi/sound/asound.h and asequencer.h Implement the channel mapping API Mixer API all places: doxygen cleanups snd_mixer_poll_descriptors_revents should loop over pollfd mixer: Don't build simple_abst when no libdl is available Reduce compilation warnings PCM API pcm: direct plugins: do more safe IPC semaphore handling all places: doxygen cleanups control, pcm: implement snd_ctl_abort() and snd_pcm_abort() functions pcm: fix typo, should be SND_PCM_STATE_PREPARED. pcm: fix and optimize snd_pcm_areas_copy function snd_pcm_direct_parse_open_conf(): use thread-safe getgrnam_r() PCM: Fix conflict of _snd_pcm_hw_params definitions PCM: shut up a compile "unused parameter" compile warning in pcm_multi.c PCM: Add more chmap definitions for UAC2 Merge kernel uapi/sound/asound.h and asequencer.h PCM: Avoid busy loop in snd_pcm_write_areas() with rate plugin Reduce compilation warnings PCM: Fix memory leak for pcm empty and asym plugins pcm: support for audio timestamps PCM: Fix the invalid snd_pcm_close() calls in rate plugin PCM: Fix infinite loop in htimestamp of dmix, dsnoop and dshare plugins PCM: Fill SND_CHMAP_NA to silent channels in route plugin PCM: A few doxygen fixes for chmap stuff PCM: Fix the conversion from string to chmap position PCM: Define MONO and other channel map positions PCM: Use compounds for overriding / enhancing chmaps PCM: Add the missing query_chmaps for route plugin PCM: Add chmap options to hw and null plugins PCM: Add query_chmaps support to multi plugin PCM: Add snd_pcm_chmap_long_name() PCM: Add SND_CHMAP_API_VERSION definition PCM: Add string conversion helper functions for chmap PCM: Fix prefix for snd_pcm_chmap_type enum members PCM: Implement snd_pcm_query_chmaps_from_hw() PCM: Introduce snd_pcm_chmap_t and snd_pcm_chmap_query_t Add SND_CHMAP_NA and bit flag definitions Follow channel position definitions to mixer channel in mixer.h Define channel map position enum in pcm.h Cache the chmap operation errors Implement get_chmap/set_chmap for PCM extplug/ioplug plugins Implement get_chmap/set_chmap for PCM plug, route and multi plugins Implement the channel mapping API Sequencer API Merge kernel uapi/sound/asound.h and asequencer.h Reduce compilation warnings Timer API Merge kernel uapi/sound/asound.h and asequencer.h Use Case Manager API ucm: Set uc_mgr->ctl to NULL after closing it. ALSA Lisp Reduce compilation warnings Configuration USB-audio: Add "HP Digital Stereo Headset" to SPDIF blacklist Add workaround for conflicting IEC958 controls for HD-audio conf: Fix a memory access violation resulting from improper error propogation conf: Add chmap definitions to TRIDENT and SI7018 configurations PCM: Use compounds for overriding / enhancing chmaps Add chmap override definitions for Emu10k1, Audigy and Audigy2 cards Documentation all places: doxygen cleanups Dynamic Loader helpers Optimize NULL check in snd_dlobj_cache_put() Clean up dlobj cache only when no user is present Error handler Add snd_lib_error_set_local() to install a thread-local error handler. External Control Plugin SDK all places: doxygen cleanups External PCM Filter Plugin SDK PCM: Introduce snd_pcm_chmap_t and snd_pcm_chmap_query_t Implement get_chmap/set_chmap for PCM extplug/ioplug plugins External PCM I/O Plugin SDK PCM: Introduce snd_pcm_chmap_t and snd_pcm_chmap_query_t Implement get_chmap/set_chmap for PCM extplug/ioplug plugins Kernel Headers PCM: Add more chmap definitions for UAC2 Merge kernel uapi/sound/asound.h and asequencer.h pcm: fix 64-bit SNDRV_PCM_IOCTL_STATUS ABI breakage pcm: support for audio timestamps PCM: Define MONO and other channel map positions Add SND_CHMAP_NA and bit flag definitions Follow channel position definitions to mixer channel in mixer.h Implement the channel mapping API Test/Example code pcm: support for audio timestamps test: add audio_time test/chmap: Fix wrong malloc size PCM: Add string conversion helper functions for chmap Fix duplicated channel entry in test/chmap.c Add SND_CHMAP_NA and bit flag definitions Follow channel position definitions to mixer channel in mixer.h Add test/chmap program Changelog between 1.0.25 and 1.0.26 releases Core Release v1.0.26 Control API ucm: Improve cset command parsing control: Use strcpy() instead of stpcpy() hctl: Remove a useless assert Fix the binary compatibility of ext-ctl plugin with protocol 1.0.0 tlv: improve robustness of raw value ranges control_external: Add ability to specify TLV data. Mixer API mixer: Remove redundant CHECK_ENUM() from snd_mixer_selem_is_enum*() PCM API PCM: plug: Move fast_ops copy after slave configuration. PCM: Allow to run older version of extplug plugin pcm_dsnoop: comment fall-through in next "case" pcm: add missing "break" in "switch" doc: Fix typo in PCM formats Sequencer API seqmid - more descriptions on snd_seq_parse_address() behavior Use Case Manager API ucm: Add const to execute_cset() argument ucm: Improve cset command parsing ucm: Return NULL from get_list0() and get_list20() in case of empty lists. ucm: Add missing pthread.h include build: Fallback to alphasort() if versionsort() isn't available ucm: Handle repeat device and modifier enables/disables Configuration build: Fallback to alphasort() if versionsort() isn't available conf: Add more USB devices to S/PDIF blacklist Fix invalid long long format specifier alsa-lib conf: Add two more USB devices to iec958 blacklist alsa-lib conf: block S/PDIF access for Sennheiser USB headset USB-Audio: Fixup card name for Logitech web camera USB-Audio: Blacklist iec958 for some USB devices conf/pcm: Add support for Echo3G devices. Thanks to unimatrix. External Control Plugin SDK Fix the binary compatibility of ext-ctl plugin with protocol 1.0.0 control_external: Add ability to specify TLV data. Test/Example code test/latency.c: Fix string argument to getopt_long, so now it handles -E and -B Fix invalid long long format specifier Utils build: Disable another compile chack with --disable-alsatest Changelog between 1.0.24 and 1.0.25 releases Core Release v1.0.25 Introduce --with-pkgconfdir, add 64-bit defaults to gitcompile conf: Allow for a directory to be given as a config file. configure: Fail when the user attempts to compile shared and static libs Release v1.0.24.1 Control API Document strdup allocation in snd_card_get_name family Improve snd_device_name_hint documentation control: add snd_ctl_elem_add_enumerated() Add snd_{ctl|pcm}_open_fallback() functions Fix missing error code in snd_ctl_hw_open() ctlparse: Respect softfloat configure option Device Name API Remove docs for snd_names_list and snd_names_list_free HWDEP API alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. Mixer API Fix compile warnings Fix alsa-lib to regard 3D control - Depth as Playback Controls PCM API Improve hw_params documentation Search-and-replace improve documentation language pcm:mmap_emul: Fix sw_params and others in bypass mode src/pcm/pcm_mmap.c: add missing free src/pcm/pcm_multi.c: add missing free src/pcm/pcm_ladspa.c: add missing free src/pcm/pcm_rate.c: add missing free pcm: recalculate all rules after changing hw_params flags Add snd_{ctl|pcm}_open_fallback() functions alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. Use Case Manager API ucm: add another sequence 'msleep' ucm: tivial code style fix ucm: fix seg fault in execute_cset() UCM: get: Implement 'exact' value retrieval UCM: snd_use_case_get: Don't segfault when no current verb UCM: Allow querying of {Supported,Conflicting}Devices UCM: Disallow gets of undefined system properties UCM: Implement ConflictingDevices, add device list to devices UCM: Deprecate index on Section{Device,Modifier} UCM: Fix deadlock following failed get _verb UCM: Fix typo in error message UCM: fix memory leak when executing cset commands UCM: Fix LGPL licence ("how to receive" part referred GPL instead LGPL) UCM: Fix empty get_list - initialize returned pointer to NULL UCM: comment fixes and fix myvalue initialization fix in add_values() alsa-lib: ucm: allow values to be read from devices ucm: add more error messages for cdev and cset commands ucm: allow bind modifier to specific instances, other fixes ucm: make verb comments optional Configuration conf: Allow for a directory to be given as a config file. Define "sysdefault" PCM and control emu10k1.conf - Fix no sound problem when using SB Live! Platinum Specficy subdevice 0 for front/surround* of HDA-Intel.conf alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. HDA-Intel.conf - Fix low mic volume due to pulseaudio using "front" device for playback and capture EMU10K1.conf: Don't lock hook controls Fix typo in comment in surround71.conf Mark Heaphone {Center|LFE} control of emu10k1 conf as optional Conf: Fix channels of ICE1712 to 10/12 alsa-lib: add LaCie Firewire Speakers/Griffin FireWave Surround driver Kernel Headers control: add snd_ctl_elem_add_enumerated() asound.h: cosmetic changes for consistency with kernel asound.h asound.h: update for latest kernel Add RME RPM to HDSP_IO_Type. Simple Abstraction Mixer Modules alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. Test/Example code Fix printf for size_t test/latency: print error message when 2 periods per buffer not supported ucm: allow bind modifier to specific instances, other fixes Utils Introduce --with-pkgconfdir, add 64-bit defaults to gitcompile Changelog between 1.0.22 and 1.0.24 releases Core Release v1.0.24 configure.in: don't rely on test -a, not all shells support it Version-check libtool correctly when doing an out-of-tree build ucm: Moved ucm to src/ucm subdirectory general: recoded snd_dlobj_ functions Check for thread-specific locale support Control API ucm: ctlparse - always terminate cset buffer control: add ASCII parsers from amixer tlv: fix returned dB information for min-is-mute controls namehint: Another fix to properly evaluate hw devices namehint: Fix hw device evaluation (missing last device) general: recoded snd_dlobj_ functions namehint: Evaluate more possibilities for hw devices Memory leak in namehint.c tlv: Remove tailing tab after snd_ctl_get_dB_range function tlv: Handle 'holes' in SND_CTL_TLVT_DB_RANGE array tlv: Check out of range dB with SND_CTL_TLVT_DB_RANGE control: tlv: Check dB range only within the control's volume range PCM API pcm: fix typo in snd_pcm_recover() error message pcm_plugin: fix delay pcm: add MMAP_EMUL to type names pcm_plugin: remove unused client_frames and slave_frames routines pcm: fix snd_pcm_avail_delay() function support for period wakeup disabling pcm: pass hw_params flags to slave pcm direct plugins: change timestamping in dsnoop general: recoded snd_dlobj_ functions Add missing support for 3-byte formats for 16bit put conversion pcm: Fixed typo (wrong deleted line) instroduced in the minperiodsize patch pcm: introduce defaults.pcm.compat to change the params choose behaviour pcm: add defaults.pcm.minperiodtime parsing pcm_plug: fix comparison always true pcm - ladspa: fix small memory leak in snd_pcm_ladspa_free_instances() Sequencer API seq: Fix for snd_seq_parse_address() Use Case Manager API ucm: fix switch device & modifier when no transition is found ucm: add snd_use_case_verb_list() inline function ucm: fix handling of cset with spaces in the control name ucm: only select modifier when supported device is enabled ucm: implement basic script exec functionality ucm: check the correct return value for modifier ucm: check for valid value list before dereference. ucm: remove unused code. ucm: make sure active modifier and device lists are initialised ucm: remove parse_device() and call parse_compound() directly ucm: modifiers names must be compound parse ucm: removed unused 'active' member in struct use_case_device ucm: initial implementation for cdev/cset ucm: CTL devices are only one per card (remove DEV from comments) ucm: add ValueDefaults section to the master file ucm: add cdev ucm: fix parser for sequences and fix wrong strcmp ucm: debug parser ucm: implemented card list feature ucm: unify snd_use_case_geti(), add snd_use_case_card_list() template ucm: cosmetic fix ucm: added implementation for other ucm parts, only card name list is missing ucm: Introduce "Value {}" section, more implementation work ucm: Moved ucm to src/ucm subdirectory ucm: Recode header to be more universal ucm: core - Add initial Use Case Manager support. ucm: header - ALSA Use Case Manager /include/Makefile.am ucm: build - add build support for Use Case Manager /src/Makefile.am ucm: Moved ucm to src/ucm subdirectory ucm: build - add build support for Use Case Manager ALSA Lisp alisp - Fix a string format ambiguity Configuration aliases.conf: add aliases for CMI8788-based cards USB-Audio.conf: fix Audiophile USB card name config file processing: rewrite the locking - use one recursive mutex Fix typo for surround PCMs in src/conf/cards/Loopback.conf Add Loopback.conf to define standard PCM devices for snd-aloop driver HDA-Intel: do not lock IEC958 Playback switch pcm: introduce defaults.pcm.compat to change the params choose behaviour pcm: add defaults.pcm.minperiodtime parsing HDA-Intel: present all 4 HDMI outputs instead of just the first one Use thread-safe locale functions if available Documentation ucm: Moved ucm to src/ucm subdirectory ucm: build - add build support for Use Case Manager Dynamic Loader helpers general: recoded snd_dlobj_ functions Kernel Headers Update hdspm.h file from Adrian Knoth - final version Update hdspm.h file from Adrian Knoth Add hdspm.h kernel header to include/alsa/sound tree for the hdspmixer app support for period wakeup disabling Test/Example code ucm: fix parser for sequences and fix wrong strcmp ucm: debug parser ucm: implemented card list feature test/latency: fix timediff calculation Changelog between 1.0.20 and 1.0.23 releases Core Release v1.0.23 add atomic operations for Blackfin parts Control API modem.conf Off-hook improve behavior PCM API pcm_share plugin: fix pcm->monotonic setup in open() function pcm_hw - show errno codes pcm direct plugins: drain() call might be blocked when threads are used pcm_dmix: add support for S24_LE format Fix snd_pcm_sw_params_set_period_event() implementation pcm: fix read_areas and write_areas pcm: Fix the sound distortions for S24_3LE stream in pcm_softvol plugin pcm: Close event timer in pcm_hw plugin
Diffstat (limited to 'audio')
-rw-r--r--audio/alsa-lib/Makefile7
-rw-r--r--audio/alsa-lib/PLIST32
-rw-r--r--audio/alsa-lib/distinfo23
-rw-r--r--audio/alsa-lib/patches/patch-ab36
-rw-r--r--audio/alsa-lib/patches/patch-ae14
-rw-r--r--audio/alsa-lib/patches/patch-ah8
-rw-r--r--audio/alsa-lib/patches/patch-am6
-rw-r--r--audio/alsa-lib/patches/patch-aq20
-rw-r--r--audio/alsa-lib/patches/patch-include_pcm.h12
-rw-r--r--audio/alsa-lib/patches/patch-include_sound_asound.h20
-rw-r--r--audio/alsa-lib/patches/patch-src_conf.c52
-rw-r--r--audio/alsa-lib/patches/patch-src_ucm_parser.c15
12 files changed, 186 insertions, 59 deletions
diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile
index 2132d9da25c..ff364c44889 100644
--- a/audio/alsa-lib/Makefile
+++ b/audio/alsa-lib/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2012/09/11 23:59:23 asau Exp $
+# $NetBSD: Makefile,v 1.11 2014/06/09 12:21:07 ryoon Exp $
#
-DISTNAME= alsa-lib-1.0.22
-PKG_REVISION= 2
+DISTNAME= alsa-lib-1.0.27.2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.alsa-project.org/pub/lib/
EXTRACT_SUFX= .tar.bz2
@@ -27,6 +26,8 @@ CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t
CPPFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t
CPPFLAGS.SunOS+= -Dbswap_64=BSWAP_64 -Dbswap_32=BSWAP_32 -Dbswap_16=BSWAP_16
+CPPFLAGS.NetBSD+= -D__u32=uint32_t -D__u64=uint64_t
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --without-versioned
diff --git a/audio/alsa-lib/PLIST b/audio/alsa-lib/PLIST
index 187aceed7ae..4ec68c94377 100644
--- a/audio/alsa-lib/PLIST
+++ b/audio/alsa-lib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/08/31 14:25:49 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/06/09 12:21:07 ryoon Exp $
bin/aserver
include/alsa/alisp.h
include/alsa/asoundef.h
@@ -29,10 +29,12 @@ include/alsa/seqmid.h
include/alsa/sound/asound_fm.h
include/alsa/sound/emu10k1.h
include/alsa/sound/hdsp.h
+include/alsa/sound/hdspm.h
include/alsa/sound/sb16_csp.h
include/alsa/sound/sscape_ioctl.h
include/alsa/sound/type_compat.h
include/alsa/timer.h
+include/alsa/use-case.h
include/alsa/version.h
include/sys/asoundlib.h
lib/alsa-lib/smixer/smixer-ac97.la
@@ -42,6 +44,7 @@ lib/libasound.la
lib/pkgconfig/alsa.pc
share/aclocal/alsa.m4
share/alsa/alsa.conf
+share/alsa/alsa.conf.d/README
share/alsa/cards/AACI.conf
share/alsa/cards/ATIIXP-MODEM.conf
share/alsa/cards/ATIIXP-SPDMA.conf
@@ -65,7 +68,10 @@ share/alsa/cards/EMU10K1X.conf
share/alsa/cards/ENS1370.conf
share/alsa/cards/ENS1371.conf
share/alsa/cards/ES1968.conf
+share/alsa/cards/Echo_Echo3G.conf
share/alsa/cards/FM801.conf
+share/alsa/cards/FWSpeakers.conf
+share/alsa/cards/FireWave.conf
share/alsa/cards/GUS.conf
share/alsa/cards/HDA-Intel.conf
share/alsa/cards/ICE1712.conf
@@ -115,3 +121,27 @@ share/alsa/pcm/surround51.conf
share/alsa/pcm/surround71.conf
share/alsa/smixer.conf
share/alsa/sndo-mixer.alisp
+share/alsa/ucm/DAISY-I2S/DAISY-I2S.conf
+share/alsa/ucm/DAISY-I2S/HiFi.conf
+share/alsa/ucm/PandaBoard/FMAnalog
+share/alsa/ucm/PandaBoard/PandaBoard.conf
+share/alsa/ucm/PandaBoard/hifi
+share/alsa/ucm/PandaBoard/hifiLP
+share/alsa/ucm/PandaBoard/record
+share/alsa/ucm/PandaBoard/voice
+share/alsa/ucm/PandaBoard/voiceCall
+share/alsa/ucm/PandaBoardES/FMAnalog
+share/alsa/ucm/PandaBoardES/PandaBoardES.conf
+share/alsa/ucm/PandaBoardES/hifi
+share/alsa/ucm/PandaBoardES/hifiLP
+share/alsa/ucm/PandaBoardES/record
+share/alsa/ucm/PandaBoardES/voice
+share/alsa/ucm/PandaBoardES/voiceCall
+share/alsa/ucm/SDP4430/FMAnalog
+share/alsa/ucm/SDP4430/SDP4430.conf
+share/alsa/ucm/SDP4430/hifi
+share/alsa/ucm/SDP4430/hifiLP
+share/alsa/ucm/SDP4430/record
+share/alsa/ucm/SDP4430/voice
+share/alsa/ucm/SDP4430/voiceCall
+share/alsa/ucm/tegraalc5632/tegraalc5632.conf
diff --git a/audio/alsa-lib/distinfo b/audio/alsa-lib/distinfo
index 64b75813d06..6370c1645d6 100644
--- a/audio/alsa-lib/distinfo
+++ b/audio/alsa-lib/distinfo
@@ -1,25 +1,25 @@
-$NetBSD: distinfo,v 1.13 2014/03/25 23:06:07 asau Exp $
+$NetBSD: distinfo,v 1.14 2014/06/09 12:21:07 ryoon Exp $
-SHA1 (alsa-lib-1.0.22.tar.bz2) = d3b6c740c23b8d113a8d02da2a9fd61f5d1a8a44
-RMD160 (alsa-lib-1.0.22.tar.bz2) = 4dbc3f9550f8ba01535ad3cfd8f0a8140f897e81
-Size (alsa-lib-1.0.22.tar.bz2) = 808534 bytes
+SHA1 (alsa-lib-1.0.27.2.tar.bz2) = 9cd50f4b5f07d5e7213dd1277b8673e677804cf8
+RMD160 (alsa-lib-1.0.27.2.tar.bz2) = 6794e626affe9b6b6ec5fb64ff31384526b160c2
+Size (alsa-lib-1.0.27.2.tar.bz2) = 906844 bytes
SHA1 (patch-aa) = 5a8e9571ac6fb1f1f6cbd18d3859468a7b64076f
-SHA1 (patch-ab) = b0a6494760d18079e532ae9b205a73c255000f9a
+SHA1 (patch-ab) = 4853bdbdd559c4fa6a9d00dca3e880022d7fc6ba
SHA1 (patch-ac) = 47f5cad6c436b08161acd726090ec20a9cb50fc8
SHA1 (patch-ad) = f0ee874e74966e6196996ecfe0637bef47fe1581
-SHA1 (patch-ae) = 498d9e28e5b65d9ae72220752eda22f7866c68c6
+SHA1 (patch-ae) = f1eced4561ded4e685f5e690393c7b93e4c42837
SHA1 (patch-af) = b5d0a48da183c0725367b08abb24bf1fed85cb30
SHA1 (patch-ag) = bea09d714bf75735f5be6d370f7242c34b73cb95
-SHA1 (patch-ah) = 5b2c0dd3ca8582fef3e00ce256047d3bd345b61e
+SHA1 (patch-ah) = 3d2aa98ba2791c2beb152d7e3a454b8d6bb527d3
SHA1 (patch-ai) = 9eb6c61d013f187267c40fdd4f1f466704507619
SHA1 (patch-aj) = 82a5b4cf2501c94d4cc5e3275078d84ded1e7a79
SHA1 (patch-ak) = 39a782c8882a86226f18137d33c70a3736c48cc6
SHA1 (patch-al) = 76de42304d5ba90bf5e8def57f523c1ee910d9df
-SHA1 (patch-am) = 6bad62786ede14c5910d9c1c9fc99b4807976c9d
+SHA1 (patch-am) = 7b5cf015ec0612c1c4a9a864d42d84bba7a78e47
SHA1 (patch-an) = c7253acaaf2aeb96310d14c9e03853bc4cd4d0cd
SHA1 (patch-ao) = 25ac431685e033b165a9abdcd44246772c1f99b5
SHA1 (patch-ap) = deaa53fcf3fc23c7683388b5e37b3d6593776121
-SHA1 (patch-aq) = 17faa322f2272b3c926a0c3610079e9686707248
+SHA1 (patch-aq) = 6a6cf97a17997a9ffc5d269ad2231fc0451bd532
SHA1 (patch-ar) = 8823c573ac4f6ce038b1067f71a8de91e73bea20
SHA1 (patch-as) = 946a179a675d6c5e03e0f7734ac97b0592806912
SHA1 (patch-at) = 831c8b94e079a33057effcbee7113dfc3ca5533e
@@ -41,9 +41,12 @@ SHA1 (patch-bi) = b5038db277068034281787c0072201beae8df8ff
SHA1 (patch-bj) = 5b7a36747e57e41eddb05cd1b1d9771a36b0c4f7
SHA1 (patch-bk) = 55754e4d0ac947c2e7e59b604a21fb5798ae5b39
SHA1 (patch-include_iatomic.h) = 30099667b490c0e960a7e8883da52c39f4396b9d
-SHA1 (patch-include_pcm.h) = 1c458cd7d078356f4a970b0b3592aad139ac0918
+SHA1 (patch-include_pcm.h) = 9558c5f5c80276632d27e0278cd33ee77d8281a5
+SHA1 (patch-include_sound_asound.h) = 456b8545668294d38a83e98818d76bd2f717df75
SHA1 (patch-src_compat_hsearch__r.c) = 017bf104203233e85e9f3083f43150de6f341ad5
+SHA1 (patch-src_conf.c) = 0ac6556d3a9db8f0535838d35550388ec75d3c2c
SHA1 (patch-src_control_control__hw.c) = 07cfe3abe586b32f6b989403cd162599da07e865
SHA1 (patch-src_pcm_pcm__mmap.c) = 8ce33dae5215ee441196414e0c1ba02e4757e32d
SHA1 (patch-src_seq_seq__midi__event.c) = 2a5de492d6ca19a0f0c564e8f5a065e5fc57ea5c
SHA1 (patch-src_shmarea.c) = e6da001119f4e164b606e19a4c12df9aa05caa6a
+SHA1 (patch-src_ucm_parser.c) = 379b55f0e98444624691fefbb5129d5be92fa1b3
diff --git a/audio/alsa-lib/patches/patch-ab b/audio/alsa-lib/patches/patch-ab
index 853cec4ecdf..330aa8442a9 100644
--- a/audio/alsa-lib/patches/patch-ab
+++ b/audio/alsa-lib/patches/patch-ab
@@ -1,31 +1,31 @@
-$NetBSD: patch-ab,v 1.5 2014/03/25 23:06:07 asau Exp $
+$NetBSD: patch-ab,v 1.6 2014/06/09 12:21:07 ryoon Exp $
---- configure.orig 2008-10-29 08:46:35.000000000 -0400
-+++ configure 2008-12-19 00:09:49.000000000 -0500
-@@ -20983,6 +20983,14 @@
- echo "${ECHO_T}no" >&6; }
- fi
+--- configure.orig 2013-07-08 12:32:46.000000000 +0000
++++ configure
+@@ -13322,6 +13322,11 @@ test "x$prefix" = xNONE && prefix=$ac_de
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+ DEFS=-DHAVE_CONFIG_H
+case $host_os in
+ netbsd*|freebsd*|dragonfly*)
-+ HAVE_LIBDL=yes
-+cat >>confdefs.h <<\_ACEOF
-+#define HAVE_LIBDL 1
-+_ACEOF
++ DEFS="$DEFS -Dbswap_32=bswap32 -Dbswap_16=bswap16 -Dbswap_64=bswap64"
+ ;;
+esac
- if test "$HAVE_LIBDL"="yes"; then
- BUILD_MODULES_TRUE=
-@@ -22342,6 +22350,11 @@
- test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+ ac_libobjs=
+ ac_ltlibobjs=
+@@ -15815,6 +15820,14 @@ if test -n "$ac_unrecognized_opts" && te
+ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+ fi
- DEFS=-DHAVE_CONFIG_H
+case $host_os in
+ netbsd*|freebsd*|dragonfly*)
-+ DEFS="$DEFS -Dbswap_32=bswap32 -Dbswap_16=bswap16 -Dbswap_64=bswap64"
++ HAVE_LIBDL=yes
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_LIBDL 1
++_ACEOF
+ ;;
+esac
- ac_libobjs=
- ac_ltlibobjs=
+ echo "Creating asoundlib.h..."
+ cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h
diff --git a/audio/alsa-lib/patches/patch-ae b/audio/alsa-lib/patches/patch-ae
index e9340001e21..44907751cd3 100644
--- a/audio/alsa-lib/patches/patch-ae
+++ b/audio/alsa-lib/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.4 2014/03/25 23:06:07 asau Exp $
+$NetBSD: patch-ae,v 1.5 2014/06/09 12:21:07 ryoon Exp $
---- include/local.h.orig 2008-10-29 08:42:10.000000000 -0400
+--- include/local.h.orig 2013-07-08 12:31:36.000000000 +0000
+++ include/local.h
-@@ -28,7 +28,20 @@
+@@ -28,11 +28,26 @@
#include <string.h>
#include <fcntl.h>
#include <assert.h>
@@ -23,7 +23,13 @@ $NetBSD: patch-ae,v 1.4 2014/03/25 23:06:07 asau Exp $
#include <stdarg.h>
#include <sys/poll.h>
#include <errno.h>
-@@ -182,7 +195,9 @@ extern snd_lib_error_handler_t snd_err_m
++#if defined(__linux__)
+ #include <linux/ioctl.h>
++#endif
+
+ #include "config.h"
+ #ifdef SUPPORT_RESMGR
+@@ -228,7 +245,9 @@ extern snd_lib_error_handler_t snd_err_m
/*
*/
diff --git a/audio/alsa-lib/patches/patch-ah b/audio/alsa-lib/patches/patch-ah
index b656b46718a..44cbd8c955c 100644
--- a/audio/alsa-lib/patches/patch-ah
+++ b/audio/alsa-lib/patches/patch-ah
@@ -1,6 +1,6 @@
-$NetBSD: patch-ah,v 1.2 2014/03/25 23:06:07 asau Exp $
+$NetBSD: patch-ah,v 1.3 2014/06/09 12:21:07 ryoon Exp $
---- src/pcm/pcm.c.orig 2009-12-16 15:18:51.000000000 +0000
+--- src/pcm/pcm.c.orig 2013-07-08 12:31:36.000000000 +0000
+++ src/pcm/pcm.c
@@ -630,7 +630,7 @@ playback devices.
@@ -10,8 +10,8 @@ $NetBSD: patch-ah,v 1.2 2014/03/25 23:06:07 asau Exp $
+#include <stdlib.h>
#include <stdarg.h>
#include <signal.h>
- #include <sys/poll.h>
-@@ -639,6 +639,10 @@ playback devices.
+ #include <ctype.h>
+@@ -640,6 +640,10 @@ playback devices.
#include <limits.h>
#include "pcm_local.h"
diff --git a/audio/alsa-lib/patches/patch-am b/audio/alsa-lib/patches/patch-am
index b2f8c452850..16e2fa8d38f 100644
--- a/audio/alsa-lib/patches/patch-am
+++ b/audio/alsa-lib/patches/patch-am
@@ -1,9 +1,9 @@
-$NetBSD: patch-am,v 1.4 2014/03/25 23:06:07 asau Exp $
+$NetBSD: patch-am,v 1.5 2014/06/09 12:21:07 ryoon Exp $
---- src/pcm/pcm_dmix_generic.c.orig 2008-10-29 08:42:10.000000000 -0400
+--- src/pcm/pcm_dmix_generic.c.orig 2013-07-08 12:31:36.000000000 +0000
+++ src/pcm/pcm_dmix_generic.c
@@ -125,7 +125,9 @@ static void mix_select_callbacks(snd_pcm
- (1ULL << SND_PCM_FORMAT_S24_3LE) | \
+ (1ULL << SND_PCM_FORMAT_S24_LE) | (1ULL << SND_PCM_FORMAT_S24_3LE) | \
(1ULL << SND_PCM_FORMAT_U8))
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__sun)
diff --git a/audio/alsa-lib/patches/patch-aq b/audio/alsa-lib/patches/patch-aq
index e0d7d8698bc..64f75f2b6ac 100644
--- a/audio/alsa-lib/patches/patch-aq
+++ b/audio/alsa-lib/patches/patch-aq
@@ -1,6 +1,6 @@
-$NetBSD: patch-aq,v 1.2 2012/02/15 19:43:51 hans Exp $
+$NetBSD: patch-aq,v 1.3 2014/06/09 12:21:07 ryoon Exp $
---- src/pcm/pcm_hw.c.orig 2008-10-29 08:42:10.000000000 -0400
+--- src/pcm/pcm_hw.c.orig 2013-07-08 12:31:36.000000000 +0000
+++ src/pcm/pcm_hw.c
@@ -41,6 +41,10 @@
#include "../control/control_local.h"
@@ -13,7 +13,7 @@ $NetBSD: patch-aq,v 1.2 2012/02/15 19:43:51 hans Exp $
//#define DEBUG_RW /* use to debug readi/writei/readn/writen */
//#define DEBUG_MMAP /* debug mmap_commit */
-@@ -219,10 +223,11 @@ static int snd_pcm_hw_nonblock(snd_pcm_t
+@@ -220,10 +224,11 @@ static int snd_pcm_hw_nonblock(snd_pcm_t
static int snd_pcm_hw_async(snd_pcm_t *pcm, int sig, pid_t pid)
{
@@ -25,9 +25,9 @@ $NetBSD: patch-aq,v 1.2 2012/02/15 19:43:51 hans Exp $
+ long flags;
if ((flags = fcntl(fd, F_GETFL)) < 0) {
err = -errno;
- SYSMSG("F_GETFL failed");
-@@ -237,13 +242,16 @@ static int snd_pcm_hw_async(snd_pcm_t *p
- SYSMSG("F_SETFL for O_ASYNC failed");
+ SYSMSG("F_GETFL failed (%i)", err);
+@@ -238,13 +243,16 @@ static int snd_pcm_hw_async(snd_pcm_t *p
+ SYSMSG("F_SETFL for O_ASYNC failed (%i)", err);
return err;
}
+#endif
@@ -36,14 +36,14 @@ $NetBSD: patch-aq,v 1.2 2012/02/15 19:43:51 hans Exp $
+#ifndef __sun
if (fcntl(fd, F_SETSIG, (long)sig) < 0) {
err = -errno;
- SYSMSG("F_SETSIG failed");
+ SYSMSG("F_SETSIG failed (%i)", err);
return err;
}
+#endif
if (fcntl(fd, F_SETOWN, (long)pid) < 0) {
err = -errno;
- SYSMSG("F_SETOWN failed");
-@@ -1141,8 +1149,10 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp,
+ SYSMSG("F_SETOWN failed (%i)", err);
+@@ -1407,8 +1415,10 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp,
mode = 0;
if (fmode & O_NONBLOCK)
mode |= SND_PCM_NONBLOCK;
@@ -54,7 +54,7 @@ $NetBSD: patch-aq,v 1.2 2012/02/15 19:43:51 hans Exp $
if (ioctl(fd, SNDRV_PCM_IOCTL_PVERSION, &ver) < 0) {
ret = -errno;
-@@ -1281,8 +1291,10 @@ int snd_pcm_hw_open(snd_pcm_t **pcmp, co
+@@ -1547,8 +1557,10 @@ int snd_pcm_hw_open(snd_pcm_t **pcmp, co
fmode = O_RDWR;
if (mode & SND_PCM_NONBLOCK)
fmode |= O_NONBLOCK;
diff --git a/audio/alsa-lib/patches/patch-include_pcm.h b/audio/alsa-lib/patches/patch-include_pcm.h
index c249a9762b4..d6d44ba44bc 100644
--- a/audio/alsa-lib/patches/patch-include_pcm.h
+++ b/audio/alsa-lib/patches/patch-include_pcm.h
@@ -1,10 +1,10 @@
-$NetBSD: patch-include_pcm.h,v 1.3 2012/03/08 04:04:19 sbd Exp $
+$NetBSD: patch-include_pcm.h,v 1.4 2014/06/09 12:21:07 ryoon Exp $
---- include/pcm.h.orig 2009-12-16 15:18:51.000000000 +0000
+--- include/pcm.h.orig 2013-07-08 12:31:36.000000000 +0000
+++ include/pcm.h
-@@ -456,7 +456,9 @@ int snd_pcm_wait(snd_pcm_t *pcm, int tim
- int snd_pcm_link(snd_pcm_t *pcm1, snd_pcm_t *pcm2);
- int snd_pcm_unlink(snd_pcm_t *pcm);
+@@ -579,7 +579,9 @@ int snd_pcm_chmap_print(const snd_pcm_ch
+ unsigned int snd_pcm_chmap_from_string(const char *str);
+ snd_pcm_chmap_t *snd_pcm_chmap_parse_string(const char *str);
+/*
//int snd_pcm_mixer_element(snd_pcm_t *pcm, snd_mixer_t *mixer, snd_mixer_elem_t **elem);
@@ -12,7 +12,7 @@ $NetBSD: patch-include_pcm.h,v 1.3 2012/03/08 04:04:19 sbd Exp $
/*
* application helpers - these functions are implemented on top
-@@ -920,10 +922,17 @@ int snd_pcm_format_width(snd_pcm_format_
+@@ -1048,10 +1050,17 @@ int snd_pcm_format_width(snd_pcm_format_
int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
snd_pcm_format_t snd_pcm_build_linear_format(int width, int pwidth, int unsignd, int big_endian);
ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
diff --git a/audio/alsa-lib/patches/patch-include_sound_asound.h b/audio/alsa-lib/patches/patch-include_sound_asound.h
new file mode 100644
index 00000000000..296375943aa
--- /dev/null
+++ b/audio/alsa-lib/patches/patch-include_sound_asound.h
@@ -0,0 +1,20 @@
+$NetBSD: patch-include_sound_asound.h,v 1.1 2014/06/09 12:21:07 ryoon Exp $
+
+--- include/sound/asound.h.orig 2013-07-08 12:31:36.000000000 +0000
++++ include/sound/asound.h
+@@ -23,8 +23,14 @@
+ #ifndef _UAPI__SOUND_ASOUND_H
+ #define _UAPI__SOUND_ASOUND_H
+
++#if defined(__linux__)
+ #include <linux/types.h>
+-
++#else
++#include <sys/ioctl.h>
++#define __bitwise
++typedef uint32_t __u32;
++typedef int __kernel_pid_t;
++#endif
+
+ /*
+ * protocol version
diff --git a/audio/alsa-lib/patches/patch-src_conf.c b/audio/alsa-lib/patches/patch-src_conf.c
new file mode 100644
index 00000000000..0d463d548f2
--- /dev/null
+++ b/audio/alsa-lib/patches/patch-src_conf.c
@@ -0,0 +1,52 @@
+$NetBSD: patch-src_conf.c,v 1.1 2014/06/09 12:21:07 ryoon Exp $
+
+* NetBSD has no PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
+
+--- src/conf.c.orig 2013-07-08 12:31:36.000000000 +0000
++++ src/conf.c
+@@ -426,9 +426,12 @@ beginning:</P>
+
+ #ifndef DOC_HIDDEN
+
+-#ifdef HAVE_LIBPTHREAD
++#if defined(HAVE_LIBPTHREAD) && defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP)
+ static pthread_mutex_t snd_config_update_mutex =
+ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
++#else
++pthread_mutexattr_t attr;
++pthread_mutex_t _mutex;
+ #endif
+
+ struct _snd_config {
+@@ -474,12 +477,22 @@ typedef struct {
+
+ static inline void snd_config_lock(void)
+ {
++#if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP)
+ pthread_mutex_lock(&snd_config_update_mutex);
++#else
++ pthread_mutexattr_init(&attr);
++ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
++ pthread_mutex_init(&_mutex, &attr);
++#endif
+ }
+
+ static inline void snd_config_unlock(void)
+ {
++#if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP)
+ pthread_mutex_unlock(&snd_config_update_mutex);
++#else
++ pthread_mutexattr_destroy(&attr);
++#endif
+ }
+
+ #else
+@@ -3506,7 +3519,7 @@ int snd_config_hook_load(snd_config_t *r
+ int n;
+
+ #ifndef DOC_HIDDEN
+-#ifdef _GNU_SOURCE
++#if defined(_GNU_SOURCE) && !defined(__NetBSD__)
+ #define SORTFUNC versionsort
+ #else
+ #define SORTFUNC alphasort
diff --git a/audio/alsa-lib/patches/patch-src_ucm_parser.c b/audio/alsa-lib/patches/patch-src_ucm_parser.c
new file mode 100644
index 00000000000..e445e8e3a6b
--- /dev/null
+++ b/audio/alsa-lib/patches/patch-src_ucm_parser.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_ucm_parser.c,v 1.1 2014/06/09 12:21:07 ryoon Exp $
+
+* NetBSD has no versionsort
+
+--- src/ucm/parser.c.orig 2013-07-08 12:31:36.000000000 +0000
++++ src/ucm/parser.c
+@@ -1254,7 +1254,7 @@ int uc_mgr_scan_master_configs(const cha
+ "%s", env ? env : ALSA_USE_CASE_DIR);
+ filename[MAX_FILE-1] = '\0';
+
+-#ifdef _GNU_SOURCE
++#if defined(_GNU_SOURCE) && !defined(__NetBSD__)
+ #define SORTFUNC versionsort
+ #else
+ #define SORTFUNC alphasort