summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-06-15 15:22:28 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-06-15 15:22:28 +0000
commit5449c3b50a63a78ec687406ce6ab3fc8e76c1306 (patch)
tree98c87d337d17c7952cb1662258e8d0b834150138
parent5e2b13b366f6bda4f224e1db62ac6eb3ba36a0f0 (diff)
downloadmidipix_build-5449c3b50a63a78ec687406ce6ab3fc8e76c1306.tar.bz2
midipix_build-5449c3b50a63a78ec687406ce6ab3fc8e76c1306.tar.xz
vars/build.vars:native_packages_etc: adds yabasic v2.83.0 (via Redfoxmoon.)
vars/yabasic.vars: via Redfoxmoon. patches/yabasic-2.83.0.local.patch: via Redfoxmoon.
-rw-r--r--patches/yabasic-2.83.0.local.patch40
-rw-r--r--vars/build.vars5
-rw-r--r--vars/yabasic.vars8
3 files changed, 52 insertions, 1 deletions
diff --git a/patches/yabasic-2.83.0.local.patch b/patches/yabasic-2.83.0.local.patch
new file mode 100644
index 00000000..8dee7982
--- /dev/null
+++ b/patches/yabasic-2.83.0.local.patch
@@ -0,0 +1,40 @@
+diff -ru yabasic-2.83.0.orig/configure yabasic-2.83.0/configure
+--- yabasic-2.83.0.orig/configure 2019-06-15 16:58:01.081213787 +0200
++++ yabasic-2.83.0/configure 2019-06-15 16:58:27.697212954 +0200
+@@ -13304,7 +13304,7 @@
+ return 0;
+ }
+ _ACEOF
+-for ac_lib in '' curses; do
++for ac_lib in '' ncurses; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+Only in yabasic-2.83.0: configure.orig
+diff -ru yabasic-2.83.0.orig/graphic.c yabasic-2.83.0/graphic.c
+--- yabasic-2.83.0.orig/graphic.c 2019-05-16 06:01:06.000000000 +0200
++++ yabasic-2.83.0/graphic.c 2019-06-15 17:03:51.116903177 +0200
+@@ -19,7 +19,11 @@
+ #include "yabasic.h" /* all prototypes and structures */
+ #endif
+ #ifdef UNIX
++#ifdef HAVE_NCURSES_H
++#include <ncurses.h>
++#elif HAVE_CURSES_H
+ #include <curses.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
+diff -ru yabasic-2.83.0.orig/whereami.c yabasic-2.83.0/whereami.c
+--- yabasic-2.83.0.orig/whereami.c 2019-03-10 16:36:25.000000000 +0100
++++ yabasic-2.83.0/whereami.c 2019-06-15 17:08:39.723539493 +0200
+@@ -164,7 +164,7 @@
+ return length;
+ }
+
+-#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
++#elif defined(__linux__) || defined(__midipix__) || defined(__CYGWIN__) || defined(__sun) || (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
+
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/vars/build.vars b/vars/build.vars
index 43a38d90..ae9c5f7e 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1267,7 +1267,7 @@ bison chicken cparser diffutils flex lunix m4 make mandoc nasm patch patchutils
NATIVE_PACKAGES_ETC_PACKAGES="
ca_certificates cron dante debianutils emacs fetchmail ffmpeg gnuchess ghostscript hastyhex hexcurse htop icecast isync infounzip
infozip jamvm classpath john less mlogin mc mintty nano ncdu p7zip procps_ng qemu qpdf rdesktop rw rxvt_unicode st
-tmux tzdb vim xcowsay xeyes xorriso xterm xwd";
+tmux tzdb vim yabasic xcowsay xeyes xorriso xterm xwd";
: ${PKG_CA_CERTIFICATES_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"};
: ${PKG_CA_CERTIFICATES_IN_TREE:=1};
: ${PKG_CA_CERTIFICATES_CFLAGS_BUILD_EXTRA:=-I${PREFIX_NATIVE}/include};
@@ -1438,6 +1438,9 @@ fi;
: ${PKG_VIM_INSTALL_FILES:=@vim=bin/vi};
: ${PKG_VIM_MAKEFLAGS_INSTALL_EXTRA:=STRIP=/bin/true};
: ${PKG_VIM_SUBDIR:=vim-${PKG_VIM_VERSION}};
+: ${PKG_YABASIC_SHA256SUM:=24eaca1a520817ec266d132d89b4a657d5adf3e6bad54f13b103991afdca6d40};
+: ${PKG_YABASIC_VERSION:=2.83.0};
+: ${PKG_YABASIC_URL:=http://www.yabasic.de/download/yabasic-${PKG_YABASIC_VERSION}.tar.gz};
: ${PKG_XCOWSAY_SHA256SUM:=c7e261ba0262c3821c106ccb6d6f984e3c2da999ad10151364e55d1c699f8e51};
: ${PKG_XCOWSAY_VERSION:=1.4};
: ${PKG_XCOWSAY_URL:=http://www.nickg.me.uk/files/xcowsay-${PKG_XCOWSAY_VERSION}.tar.gz};
diff --git a/vars/yabasic.vars b/vars/yabasic.vars
new file mode 100644
index 00000000..a180a16e
--- /dev/null
+++ b/vars/yabasic.vars
@@ -0,0 +1,8 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+: ${PKG_YABASIC_CONFIG_CACHE_EXTRA:="
+ac_cv_func_strtod=yes"};
+
+# vim:filetype=sh