Skip to content
Snippets Groups Projects
Commit b235980b authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'master' of https://github.com/redox-os/cookbook

parents 5e621772 988a0b6d
No related branches found
No related tags found
No related merge requests found
diff -rupN prboom-2.5.0/autotools/config.sub prboom-2.5.0-redox/autotools/config.sub
--- prboom-2.5.0/autotools/config.sub 2006-08-10 08:17:12.000000000 -0700
+++ prboom-2.5.0-redox/autotools/config.sub 2017-10-14 22:17:14.000000000 -0700
@@ -1214,7 +1214,7 @@ case $os in
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -redox*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
diff -rupN prboom-2.5.0/configure.ac prboom-2.5.0-redox/configure.ac
--- prboom-2.5.0/configure.ac 2008-11-09 11:12:37.000000000 -0800
+++ prboom-2.5.0-redox/configure.ac 2017-10-14 23:27:16.000000000 -0700
@@ -85,8 +85,6 @@ if test "$cross_compiling" != "yes"; the
fi
dnl --- Header files, typedefs, structures
-AC_TYPE_UID_T
-AC_TYPE_SIZE_T
AC_DECL_SYS_SIGLIST
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(unistd.h asm/byteorder.h sched.h)
diff -rupN prboom-2.5.0/src/d_deh.c prboom-2.5.0-redox/src/d_deh.c
--- prboom-2.5.0/src/d_deh.c 2008-10-11 05:10:38.000000000 -0700
+++ prboom-2.5.0-redox/src/d_deh.c 2017-10-14 23:29:00.000000000 -0700
@@ -54,17 +54,6 @@
#define TRUE 1
#define FALSE 0
-#ifndef HAVE_STRLWR
-#include <ctype.h>
-
-static char* strlwr(char* str)
-{
- char* p;
- for (p=str; *p; p++) *p = tolower(*p);
- return str;
-}
-#endif
-
// killough 10/98: new functions, to allow processing DEH files in-memory
// (e.g. from wads)
VERSION=2.5.0
TAR=https://downloads.sourceforge.net/project/prboom/prboom%20stable/$VERSION/prboom-$VERSION.tar.gz
BUILD_DEPENDS=(sdl)
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
autoreconf -if
./configure --prefix=/ --host=${HOST} --disable-sdltest --disable-gl --without-net --with-sdl-prefix="$PWD/../sysroot"
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
skip=1
}
This diff is collapsed.
VERSION=1.2.15
TAR=https://www.libsdl.org/release/SDL-$VERSION.tar.gz
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./autogen.sh
./configure --prefix=/ --host=${HOST} --disable-shared --disable-pulseaudio --disable-video-x11 --disable-cdrom --disable-loadso --disable-threads --disable-timers --enable-audio --enable-dummyaudio --enable-video-orbital
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment