midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/yabasic-2.83.0.local.patch

Lucio Andrés Illanes Albornoz 5449c3
diff -ru yabasic-2.83.0.orig/configure yabasic-2.83.0/configure
Lucio Andrés Illanes Albornoz 5449c3
--- yabasic-2.83.0.orig/configure	2019-06-15 16:58:01.081213787 +0200
Lucio Andrés Illanes Albornoz 5449c3
+++ yabasic-2.83.0/configure	2019-06-15 16:58:27.697212954 +0200
Lucio Andrés Illanes Albornoz 5449c3
@@ -13304,7 +13304,7 @@
Lucio Andrés Illanes Albornoz 5449c3
   return 0;
Lucio Andrés Illanes Albornoz 5449c3
 }
Lucio Andrés Illanes Albornoz 5449c3
 _ACEOF
Lucio Andrés Illanes Albornoz 5449c3
-for ac_lib in '' curses; do
Lucio Andrés Illanes Albornoz 5449c3
+for ac_lib in '' ncurses; do
Lucio Andrés Illanes Albornoz 5449c3
   if test -z "$ac_lib"; then
Lucio Andrés Illanes Albornoz 5449c3
     ac_res="none required"
Lucio Andrés Illanes Albornoz 5449c3
   else
Lucio Andrés Illanes Albornoz 5449c3
Only in yabasic-2.83.0: configure.orig
Lucio Andrés Illanes Albornoz 5449c3
diff -ru yabasic-2.83.0.orig/graphic.c yabasic-2.83.0/graphic.c
Lucio Andrés Illanes Albornoz 5449c3
--- yabasic-2.83.0.orig/graphic.c	2019-05-16 06:01:06.000000000 +0200
Lucio Andrés Illanes Albornoz 5449c3
+++ yabasic-2.83.0/graphic.c	2019-06-15 17:03:51.116903177 +0200
Lucio Andrés Illanes Albornoz 5449c3
@@ -19,7 +19,11 @@
Lucio Andrés Illanes Albornoz 5449c3
 #include "yabasic.h"		/* all prototypes and structures */
Lucio Andrés Illanes Albornoz 5449c3
 #endif
Lucio Andrés Illanes Albornoz 5449c3
 #ifdef UNIX
Lucio Andrés Illanes Albornoz 5449c3
+#ifdef HAVE_NCURSES_H
Lucio Andrés Illanes Albornoz 5449c3
+#include <ncurses.h>
Lucio Andrés Illanes Albornoz 5449c3
+#elif HAVE_CURSES_H
Lucio Andrés Illanes Albornoz 5449c3
 #include <curses.h>
Lucio Andrés Illanes Albornoz 5449c3
+#endif
Lucio Andrés Illanes Albornoz 5449c3
 #include <sys/types.h>
Lucio Andrés Illanes Albornoz 5449c3
 #include <sys/stat.h>
Lucio Andrés Illanes Albornoz 5449c3
 #include <unistd.h>
Lucio Andrés Illanes Albornoz 5449c3
diff -ru yabasic-2.83.0.orig/whereami.c yabasic-2.83.0/whereami.c
Lucio Andrés Illanes Albornoz 5449c3
--- yabasic-2.83.0.orig/whereami.c	2019-03-10 16:36:25.000000000 +0100
Lucio Andrés Illanes Albornoz 5449c3
+++ yabasic-2.83.0/whereami.c	2019-06-15 17:08:39.723539493 +0200
Lucio Andrés Illanes Albornoz 5449c3
@@ -164,7 +164,7 @@
Lucio Andrés Illanes Albornoz 5449c3
   return length;
Lucio Andrés Illanes Albornoz 5449c3
 }
Lucio Andrés Illanes Albornoz 5449c3
 
Lucio Andrés Illanes Albornoz 5449c3
-#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
Lucio Andrés Illanes Albornoz 5449c3
+#elif defined(__linux__) || defined(__midipix__) || defined(__CYGWIN__) || defined(__sun) || (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
Lucio Andrés Illanes Albornoz 5449c3
 
Lucio Andrés Illanes Albornoz 5449c3
 #include <stdio.h>
Lucio Andrés Illanes Albornoz 5449c3
 #include <stdlib.h>