summaryrefslogtreecommitdiff
path: root/mail/ezmlm-idx
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-04-30 04:56:10 +0000
committerschmonz <schmonz@pkgsrc.org>2005-04-30 04:56:10 +0000
commit17d1597f8001d32ef1e19522083504808e9282ac (patch)
treef9f13f639a7ff0af680245192a51925eb13285c7 /mail/ezmlm-idx
parentc368f44eeadf4bc1d09c279b4d8fc8b14bcc15de (diff)
downloadpkgsrc-17d1597f8001d32ef1e19522083504808e9282ac.tar.gz
Repair forward declarations of read() and write() on 64-bit platforms,
where ssize_t != int. Compile fix for 64-bit platforms, no change otherwise, thus no PKGREVISION bump. Addresses pkg/30004.
Diffstat (limited to 'mail/ezmlm-idx')
-rw-r--r--mail/ezmlm-idx/distinfo3
-rw-r--r--mail/ezmlm-idx/patches/patch-ac15
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/ezmlm-idx/distinfo b/mail/ezmlm-idx/distinfo
index d25e4c27c07..f51458e3af5 100644
--- a/mail/ezmlm-idx/distinfo
+++ b/mail/ezmlm-idx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2005/04/15 20:41:20 schmonz Exp $
+$NetBSD: distinfo,v 1.13 2005/04/30 04:56:10 schmonz Exp $
SHA1 (ezmlm-idx-0.440.tar.gz) = 1995071e8b54a97ba1e2ae823949eaa3f37ebfeb
RMD160 (ezmlm-idx-0.440.tar.gz) = 944f203450feec5b011a0b5d00ccabf70783a360
@@ -8,3 +8,4 @@ RMD160 (ezmlm-0.53.tar.gz) = 6d366de2d7028a984ba454f1bec9d2d9f495c88b
Size (ezmlm-0.53.tar.gz) = 62693 bytes
SHA1 (patch-aa) = ab64608eb858732f6e27c6aa876574f1293d294e
SHA1 (patch-ab) = 7b4626114a2676e9a3526066fc97628b06300bc7
+SHA1 (patch-ac) = d8fa7fa6ed9122904e43fe2861f37aab7bb95041
diff --git a/mail/ezmlm-idx/patches/patch-ac b/mail/ezmlm-idx/patches/patch-ac
new file mode 100644
index 00000000000..b04bd7a0c60
--- /dev/null
+++ b/mail/ezmlm-idx/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.5 2005/04/30 04:56:10 schmonz Exp $
+
+--- readwrite.h.orig 1997-06-29 23:11:54.000000000 -0400
++++ readwrite.h
+@@ -1,7 +1,8 @@
+ #ifndef READWRITE_H
+ #define READWRITE_H
+
+-extern int read();
+-extern int write();
++#include <sys/types.h>
++extern ssize_t read();
++extern ssize_t write();
+
+ #endif