pkgsrc/mail/fetchmail/patches/patch-ai
tonio 245c8d0a25 Fix mail/fetchmail under darwin (PR 28543).
The added patches add a prefix "fm_" to lock related finctions, to avoid name
clash with darwin lock functions. Link with -lresolv under darwin.
(thanks scole_at_sdf.lonestar.org for the patches)
Bump PKGREVISION
2005-10-21 20:56:50 +00:00

19 lines
659 B
Text

$NetBSD: patch-ai,v 1.1 2005/10/21 20:56:50 tonio Exp $
--- fetchmail.h.orig 2003-10-15 21:22:31.000000000 +0200
+++ fetchmail.h
@@ -461,10 +461,10 @@ int gen_transact();
extern struct msgblk msgblk;
/* lock.c: concurrency locking */
-void lock_setup(void), lock_assert(void);
-void lock_or_die(void), lock_release(void);
-int lock_state(void);
-void lock_dispose(void);
+void fm_lock_setup(void), fm_lock_assert(void);
+void fm_lock_or_die(void), fm_lock_release(void);
+int fm_lock_state(void);
+void fm_lock_dispose(void);
/* use these to track what was happening when the nonresponse timer fired */
#define GENERAL_WAIT 0 /* unknown wait type */