mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 20:04:19 +08:00
Merge branch 'fix_sdl_gfx' into 'master'
apply patch + dependencies See merge request redox-os/cookbook!219
This commit is contained in:
commit
ce43a54db1
20
recipes/sdl_gfx/01_redox.patch
Normal file
20
recipes/sdl_gfx/01_redox.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- source/config.sub 2013-10-27 23:04:13.000000000 +0100
|
||||
+++ build/config.sub 2019-08-13 10:13:07.072063540 +0200
|
||||
@@ -125,7 +125,7 @@ case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||
linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
- kopensolaris*-gnu* | \
|
||||
+ kopensolaris*-gnu* | redox* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
@@ -1346,7 +1346,7 @@ case $os in
|
||||
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
- | -sym* | -kopensolaris* \
|
||||
+ | -sym* | -kopensolaris* | -redox* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
| -aos* | -aros* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./autogen.sh
|
||||
./configure --prefix=/ --build=${BUILD} --host=${HOST} --disable-shared --disable-sdltest
|
||||
./configure --prefix=/ --build=${BUILD} --host=${HOST} --disable-shared
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user