pkgsrc/audio/alsa-lib/patches/patch-af
wiz 1b4fe7e36a Update alsa-lib to 1.1.1.
I got many patches integrated upstream, still more to go.

Core

    Release v1.1.1
    Define some types if missing
    Define EBADFD in terms of EBADF if it doesn't exist.

Control API

    control: keep consistent usage of assertion
    control: initialize element channel values according to identification number at adding a new element
    control: fulfill a description about element type with integer64
    coverity fixes
    control: add missing asserts to ctl_elem_set functions

PCM API

    pcm: fix 'unable to create IPC shm instance' caused by fork from a thread
    Introduce bswap.h for portable definitions of byte swap macros.
    coverity fixes
    pcm_hw: fix possible memory leak (coverity)
    pcm: simple: Fix asserts

Sequencer API

    seq: Provide sequencer sound card number / PID via alsa-lib

Timer API

    Only use F_SETSIG fcntl where it exists.

Topology API

    topology: Add support for widget byte controls
    topology: add support for CTL access flags to config file
    topology: add support for pasring external ops in conf files
    topology: Add ops to bytes control.
    topology: Remove unnecessary includes
    topology: fix debug output to print correct "max" value.
    topology: Quit and show error message on big-endian machines
    topology: Not compare a for loop iterator with ABI __le32 variables
    topology: Fix comparison of unsigned expression < 0
    topology: Remove unused variables
    topology: Remove unused function write_data_block()
    topology: open topology files with O_TRUNC
    topology: Add missing include sys/stat.h

Use Case Manager API

    Use alphasort where versionsort is not available.

/include/Makefile.am

    Introduce bswap.h for portable definitions of byte swap macros.
    Define some types if missing

ALSA Server

    coverity fixes

Compatibility routines

    Add more compatibility defines.
    Introduce bswap.h for portable definitions of byte swap macros.
    Define some types if missing

Configuration

    Use alphasort where versionsort is not available.
    config files - do not include ucm/topology configuration when not requested

Kernel Headers

    seq: Provide sequencer sound card number / PID via alsa-lib
    Update include/sound/asequencer.h from 4.6-pre kernel uapi
    Update include/sound/asound.h from 4.6-pre kernel uapi
2016-04-15 08:47:50 +00:00

22 lines
484 B
Text

$NetBSD: patch-af,v 1.5 2016/04/15 08:47:50 wiz Exp $
--- include/search.h.orig 2008-10-29 08:42:10.000000000 -0400
+++ include/search.h
@@ -20,7 +20,17 @@
#ifndef _SEARCH_H
#define _SEARCH_H 1
+#if !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__sun)
#include <features.h>
+#else
+#ifdef __sun
+#define __P(x) x
+#define __BEGIN_DECLS
+#define __END_DECLS
+#endif
+#define __PMT __P
+typedef void * __ptr_t;
+#endif
#define __need_size_t
#include <stddef.h>