From 87eb843803c2ab99d7a485aa33279d23fbbf44e9 Mon Sep 17 00:00:00 2001 From: imura Date: Sun, 30 Jan 2000 16:22:27 +0000 Subject: Fix compiler error in -current. PR: 16446 Submitted by: Alexander Langer --- mail/maildrop/files/patch-ad | 16 ++++++++++++++++ mail/maildrop/files/patch-ae | 10 ++++++++++ 2 files changed, 26 insertions(+) create mode 100644 mail/maildrop/files/patch-ad create mode 100644 mail/maildrop/files/patch-ae (limited to 'mail/maildrop') diff --git a/mail/maildrop/files/patch-ad b/mail/maildrop/files/patch-ad new file mode 100644 index 000000000000..b81faa643e9b --- /dev/null +++ b/mail/maildrop/files/patch-ad @@ -0,0 +1,16 @@ +--- funcs.C.old Sat Jan 29 17:28:18 2000 ++++ funcs.C Sat Jan 29 17:28:45 2000 +@@ -114,13 +114,7 @@ + static GETGROUPS_T getprocgroup() + { + #if HAS_GETPGRP +- +-#ifdef GETPGRP_VOID +- + return ( getpgrp() ); +-#else +- return ( getpgrp( getpid()) ); +-#endif + #else + #if HAS_GETPGID + return ( getpgid( 0 ) ); diff --git a/mail/maildrop/files/patch-ae b/mail/maildrop/files/patch-ae new file mode 100644 index 000000000000..bb7a6adb99a5 --- /dev/null +++ b/mail/maildrop/files/patch-ae @@ -0,0 +1,10 @@ +--- main.C.orig Mon May 10 18:34:07 1999 ++++ main.C Sat Jan 29 17:41:39 2000 +@@ -36,6 +36,7 @@ + + + extern void setprocgroup(); ++extern "C" int sprintf(char *str, const char *format, ...); + + static Message m1, m2; + extern char **environ; -- cgit