summaryrefslogtreecommitdiff
path: root/net/hobbitclient
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-01 22:15:18 +0000
committerjoerg <joerg>2006-06-01 22:15:18 +0000
commit650be8a7499afe95705d75ba9936f861c605571e (patch)
tree76c17b035fed989689bc6f3f7136085dc2c14a53 /net/hobbitclient
parentac6ea5560756684f012450aa334ad81d88f0673d (diff)
downloadpkgsrc-650be8a7499afe95705d75ba9936f861c605571e.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/hobbitclient')
-rw-r--r--net/hobbitclient/distinfo3
-rw-r--r--net/hobbitclient/patches/patch-aa15
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;