File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ function _init_chroot_image() {
174
174
trap " _trap_chroot_image '$chroot '" INT
175
175
176
176
# mount special filesystems to chroot
177
- mkdir -p " $chroot " /dev/pts
177
+ mkdir -p " $chroot " { /dev/pts,/proc}
178
178
mount none -t devpts " $chroot /dev/pts"
179
179
mount -t proc /proc " $chroot /proc"
180
180
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ function depends_dosbox-staging() {
27
27
28
28
function sources_dosbox-staging() {
29
29
gitPullOrClone
30
+ # patch the dosbox-staging meson.build script to disable neon instructions for older arm
31
+ if ! isPlatform " neon" ; then
32
+ applyPatch " $md_data /speexdsp_simd_disable.diff"
33
+ fi
30
34
}
31
35
32
36
function build_dosbox-staging() {
Original file line number Diff line number Diff line change
1
+ diff --git a/meson.build b/meson.build
2
+ index 8db4dd4..e5e7549 100644
3
+ --- a/meson.build
4
+ +++ b/meson.build
5
+ @@ -396,7 +396,7 @@ endif
6
+ if not speexdsp_dep.found() or not is_system_speexdsp_reliable
7
+ speexdsp_dep = subproject(
8
+ 'speexdsp',
9
+ - default_options: default_wrap_options,
10
+ + default_options: default_wrap_options + ['simd=false']
11
+ ).get_variable('speexdsp_dep')
12
+ speexdsp_summary_msg = 'built-in'
13
+ endif
You can’t perform that action at this time.
0 commit comments