summaryrefslogtreecommitdiff
path: root/mail/mess822
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-08-30 14:03:49 +0000
committerschmonz <schmonz@pkgsrc.org>2004-08-30 14:03:49 +0000
commitedf62d403e0961d366ec696df6c15740776f573e (patch)
treee6409ccd0d6a14210a70148076fd5a2ad72161a2 /mail/mess822
parent44b0e39c9f44fc05bb53b2cb162be6d9d6327683 (diff)
downloadpkgsrc-edf62d403e0961d366ec696df6c15740776f573e.tar.gz
Initialize strerr_sys to build on Mac OS X (modeled after the patch
for qmail).
Diffstat (limited to 'mail/mess822')
-rw-r--r--mail/mess822/Makefile4
-rw-r--r--mail/mess822/distinfo3
-rw-r--r--mail/mess822/patches/patch-ab13
3 files changed, 17 insertions, 3 deletions
diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile
index af6a149483c..dde2e54594b 100644
--- a/mail/mess822/Makefile
+++ b/mail/mess822/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/08/22 00:23:55 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/30 14:03:49 schmonz Exp $
#
DISTNAME= mess822-0.58
@@ -14,7 +14,7 @@ DEPENDS+= qmail>=1.03nb7:../../mail/qmail
# We change conf-home from the default "/usr/local" and don't
# provide compatibilbity symlinks. We also patch hier.c to respect
# PKG_SYSCONFDIR and set reasonable modes on directories under
-# ${PREFIX}.
+# ${PREFIX}, and patch strerr_sys.c to build on Mac OS X.
RESTRICTED= "modified source and binaries may not be distributed"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
diff --git a/mail/mess822/distinfo b/mail/mess822/distinfo
index 0a81be52ce3..89cd2badfff 100644
--- a/mail/mess822/distinfo
+++ b/mail/mess822/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/07/26 23:26:27 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2004/08/30 14:03:49 schmonz Exp $
SHA1 (mess822-0.58.tar.gz) = ef3380c793c852d40688c108d164234ecf8a5362
Size (mess822-0.58.tar.gz) = 64287 bytes
SHA1 (patch-aa) = 62464e4d3afb31ad2ef38575cddbee969c8a82b3
+SHA1 (patch-ab) = b947129046bbef7012208db39a341648c13ff68f
diff --git a/mail/mess822/patches/patch-ab b/mail/mess822/patches/patch-ab
new file mode 100644
index 00000000000..4e7d6b05c9e
--- /dev/null
+++ b/mail/mess822/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/08/30 14:03:49 schmonz Exp $
+
+--- strerr_sys.c.orig Fri Sep 4 22:33:37 1998
++++ strerr_sys.c
+@@ -1,7 +1,7 @@
+ #include "error.h"
+ #include "strerr.h"
+
+-struct strerr strerr_sys;
++struct strerr strerr_sys = {0,0,0,0};
+
+ void strerr_sysinit()
+ {