mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
aedi: remove obsolete samplerate patch
This commit is contained in:
parent
d426d3614b
commit
093435bc21
2 changed files with 1 additions and 31 deletions
|
@ -427,8 +427,7 @@ class SamplerateTarget(CMakeStaticDependencyTarget):
|
||||||
def prepare_source(self, state: BuildState):
|
def prepare_source(self, state: BuildState):
|
||||||
state.download_source(
|
state.download_source(
|
||||||
'https://github.com/libsndfile/libsamplerate/releases/download/0.2.1/libsamplerate-0.2.1.tar.bz2',
|
'https://github.com/libsndfile/libsamplerate/releases/download/0.2.1/libsamplerate-0.2.1.tar.bz2',
|
||||||
'f6323b5e234753579d70a0af27796dde4ebeddf58aae4be598e39b3cee00c90a',
|
'f6323b5e234753579d70a0af27796dde4ebeddf58aae4be598e39b3cee00c90a')
|
||||||
patches='samplerate-support-arm64')
|
|
||||||
|
|
||||||
def detect(self, state: BuildState) -> bool:
|
def detect(self, state: BuildState) -> bool:
|
||||||
return state.has_source_file('samplerate.pc.in')
|
return state.has_source_file('samplerate.pc.in')
|
||||||
|
|
|
@ -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-* \
|
|
Loading…
Reference in a new issue