File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ configopts=(
9
9
" --enable-c++11"
10
10
" --enable-release-mode"
11
11
" --enable-optimizations"
12
- " --opengl-mode=none"
13
12
" --with-sdl-prefix=${SERENITY_INSTALL_ROOT} /usr/local"
14
13
)
15
14
launcher_name=ScummVM
@@ -20,11 +19,13 @@ icon_file=icons/scummvm.ico
20
19
function pre_configure() {
21
20
export CPPFLAGS=" -fvisibility=hidden"
22
21
export FREETYPE2_CFLAGS=" -I${SERENITY_INSTALL_ROOT} /usr/local/include/freetype2"
22
+ export OPENGL_CFLAGS=" -I${SERENITY_INSTALL_ROOT} /usr/include/LibGL"
23
23
export SDL_CFLAGS=" -I${SERENITY_INSTALL_ROOT} /usr/local/include/SDL2"
24
24
}
25
25
26
26
function post_configure() {
27
27
unset CPPFLAGS
28
28
unset FREETYPE2_CFLAGS
29
+ unset OPENGL_CFLAGS
29
30
unset SDL_CFLAGS
30
31
}
Original file line number Diff line number Diff line change 1
- --- scummvm-2.5.1/configure 2021-10-01 13:52:42 .000000000 +0200
2
- +++ scummvm-2.5.1-patched/configure 2021-10-17 16:31:01.554772573 +0200
3
- @@ -3979 ,7 +3980 ,7 @@
1
+ --- scummvm-2.5.1/configure 2021-12-24 22:19:28 .000000000 +0000
2
+ +++ scummvm-2.5.1-patched/configure 2022-01-09 21:55:40.753734211 +0000
3
+ @@ -3998 ,7 +3998 ,7 @@
4
4
amigaos* | cygwin* | dreamcast | ds | gamecube | mingw* | morphos | n64 | ps3 | psp2 | psp | riscos | wii)
5
5
_posix=no
6
6
;;
9
9
_posix=yes
10
10
;;
11
11
os2-emx*)
12
+ @@ -5538,6 +5538,9 @@
13
+ mingw*)
14
+ OPENGL_LIBS="-lopengl32"
15
+ ;;
16
+ + serenity*)
17
+ + OPENGL_LIBS="-lgl"
18
+ + ;;
19
+ *)
20
+ OPENGL_LIBS="-lGL"
21
+ ;;
You can’t perform that action at this time.
0 commit comments