diff options
author | imura <imura@FreeBSD.org> | 2000-01-31 00:22:27 +0800 |
---|---|---|
committer | imura <imura@FreeBSD.org> | 2000-01-31 00:22:27 +0800 |
commit | 87eb843803c2ab99d7a485aa33279d23fbbf44e9 (patch) | |
tree | cc0741b4e1a96f9d8db5301216dd48b3ab78d12e | |
parent | f2d461e1b65ddbb71d0078e68b9a1a5e5d97f9f8 (diff) | |
download | freebsd-ports-gnome-87eb843803c2ab99d7a485aa33279d23fbbf44e9.tar.gz freebsd-ports-gnome-87eb843803c2ab99d7a485aa33279d23fbbf44e9.tar.zst freebsd-ports-gnome-87eb843803c2ab99d7a485aa33279d23fbbf44e9.zip |
Fix compiler error in -current.
PR: 16446
Submitted by: Alexander Langer <alex@cichlids.com>
-rw-r--r-- | mail/maildrop/files/patch-ad | 16 | ||||
-rw-r--r-- | mail/maildrop/files/patch-ae | 10 |
2 files changed, 26 insertions, 0 deletions
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; |