mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Fix compiler error in -current.
PR: 16446 Submitted by: Alexander Langer <alex@cichlids.com>
This commit is contained in:
parent
3649ada3e3
commit
8ce2905ce2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25315
16
mail/maildrop/files/patch-ad
Normal file
16
mail/maildrop/files/patch-ad
Normal file
@ -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 ) );
|
10
mail/maildrop/files/patch-ae
Normal file
10
mail/maildrop/files/patch-ae
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user