From 37da3cb71eb93ca0a87811e208ad95b4129a7a22 Mon Sep 17 00:00:00 2001 From: schmonz Date: Mon, 30 Aug 2004 14:03:49 +0000 Subject: Initialize strerr_sys to build on Mac OS X (modeled after the patch for qmail). --- mail/mess822/Makefile | 4 ++-- mail/mess822/distinfo | 3 ++- mail/mess822/patches/patch-ab | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 mail/mess822/patches/patch-ab (limited to 'mail/mess822') 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() + { -- cgit v1.2.3