Skip to content

Commit 80e90b0

Browse files
committed
fix: libbs2b building on aarch64
1 parent 3558ac9 commit 80e90b0

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

cross_compile_ffmpeg.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,7 @@ build_libbluray() {
15251525
build_libbs2b() {
15261526
download_and_unpack_file https://downloads.sourceforge.net/project/bs2b/libbs2b/3.1.0/libbs2b-3.1.0.tar.gz
15271527
cd libbs2b-3.1.0
1528+
apply_patch file://$patch_dir/libbs2b.patch
15281529
sed -i.bak "s/AC_FUNC_MALLOC//" configure.ac # #270
15291530
export LIBS=-lm # avoid pow failure linux native
15301531
generic_configure_make_install

patches/libbs2b.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff -crB build-aux/config.sub.orig build-aux/config.sub > libbs2b.patch
2+
*** build-aux/config.sub.orig 2024-07-03 02:18:03.887685830 +0000
3+
--- build-aux/config.sub 2024-07-03 02:16:45.485027716 +0000
4+
***************
5+
*** 242,247 ****
6+
--- 242,248 ----
7+
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
8+
| am33_2.0 \
9+
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
10+
+ | aarch64 \
11+
| bfin \
12+
| c4x | clipper \
13+
| d10v | d30v | dlx | dsp16xx | dvp \

0 commit comments

Comments
 (0)