mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 06:28:22 +00:00
userland: bump mlibc, gcc, binutils, etc
This commit is contained in:
@@ -25,10 +25,16 @@ index e4c4e09..272cd1c 100755
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
|
||||
diff --git xterm-clean/main.c xterm-workdir/main.c
|
||||
index 3d2ad4c..3f235d0 100644
|
||||
index 3d2ad4c..92ff910 100644
|
||||
--- xterm-clean/main.c
|
||||
+++ xterm-workdir/main.c
|
||||
@@ -92,6 +92,7 @@
|
||||
@@ -89,9 +89,13 @@
|
||||
|
||||
#define RES_OFFSET(field) XtOffsetOf(XTERM_RESOURCE, field)
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
#include <xterm.h>
|
||||
#include <version.h>
|
||||
#include <graphics.h>
|
||||
@@ -36,7 +42,7 @@ index 3d2ad4c..3f235d0 100644
|
||||
|
||||
/* xterm uses these X Toolkit resource names, which are exported in array */
|
||||
#undef XtNborderWidth
|
||||
@@ -172,7 +173,7 @@ static GCC_NORETURN void HsSysError(int);
|
||||
@@ -172,7 +176,7 @@ static GCC_NORETURN void HsSysError(int);
|
||||
#define KANJI
|
||||
#endif
|
||||
|
||||
@@ -45,7 +51,7 @@ index 3d2ad4c..3f235d0 100644
|
||||
#define USE_SYSV_PGRP
|
||||
#define USE_SYSV_SIGNALS
|
||||
#define WTMP
|
||||
@@ -315,7 +316,7 @@ ttyslot(void)
|
||||
@@ -315,7 +319,7 @@ ttyslot(void)
|
||||
#ifndef NOFILE
|
||||
#define NOFILE OPEN_MAX
|
||||
#endif
|
||||
@@ -54,7 +60,7 @@ index 3d2ad4c..3f235d0 100644
|
||||
#include <sys/param.h> /* for NOFILE */
|
||||
#endif
|
||||
|
||||
@@ -716,11 +717,12 @@ static struct {
|
||||
@@ -716,11 +720,12 @@ static struct {
|
||||
#endif
|
||||
|
||||
#ifndef TAB3
|
||||
@@ -72,7 +78,7 @@ index 3d2ad4c..3f235d0 100644
|
||||
#endif
|
||||
|
||||
#ifndef TABDLY
|
||||
@@ -3011,7 +3013,7 @@ main(int argc, char *argv[]ENVP_ARG)
|
||||
@@ -3011,7 +3016,7 @@ main(int argc, char *argv[]ENVP_ARG)
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -81,7 +87,7 @@ index 3d2ad4c..3f235d0 100644
|
||||
if (0 > (mode = fcntl(screen->respond, F_GETFL, 0)))
|
||||
SysError(ERROR_F_GETFL);
|
||||
#ifdef O_NDELAY
|
||||
@@ -3753,7 +3755,7 @@ ourValidShell(const char *pathname)
|
||||
@@ -3753,7 +3758,7 @@ ourValidShell(const char *pathname)
|
||||
return findValidShell(x_strtrim(resource.valid_shells), pathname);
|
||||
}
|
||||
|
||||
@@ -90,7 +96,7 @@ index 3d2ad4c..3f235d0 100644
|
||||
static Boolean
|
||||
validShell(const char *pathname)
|
||||
{
|
||||
@@ -4356,7 +4358,7 @@ spawnXTerm(XtermWidget xw, unsigned line_speed)
|
||||
@@ -4356,7 +4361,7 @@ spawnXTerm(XtermWidget xw, unsigned line_speed)
|
||||
/*
|
||||
* now in child process
|
||||
*/
|
||||
@@ -99,7 +105,7 @@ index 3d2ad4c..3f235d0 100644
|
||||
int pgrp = setsid(); /* variable may not be used... */
|
||||
#else
|
||||
int pgrp = getpid();
|
||||
@@ -4496,7 +4498,7 @@ spawnXTerm(XtermWidget xw, unsigned line_speed)
|
||||
@@ -4496,7 +4501,7 @@ spawnXTerm(XtermWidget xw, unsigned line_speed)
|
||||
/* make /dev/tty work */
|
||||
ioctl(ttyfd, TCSETCTTY, 0);
|
||||
#endif
|
||||
@@ -108,6 +114,18 @@ index 3d2ad4c..3f235d0 100644
|
||||
/* make /dev/tty work */
|
||||
ioctl(ttyfd, TIOCSCTTY, 0);
|
||||
#endif
|
||||
diff --git xterm-clean/util.c xterm-workdir/util.c
|
||||
index 4e609a2..f4d716f 100644
|
||||
--- xterm-clean/util.c
|
||||
+++ xterm-workdir/util.c
|
||||
@@ -54,6 +54,7 @@
|
||||
|
||||
/* util.c */
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
#include <xterm.h>
|
||||
|
||||
#include <data.h>
|
||||
diff --git xterm-clean/xterm.h xterm-workdir/xterm.h
|
||||
index 89590cb..9a99f0c 100644
|
||||
--- xterm-clean/xterm.h
|
||||
|
||||
Reference in New Issue
Block a user