summaryrefslogtreecommitdiff
path: root/devel/rpc2
diff options
context:
space:
mode:
authorjoerg <joerg>2012-04-19 21:04:02 +0000
committerjoerg <joerg>2012-04-19 21:04:02 +0000
commit57ebe29a7e2859872a355d35297cf8fa00b720a6 (patch)
tree3fde227d157b1b745a07d693728d39901acc8aeb /devel/rpc2
parent19442f8dd73e9c57d7329959930d69e5bb142450 (diff)
downloadpkgsrc-57ebe29a7e2859872a355d35297cf8fa00b720a6.tar.gz
Fix main().
Diffstat (limited to 'devel/rpc2')
-rw-r--r--devel/rpc2/distinfo3
-rw-r--r--devel/rpc2/patches/patch-rpc2-src_stest.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/rpc2/distinfo b/devel/rpc2/distinfo
index 363f8332c03..18b312df93d 100644
--- a/devel/rpc2/distinfo
+++ b/devel/rpc2/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.16 2011/03/11 20:01:47 gdt Exp $
+$NetBSD: distinfo,v 1.17 2012/04/19 21:04:02 joerg Exp $
SHA1 (rpc2-2.10.tar.gz) = cec3c836e29ca1263156c314af662d8e087e0ab5
RMD160 (rpc2-2.10.tar.gz) = f155cc33c91d6b354376228027a1474e12b0bb28
Size (rpc2-2.10.tar.gz) = 595825 bytes
+SHA1 (patch-rpc2-src_stest.c) = 04fc28fffa48f9c8b21e240003f2950429522ff3
diff --git a/devel/rpc2/patches/patch-rpc2-src_stest.c b/devel/rpc2/patches/patch-rpc2-src_stest.c
new file mode 100644
index 00000000000..930c5b19770
--- /dev/null
+++ b/devel/rpc2/patches/patch-rpc2-src_stest.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-rpc2-src_stest.c,v 1.1 2012/04/19 21:04:02 joerg Exp $
+
+--- rpc2-src/stest.c.orig 2012-04-19 13:51:58.000000000 +0000
++++ rpc2-src/stest.c
+@@ -94,9 +94,7 @@ long VMMaxFileSize; /* length of VMFileB
+ long VMCurrFileSize; /* number of useful bytes in VMFileBuf */
+ char *VMFileBuf; /* for FILEINVM transfers */
+
+-int main(argc, argv)
+- long argc;
+- char *argv[];
++int main(int argc, char *argv[])
+ {
+ SFTP_Initializer sftpi;
+