File point.patch of Package tustep
--- unx/cgibin.c.old 2012-07-11 20:10:00.695113880 +0100
+++ unx/cgibin.c 2012-07-12 17:06:20.162112704 +0100
@@ -152,7 +152,7 @@ start: /* TUSTEP starten */
fflush (stdout);
- execl (File, File, 0, 0);
+ execl (File, File, 0, 0. NULL);
strcpy (Text, "TUSTEP start failed; program not found\n");
m = strlen (Text);
--- unx/start.c.old 2012-07-11 20:10:28.764112367 +0100
+++ unx/start.c 2012-07-12 17:06:03.043112758 +0100
@@ -165,7 +165,7 @@ goon:
fflush (stdout);
- execl (file, file, 0, 0);
+ execl (file, file, 0, 0, NULL);
strcpy (mld, "TUSTEP start failed; program not found\n");
m = strlen (mld);
--- unx/txtcll.c.old 2012-07-11 20:44:44.054001779 +0100
+++ unx/txtcll.c 2012-07-12 17:18:33.920073340 +0100
@@ -20,6 +20,8 @@
#include "tustep.h"
+#include <ctype.h>
+
SUBROUTINE TXTCLL (iprgnm)
INTEGER *iprgnm;
--- unx/txtcwd.c.old 2012-07-11 20:31:15.426045318 +0100
+++ unx/txtcwd.c 2012-07-12 17:21:06.546064966 +0100
@@ -20,6 +20,8 @@
#include "tustep.h"
+#include <unistd.h>
+
SUBROUTINE TXTCWD (iblck2, nanf2, nend2, next2)
BYTE iblck2[];
--- unx/txtda.c.old 2012-07-11 20:46:48.687995093 +0100
+++ unx/txtda.c 2012-07-12 17:17:55.234075147 +0100
@@ -26,6 +26,8 @@
#include <direct.h>
#endif
+#include <sys/stat.h>
+
extern void txteaf (/* long *, char[], INTEGER */);
extern int tdir (/* char path[] */);
--- unx/txtdz.c.old 2012-07-11 20:47:35.949992537 +0100
+++ unx/txtdz.c 2012-07-12 17:15:40.697082553 +0100
@@ -32,6 +32,7 @@
#include <sys/fcntl.h>
#endif
+#include <unistd.h>
/******************************************************/
#if defined (TUSTEP_aix) || defined (TUSTEP_hpx) || defined (TUSTEP_lnx) || defined (TUSTEP_sun)
--- unx/txtea.c.old 2012-07-11 20:32:43.886040489 +0100
+++ unx/txtea.c 2012-07-12 17:15:08.818084160 +0100
@@ -33,6 +33,8 @@
#include <sys/fcntl.h>
#endif
+#include <unistd.h>
+
/******************************************************/
#if defined (TUSTEP_aix) || defined (TUSTEP_hpx) || defined (TUSTEP_lnx) || defined (TUSTEP_sun)
--- unx/txtini.c.old 2012-07-11 20:35:09.847032652 +0100
+++ unx/txtini.c 2012-07-12 17:31:25.637032045 +0100
@@ -22,6 +22,9 @@
#include "tustep.h"
+#include <string.h>
+#include <unistd.h>
+
#if ! defined (TUSTEP_win)
void cntrl_c (sig)
--- unx/txtstp.c.old 2012-07-11 20:11:17.355109711 +0100
+++ unx/txtstp.c 2012-07-12 17:08:55.763103937 +0100
@@ -27,6 +27,8 @@
#include "tustep.h"
+#include <ctype.h>
+
SUBROUTINE TXTSTP (ind1, ind2)
INTEGER *ind1, *ind2;
@@ -60,7 +62,7 @@ INTEGER *ind1, *ind2;
strcat (file, (char *) T$$STP.iprgnm); i2 = strlen (file);
while (i1 < i2) { file[i1] = tolower (file[i1]); i1++; } }
- execl (file, file, 0, 0);
+ execl (file, file, 0, 0, NULL);
ind = 1; }
--- unx/txturl.c.old 2012-07-11 20:51:15.987980696 +0100
+++ unx/txturl.c 2012-07-12 17:32:29.930027915 +0100
@@ -38,6 +38,10 @@
#include "tustep.h"
+#include <arpa/inet.h>
+#include <sys/socket.h>
+#include <unistd.h>
+
#if ! defined (TUSTEP_win)
extern int h_errno;
#endif
--- all/txthst.c.old 2012-07-11 20:56:43.811963052 +0100
+++ all/txthst.c 2012-07-12 17:22:08.295061691 +0100
@@ -37,6 +37,8 @@
#include "tustep.h"
+#include <arpa/inet.h>
+
#if ! defined (TUSTEP_win)
extern int h_errno;
#endif