ports: Update to new config.sub syntax

There is no longer need to manually patch config.sub files!
This commit is contained in:
2025-07-22 10:28:11 +03:00
parent 6971f76bd3
commit bc66e181a5
42 changed files with 15 additions and 181 deletions

View File

@@ -0,0 +1,38 @@
diff -ruN bochs-3.0/bochs.h bochs-3.0-banan_os/bochs.h
--- bochs-3.0/bochs.h 2024-03-10 08:59:37.000000000 +0200
+++ bochs-3.0-banan_os/bochs.h 2025-04-15 20:46:58.442339461 +0300
@@ -91,6 +91,9 @@
#endif
#include <ctype.h>
#include <string.h>
+#if defined(__banan_os__)
+# include <strings.h>
+#endif
#include <fcntl.h>
#include <limits.h>
#ifdef macintosh
diff -ruN bochs-3.0/iodev/serial.cc bochs-3.0-banan_os/iodev/serial.cc
--- bochs-3.0/iodev/serial.cc 2024-03-10 08:59:37.000000000 +0200
+++ bochs-3.0-banan_os/iodev/serial.cc 2025-04-15 20:49:42.493314963 +0300
@@ -37,6 +37,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
+#include <arpa/inet.h>
#define closesocket(s) close(s)
typedef int SOCKET;
#else
diff -ruN bochs-3.0/gui/keymap.cc bochs-3.0-banan_os/gui/keymap.cc
--- bochs-3.0/gui/keymap.cc 2025-02-16 11:15:29.000000000 +0200
+++ bochs-3.0-banan_os/gui/keymap.cc 2025-06-25 19:17:34.077048625 +0300
@@ -30,6 +30,10 @@
#include "gui.h"
#include "keymap.h"
+#ifdef __banan_os__
+# include <libgen.h>
+#endif
+
// Table of bochs "BX_KEY_*" symbols
// the table must be in BX_KEY_* order
const char *bx_key_symbol[BX_KEY_NBKEYS] = {