diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-01 22:15:18 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-01 22:15:18 +0000 |
commit | f853985f1d22272040617d65f7d192796da048bc (patch) | |
tree | 76c17b035fed989689bc6f3f7136085dc2c14a53 /net | |
parent | a347ae9707d9760f92db61381b9784133eec4bca (diff) | |
download | pkgsrc-f853985f1d22272040617d65f7d192796da048bc.tar.gz |
Use MAXLOGNAME on DragonFly, when LOGIN_NAME_MAX is missing.
Now someone just has to write the osdep file...
Diffstat (limited to 'net')
-rw-r--r-- | net/hobbitclient/distinfo | 3 | ||||
-rw-r--r-- | net/hobbitclient/patches/patch-aa | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/hobbitclient/distinfo b/net/hobbitclient/distinfo index 987c6277938..95c0be9c69e 100644 --- a/net/hobbitclient/distinfo +++ b/net/hobbitclient/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:13:49 agc Exp $ +$NetBSD: distinfo,v 1.3 2006/06/01 22:15:18 joerg Exp $ SHA1 (hobbitclient-0.3.tgz) = cc7b31e6e6ba3ae81d5e16c808fbcbf8af98527c RMD160 (hobbitclient-0.3.tgz) = 481727fae95ae4ff4979a481a5106b241f53b766 Size (hobbitclient-0.3.tgz) = 50675 bytes +SHA1 (patch-aa) = 776d9f25d4c5c164da20bb2a029394d61263cd83 diff --git a/net/hobbitclient/patches/patch-aa b/net/hobbitclient/patches/patch-aa new file mode 100644 index 00000000000..eddbf7b43a7 --- /dev/null +++ b/net/hobbitclient/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2006/06/01 22:15:18 joerg Exp $ + +--- conf_load.h.orig 2006-06-01 22:11:36.000000000 +0000 ++++ conf_load.h +@@ -34,6 +34,10 @@ + + #define DEFAULT_CONF "hobbitc.conf" + ++#if defined(__DragonFly__) && !defined(LOGIN_NAME_MAX) ++#define LOGIN_NAME_MAX MAXLOGNAME ++#endif ++ + struct disk_limit { + char dl_mount[MAXPATHLEN + 1]; + int dl_yellow; |