diff --git a/recipes/sdl_gfx/01_redox.patch b/recipes/sdl_gfx/01_redox.patch new file mode 100644 index 0000000000000000000000000000000000000000..c44c611f5a5ccf1eafe9bcdb67431164820ad1d0 --- /dev/null +++ b/recipes/sdl_gfx/01_redox.patch @@ -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* \ diff --git a/recipes/sdl_gfx/recipe.sh b/recipes/sdl_gfx/recipe.sh index 9a697f918de63617f58118b7657556e1f25b9db5..bc9566e9281247c8b405cdee3b8d212bd8afc380 100644 --- a/recipes/sdl_gfx/recipe.sh +++ b/recipes/sdl_gfx/recipe.sh @@ -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 }