• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/alsa-lib/0005-musl-pcm-h.patch
Bernd KuhlsBernd Kuhls committed dbf45d9759c30 Jan 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Fix musl-related build errors in packages depending on alsa, in our case
2
this fixes openal.
3
​
4
Downloaded from
5
http://git.alpinelinux.org/cgit/aports/tree/main/alsa-lib/alsa-lib_pcm_h.patch
6
​
7
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
8
​
9
--- alsa-lib-1.0.25/include/pcm.h
10
+++ alsa-lib-1.0.25.patched/include/pcm.h
11
@@ -33,6 +33,7 @@
12
 extern "C" {
13
 #endif
14
 
15
+#include <stdint.h>
16
 /**
17
  *  \defgroup PCM PCM Interface
18
  *  See the \ref pcm page for more details.
19
@@ -941,10 +942,10 @@
20
 int snd_pcm_format_physical_width(snd_pcm_format_t format);        /* in bits */
21
 snd_pcm_format_t snd_pcm_build_linear_format(int width, int pwidth, int unsignd, int big_endian);
22
 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
23
-u_int8_t snd_pcm_format_silence(snd_pcm_format_t format);
24
-u_int16_t snd_pcm_format_silence_16(snd_pcm_format_t format);
25
-u_int32_t snd_pcm_format_silence_32(snd_pcm_format_t format);
26
-u_int64_t snd_pcm_format_silence_64(snd_pcm_format_t format);
27
+uint8_t snd_pcm_format_silence(snd_pcm_format_t format);
28
+uint16_t snd_pcm_format_silence_16(snd_pcm_format_t format);
29
+uint32_t snd_pcm_format_silence_32(snd_pcm_format_t format);
30
+uint64_t snd_pcm_format_silence_64(snd_pcm_format_t format);
31
 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int samples);
32
 
33
 snd_pcm_sframes_t snd_pcm_bytes_to_frames(snd_pcm_t *pcm, ssize_t bytes);
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.