From 7fff0bec2b6984a8f941dd167689870436449b9a Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 17 Feb 2019 18:49:01 +0200 Subject: [PATCH] disabled-packages: racket is now in https://github.com/termux/unstable-packages/tree/master/packages/racket --- disabled-packages/racket/build.sh | 22 ------------- .../racket/collects-racket-system.rkt.patch | 12 ------- disabled-packages/racket/newgc.c.patch | 10 ------ disabled-packages/racket/rktio_dll.c.patch | 18 ----------- disabled-packages/racket/sconfig.h.patch | 32 ------------------- 5 files changed, 94 deletions(-) delete mode 100644 disabled-packages/racket/build.sh delete mode 100644 disabled-packages/racket/collects-racket-system.rkt.patch delete mode 100644 disabled-packages/racket/newgc.c.patch delete mode 100644 disabled-packages/racket/rktio_dll.c.patch delete mode 100644 disabled-packages/racket/sconfig.h.patch diff --git a/disabled-packages/racket/build.sh b/disabled-packages/racket/build.sh deleted file mode 100644 index 4053f49ad..000000000 --- a/disabled-packages/racket/build.sh +++ /dev/null @@ -1,22 +0,0 @@ -TERMUX_PKG_HOMEPAGE=https://racket-lang.org -TERMUX_PKG_DESCRIPTION="Full-spectrum programming language going beyond Lisp and Scheme" -TERMUX_PKG_VERSION=6.12 -TERMUX_PKG_SRCURL=https://mirror.racket-lang.org/installers/${TERMUX_PKG_VERSION}/racket-minimal-${TERMUX_PKG_VERSION}-src-builtpkgs.tgz - -TERMUX_PKG_SHA256=295a422d60af2a3186a18783d033c167eeed07b936c79f404d25123a0209d683 -TERMUX_PKG_NO_DEVELSPLIT=true -TERMUX_PKG_HOSTBUILD=true -TERMUX_PKG_DEPENDS="libffi, libandroid-support" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-racket=$TERMUX_PKG_HOSTBUILD_DIR/racket/racketcgc --enable-libs --disable-shared --disable-gracket --enable-libffi" - -termux_step_host_build() { - $TERMUX_PKG_SRCDIR/src/configure ${TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS} - make -j $TERMUX_MAKE_PROCESSES -} - -termux_step_pre_configure() { - CPPFLAGS+=" -I$TERMUX_PKG_SRCDIR/src/racket/include -I$TERMUX_PKG_BUILDDIR/racket" - # Due to use of syslog. - LDFLAGS+=" -llog" - export TERMUX_PKG_SRCDIR=$TERMUX_PKG_SRCDIR/src -} diff --git a/disabled-packages/racket/collects-racket-system.rkt.patch b/disabled-packages/racket/collects-racket-system.rkt.patch deleted file mode 100644 index 317dfa543..000000000 --- a/disabled-packages/racket/collects-racket-system.rkt.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -u -r ../racket-6.6/collects/racket/system.rkt ./collects/racket/system.rkt ---- ../racket-6.6/collects/racket/system.rkt 2016-04-15 16:33:56.000000000 -0400 -+++ ./collects/racket/system.rkt 2016-11-22 16:45:09.576844179 -0500 -@@ -17,7 +17,7 @@ - - (define (shell-path/args who argstr) - (case (system-type) -- [(unix macosx) (append '("/bin/sh" "-c") (list argstr))] -+ [(unix macosx) (append '("@TERMUX_PREFIX@/bin/sh" "-c") (list argstr))] - [(windows) (let ([cmd - (let ([d (find-system-path 'sys-dir)]) - (let ([cmd (build-path d "cmd.exe")]) diff --git a/disabled-packages/racket/newgc.c.patch b/disabled-packages/racket/newgc.c.patch deleted file mode 100644 index 3a35fa382..000000000 --- a/disabled-packages/racket/newgc.c.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ../cache/racket-6.11/src/racket/gc2/newgc.c 2017-07-07 19:13:22.000000000 +0000 -+++ ./src/racket/gc2/newgc.c 2018-01-05 05:55:28.900376813 +0000 -@@ -10,6 +10,7 @@ - #include - #include - #include -+#include - #include "platforms.h" - #include "../src/schpriv.h" - #include "gc2.h" diff --git a/disabled-packages/racket/rktio_dll.c.patch b/disabled-packages/racket/rktio_dll.c.patch deleted file mode 100644 index 921fd4b0e..000000000 --- a/disabled-packages/racket/rktio_dll.c.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- ../cache/racket-6.12/src/rktio/rktio_dll.c 2017-10-12 18:23:27.000000000 +0000 -+++ ./src/rktio/rktio_dll.c 2018-03-18 01:22:17.345952252 +0000 -@@ -1,5 +1,6 @@ - #include "rktio.h" - #include "rktio_private.h" -+#include "scheme.h" - #include - #include - -@@ -63,7 +64,7 @@ - return dll; - - #ifdef RKTIO_SYSTEM_UNIX --# if defined(__ANDROID__) -+# if defined(__ANDROID__) && !defined(__x86_64__) && !defined(__aarch64__) - if (!name) handle = RTLD_DEFAULT; else - # elif defined(__CYGWIN32__) - if (!name) { handle = RTLD_DEFAULT; null_ok = 1; } else diff --git a/disabled-packages/racket/sconfig.h.patch b/disabled-packages/racket/sconfig.h.patch deleted file mode 100644 index 1d5478a5e..000000000 --- a/disabled-packages/racket/sconfig.h.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- ../cache/racket-6.12/src/racket/sconfig.h 2017-10-12 18:23:27.000000000 +0000 -+++ ./src/racket/sconfig.h 2018-02-07 01:18:13.911569478 +0000 -@@ -124,10 +124,12 @@ - # endif - # if defined(__x86_64__) - # define SCHEME_PLATFORM_LIBRARY_SUBPATH "x86_64-"SPLS_LINUX - # define REGISTER_POOR_MACHINE - # define ASM_DBLPREC_CONTROL_87 -+#ifndef __ANDROID__ - # define MZ_TRY_EXTFLONUMS - # endif -+# endif - # ifndef SCHEME_PLATFORM_LIBRARY_SUBPATH - # define SCHEME_PLATFORM_LIBRARY_SUBPATH "unknown-"SPLS_LINUX - # endif -@@ -147,12 +149,16 @@ - #if defined(__i386__) - # define MZ_USE_JIT_I386 - # define MZ_JIT_USE_MPROTECT -+#ifndef __ANDROID__ - # define MZ_USE_DWARF_LIBUNWIND - #endif -+#endif - #if defined(__x86_64__) - # define MZ_USE_JIT_X86_64 - # define MZ_JIT_USE_MPROTECT -+#ifndef __ANDROID__ - # define MZ_USE_DWARF_LIBUNWIND -+#endif - #endif - #if defined(__powerpc__) && !defined(__powerpc64__) - # define MZ_USE_JIT_PPC