File lrzsz-0.12.20.dif of Package rzsz

--- src/Makefile.in
+++ src/Makefile.in	2001/01/22 09:52:50	1.2
@@ -370,16 +370,16 @@
 
 install-exec-local:
 	rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
-	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+	ln -s `echo lsz |sed -e '$(transform)'` \
 		$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'` 
 	rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
-	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+	ln -s `echo lsz |sed -e '$(transform)'` \
 		$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'` 
 	rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
-	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+	ln -s `echo lrz |sed -e '$(transform)'` \
 		$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'` 
 	rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
-	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+	ln -s `echo lrz |sed -e '$(transform)'` \
 		$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'` 
 #	rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
 #	ln $(bindir)/`echo lrzszbug |sed -e '$(transform)'` \
--- src/lrz.c
+++ src/lrz.c	2001/01/22 09:52:50	1.2
@@ -44,7 +44,9 @@
 #ifndef STRICT_PROTOTYPES
 extern time_t time();
 extern char *strerror();
+#ifndef strstr
 extern char *strstr();
+#endif
 #endif
 
 #ifndef HAVE_ERRNO_DECLARATION
@@ -2321,7 +2321,7 @@
 	if (*s == '!')
 		++s;
 	io_mode(0,0);
-	execl("/bin/sh", "sh", "-c", s);
+	execl("/bin/sh", "sh", "-c", s, NULL);
 	zpfatal("execl");
 	exit(1);
 }
--- src/lsz.c
+++ src/lsz.c	2001/01/22 09:52:51	1.2
@@ -53,7 +53,9 @@
 #ifndef STRICT_PROTOTYPES
 extern time_t time();
 extern char *strerror();
+#ifndef strstr
 extern char *strstr();
+#endif
 #endif
 
 #ifndef HAVE_ERRNO_DECLARATION
--- lib/long-options.c.xx	2005-01-24 17:11:10.070643166 +0100
+++ lib/long-options.c	2005-01-24 17:11:15.059378062 +0100
@@ -22,6 +22,7 @@
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <getopt.h>
 #include "long-options.h"
 
--- src/lsyslog.c.xx	2005-01-24 17:08:37.366924569 +0100
+++ src/lsyslog.c	2005-01-24 17:10:30.387118639 +0100
@@ -18,12 +18,14 @@
   02111-1307, USA.
 
 */
+#define _GNU_SOURCE
 #include "config.h"
 #ifdef ENABLE_SYSLOG
 #include "zglobal.h"
 #include <pwd.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdio.h>
 #endif
 
 #if __STDC__