aedi: remove obsolete samplerate patch

This commit is contained in:
alexey.lysiuk 2021-08-02 10:53:23 +03:00
parent d426d3614b
commit 093435bc21
2 changed files with 1 additions and 31 deletions

View file

@ -427,8 +427,7 @@ class SamplerateTarget(CMakeStaticDependencyTarget):
def prepare_source(self, state: BuildState):
state.download_source(
'https://github.com/libsndfile/libsamplerate/releases/download/0.2.1/libsamplerate-0.2.1.tar.bz2',
'f6323b5e234753579d70a0af27796dde4ebeddf58aae4be598e39b3cee00c90a',
patches='samplerate-support-arm64')
'f6323b5e234753579d70a0af27796dde4ebeddf58aae4be598e39b3cee00c90a')
def detect(self, state: BuildState) -> bool:
return state.has_source_file('samplerate.pc.in')

View file

@ -1,29 +0,0 @@
--- a/examples/audio_out.c
+++ b/examples/audio_out.c
@@ -432,7 +432,7 @@
#if (defined (__MACH__) && defined (__APPLE__)) /* MacOSX */
-#include <Carbon.h>
+#include <Carbon/Carbon.h>
#include <CoreAudio/AudioHardware.h>
#define MACOSX_MAGIC MAKE_MAGIC ('M', 'a', 'c', ' ', 'O', 'S', ' ', 'X')
--- a/Cfg/config.sub
+++ b/Cfg/config.sub
@@ -239,6 +239,7 @@
# Some are omitted here because they have special meanings below.
1750a | 580 \
| a29k \
+ | aarch64 \
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
@@ -319,6 +320,7 @@
# Recognize the basic CPU types with company name.
580-* \
| a29k-* \
+ | aarch64-* \
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \