summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-28 00:03:20 +0000
committerwiz <wiz@pkgsrc.org>2000-12-28 00:03:20 +0000
commit6ae224e07dc219e7a1de7d27cfbfcc2a9da620a1 (patch)
treeb55ec74e08b9b09932bbcf18e21d4a4b5769f95c
parent5b83d88915594692ad30b6936a36a1f85859fd97 (diff)
downloadpkgsrc-6ae224e07dc219e7a1de7d27cfbfcc2a9da620a1.tar.gz
Fix compilation on alpha.
-rw-r--r--net/batchftp/files/patch-sum4
-rw-r--r--net/batchftp/patches/patch-aa31
2 files changed, 31 insertions, 4 deletions
diff --git a/net/batchftp/files/patch-sum b/net/batchftp/files/patch-sum
index b63523b6642..3f9f21c5371 100644
--- a/net/batchftp/files/patch-sum
+++ b/net/batchftp/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:18 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/12/28 00:03:20 wiz Exp $
-MD5 (patch-aa) = 5eb635c287bfb7add89e6db91f6c2d64
+MD5 (patch-aa) = 0e6d19022424e1806d07c108095daada
diff --git a/net/batchftp/patches/patch-aa b/net/batchftp/patches/patch-aa
index b9c77a18e32..14f9fa8ed03 100644
--- a/net/batchftp/patches/patch-aa
+++ b/net/batchftp/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/05/30 21:34:39 tron Exp $
+$NetBSD: patch-aa,v 1.2 2000/12/28 00:03:20 wiz Exp $
--- batchftp.c.orig Tue Oct 23 21:12:42 1990
-+++ batchftp.c Sun May 30 23:20:33 1999
++++ batchftp.c
+@@ -66,7 +66,7 @@
+ /* All string functions used in Batchftp are user-defined */
+
+ char *strcpy ();
+-int strlen ();
++size_t strlen ();
+ int strncmp ();
+ char *substr ();
+ char *strcat ();
@@ -129,7 +129,7 @@
@@ -20,3 +29,21 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/05/30 21:34:39 tron Exp $
char *sh_args[3]; /* arguments for execv */
*alarm_flag = _FALSE; /* alarm has not been called */
+@@ -755,7 +755,7 @@
+ sh_args[1] = sh_name;
+ sh_args[2] = 0;
+
+- if ((int) signal(SIGALRM, alarm_handler) == -1) {
++ if (signal(SIGALRM, alarm_handler) == (void *)-1) {
+ fprintf(*mptr, "\nSYSTEM ERROR -- Unable to establish timer");
+ return;
+ }
+@@ -986,7 +986,7 @@
+ }
+ /*------------------------------------------------------- */
+
+-int strlen (s)
++size_t strlen (s)
+
+ register char *s;
+ {