pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/dk-milter Be cheap and also patch FreeBSD's inclu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/102f020fbc46
branches: trunk
changeset: 505869:102f020fbc46
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Jan 08 18:13:08 2006 +0000
description:
Be cheap and also patch FreeBSD's include file for DragonFly.
diffstat:
mail/dk-milter/distinfo | 3 ++-
mail/dk-milter/patches/patch-ac | 33 +++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 1 deletions(-)
diffs (50 lines):
diff -r b75188d56cd7 -r 102f020fbc46 mail/dk-milter/distinfo
--- a/mail/dk-milter/distinfo Sun Jan 08 18:03:04 2006 +0000
+++ b/mail/dk-milter/distinfo Sun Jan 08 18:13:08 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/07/20 19:42:50 tv Exp $
+$NetBSD: distinfo,v 1.2 2006/01/08 18:13:08 joerg Exp $
SHA1 (dk-milter-0.3.0.tar.gz) = bc7a4f9e1a3d9d751bf84e261e4cbe45198671b9
RMD160 (dk-milter-0.3.0.tar.gz) = 1b1de285dab602bdc0b21e55080f2964924ab646
Size (dk-milter-0.3.0.tar.gz) = 304023 bytes
SHA1 (patch-aa) = 9f74c271c1f9eb60080864c9ed386f450a40596a
SHA1 (patch-ab) = 357e250bb17fd9680c033ac392cea17957b71997
+SHA1 (patch-ac) = 403e565640e3a67f26f04d9df5bb0833305d308a
diff -r b75188d56cd7 -r 102f020fbc46 mail/dk-milter/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/dk-milter/patches/patch-ac Sun Jan 08 18:13:08 2006 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-ac,v 1.1 2006/01/08 18:13:08 joerg Exp $
+
+--- include/sm/os/sm_os_freebsd.h.orig 2006-01-08 18:09:08.000000000 +0000
++++ include/sm/os/sm_os_freebsd.h
+@@ -13,10 +13,18 @@
+ ** Platform definitions for FreeBSD
+ */
+
+-#define SM_OS_NAME "freebsd"
+-
+ #define SM_CONF_SYS_CDEFS_H 1
+
++#ifdef __DragonFly__)
++#define SM_OS_NAME "dragonfly"
++#define MI_SOMAXCONN -1
++#ifndef SM_CONF_STRL
++# define SM_CONF_STRL 1
++#endif
++
++#else
++#define SM_OS_NAME "freebsd"
++
+ #if __FreeBSD__ >= 2
+ # include <osreldate.h> /* defines __FreeBSD_version */
+ # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */
+@@ -29,6 +37,7 @@
+ # endif
+ # endif
+ #endif
++#endif
+
+ #ifndef SM_CONF_SHM
+ # define SM_CONF_SHM 1
Home |
Main Index |
Thread Index |
Old Index