Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
377940b8
Verified
Commit
377940b8
authored
6 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for dosbox and ncurses
parent
423b3a9c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
recipes/dosbox/recipe.sh
+5
-5
5 additions, 5 deletions
recipes/dosbox/recipe.sh
recipes/ncurses/01-config-sub.patch
+0
-21
0 additions, 21 deletions
recipes/ncurses/01-config-sub.patch
recipes/ncurses/recipe.sh
+7
-3
7 additions, 3 deletions
recipes/ncurses/recipe.sh
with
12 additions
and
29 deletions
recipes/dosbox/recipe.sh
+
5
−
5
View file @
377940b8
...
...
@@ -2,10 +2,6 @@ VERSION=0.74
TAR
=
https://sourceforge.net/projects/dosbox/files/dosbox/
$VERSION
/dosbox-
$VERSION
.tar.gz/download
BUILD_DEPENDS
=(
sdl liborbital
)
export
CFLAGS
=
"-I
$PWD
/sysroot/include/SDL/"
export
CPPFLAGS
=
"-I
$PWD
/sysroot/include/SDL/"
export
LDFLAGS
=
"-L
$PWD
/sysroot/lib/"
function
recipe_version
{
echo
"
$VERSION
"
skip
=
1
...
...
@@ -17,9 +13,13 @@ function recipe_update {
}
function
recipe_build
{
sysroot
=
"
$(
realpath
../sysroot
)
"
export
CFLAGS
=
"-I
$sysroot
/include/SDL"
export
CPPFLAGS
=
"-I
$sysroot
/include/SDL"
export
LDFLAGS
=
"-L
$sysroot
/lib"
./autogen.sh
wget
-O
config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
./configure
--host
=
${
HOST
}
--prefix
=
''
--disable-opengl
--disable-sdltest
--with-sdl-prefix
=
"
$
PWD
/../
sysroot"
./configure
--host
=
${
HOST
}
--prefix
=
''
--disable-opengl
--disable-sdltest
--with-sdl-prefix
=
"
$sysroot
"
make
-j
"
$(
nproc
)
"
skip
=
1
}
...
...
This diff is collapsed.
Click to expand it.
recipes/ncurses/01-config-sub.patch
deleted
100644 → 0
+
0
−
21
View file @
423b3a9c
diff -ru source/config.sub source-new/config.sub
--- source/config.sub 2015-05-02 13:52:04.000000000 +0200
+++ source-new/config.sub 2017-08-13 13:12:16.485670615 +0200
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2015 Free Software Foundation, Inc.
-timestamp='2015-03-08'
+timestamp='2017-08-13'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1371,7 +1371,7 @@
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* | -redox* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* | -plan9* \
This diff is collapsed.
Click to expand it.
recipes/ncurses/recipe.sh
+
7
−
3
View file @
377940b8
VERSION
=
6.
0
VERSION
=
6.
1
TAR
=
http://ftp.gnu.org/gnu/ncurses/ncurses-
$VERSION
.tar.gz
DEPENDS
=
"terminfo"
...
...
@@ -13,8 +13,12 @@ function recipe_update {
}
function
recipe_build
{
export
CPPFLAGS
=
"-P"
./configure
--host
=
${
HOST
}
--prefix
=
""
--disable-db-install
--without-ada
./configure
\
--host
=
${
HOST
}
\
--prefix
=
""
\
--disable-db-install
\
--without-ada
\
cf_cv_func_mkstemp
=
yes
make
-j
"
$(
nproc
)
"
skip
=
1
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment