1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

Ports: Update scummvm's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 23:36:55 +04:30 committed by Ali Mohammad Pur
parent 0068f7f764
commit 06f9a1bacc
5 changed files with 80 additions and 30 deletions

View file

@ -0,0 +1,35 @@
From 65f374e0cdc9bb7255ad1aadbad1869d21ac7d82 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Sun, 9 Jan 2022 23:01:32 +0100
Subject: [PATCH 2/3] Teach configure about serenity
---
configure | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 65e4731..39509f3 100755
--- a/configure
+++ b/configure
@@ -3998,7 +3998,7 @@ case $_host_os in
amigaos* | cygwin* | dreamcast | ds | gamecube | mingw* | morphos | n64 | ps3 | psp2 | psp | riscos | wii)
_posix=no
;;
- 3ds | android | androidsdl | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | ios7 | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | solaris* | sunos* | switch | uclinux*)
+ 3ds | android | androidsdl | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | ios7 | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | serenity* | solaris* | sunos* | switch | uclinux*)
_posix=yes
;;
os2-emx*)
@@ -5538,6 +5538,9 @@ EOF
mingw*)
OPENGL_LIBS="-lopengl32"
;;
+ serenity*)
+ OPENGL_LIBS="-lgl"
+ ;;
*)
OPENGL_LIBS="-lGL"
;;
--
2.36.1