Added Python3. (Still testing integration)

This commit is contained in:
Gerhard Stein
2016-12-03 11:31:30 +01:00
parent 9a1dbfc234
commit 1194788eb9
47 changed files with 2092 additions and 10 deletions

View File

@@ -0,0 +1,13 @@
pushd src >/dev/null
rm -rf "${PACKAGE}"
tar -xf "${PACKAGE}.tar.gz" || exit 1
pushd "${PACKAGE}" >/dev/null
patch -p1 < "${FILESDIR}/${PACKAGE}-android-winsize.patch"
./configure --prefix="${PREFIX}" --host="${TARGET}" --build="${HOST}" --enable-libgdbm-compat || exit 1
make || exit 1
make install || exit 1
popd >/dev/null
popd >/dev/null

View File

@@ -0,0 +1,12 @@
diff -ru gdbm-1.11/src/gdbmtool.c gdbm-1.11-android/src/gdbmtool.c
--- gdbm-1.11/src/gdbmtool.c 2013-05-21 21:48:31.000000000 +0200
+++ gdbm-1.11-android/src/gdbmtool.c 2014-08-05 15:35:51.000000000 +0200
@@ -302,7 +302,7 @@
int
get_screen_lines ()
{
-#ifdef TIOCGWINSZ
+#if defined(TIOCGWINSZ) && !__ANDROID__
if (isatty (1))
{
struct winsize ws;

View File

@@ -0,0 +1 @@
https://ftp.gnu.org/gnu/gdbm/gdbm-1.11.tar.gz