Skip to content

Commit 5c10206

Browse files
committed
Add patch to work around #234
Fix suggested by timepp in the issue
1 parent 2b392ad commit 5c10206

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cross_compile_ffmpeg.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1040,6 +1040,7 @@ build_freetype() {
10401040
download_and_unpack_file https://sourceforge.net/projects/freetype/files/freetype2/2.10.4/freetype-2.10.4.tar.xz
10411041
rm -f freetype-2.10.4/already*
10421042
cd freetype-2.10.4
1043+
apply_patch file://$patch_dir/freetype2-crosscompiled-apinames.diff # src/tools/apinames.c gets crosscompiled and makes the compilation fail
10431044
# harfbuzz autodetect :|
10441045
generic_configure "--with-bzip2 $1"
10451046
do_make_and_make_install
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- builds/unix/unix-def.in.orig 2020-03-22 15:24:22.000000000 -0400
2+
+++ builds/unix/unix-def.in 2023-02-13 18:36:43.976259800 -0500
3+
@@ -14,8 +14,6 @@
4+
5+
SHELL := @SHELL@
6+
7+
-TOP_DIR := $(shell cd $(TOP_DIR); pwd)
8+
-
9+
DELETE := rm -f
10+
DELDIR := rm -rf
11+
CAT := cat

0 commit comments

Comments
 (0)