diff options
author | joerg <joerg@pkgsrc.org> | 2006-09-24 15:40:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-09-24 15:40:38 +0000 |
commit | 3d6c9ec13bbe5a32df0d952c151d6bd81a370cf2 (patch) | |
tree | b8f3343cc10a0f6d5cdb22215ed4cfb238950c3c /sysutils | |
parent | 084baedf7bcb0acb21bf781b4f57f1da05e0e89d (diff) | |
download | pkgsrc-3d6c9ec13bbe5a32df0d952c151d6bd81a370cf2.tar.gz |
Fix build on DragonFly 1.6+.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ruby-quota/distinfo | 4 | ||||
-rw-r--r-- | sysutils/ruby-quota/patches/patch-ab | 21 |
2 files changed, 19 insertions, 6 deletions
diff --git a/sysutils/ruby-quota/distinfo b/sysutils/ruby-quota/distinfo index b0abd87f480..4a194456257 100644 --- a/sysutils/ruby-quota/distinfo +++ b/sysutils/ruby-quota/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2006/01/25 15:48:50 joerg Exp $ +$NetBSD: distinfo,v 1.9 2006/09/24 15:40:38 joerg Exp $ SHA1 (ruby-quota-0.5.1.tar.gz) = 9edf6054c465af80d7a3534b8fed89fbafc01ec1 RMD160 (ruby-quota-0.5.1.tar.gz) = 85189827a256d0cfeaa0e755db37b85c625c18df Size (ruby-quota-0.5.1.tar.gz) = 5110 bytes SHA1 (patch-aa) = 354277b1f3e174d7de742d965c0b788ec04350a8 -SHA1 (patch-ab) = dff362167380e72a7fc6be4fcb580a10a1e17e87 +SHA1 (patch-ab) = 061755cac0cbed45ed05157cd646c2746f30b71c diff --git a/sysutils/ruby-quota/patches/patch-ab b/sysutils/ruby-quota/patches/patch-ab index 9af9864cfb7..ad45382b299 100644 --- a/sysutils/ruby-quota/patches/patch-ab +++ b/sysutils/ruby-quota/patches/patch-ab @@ -1,8 +1,21 @@ -$NetBSD: patch-ab,v 1.3 2006/01/25 15:48:50 joerg Exp $ +$NetBSD: patch-ab,v 1.4 2006/09/24 15:40:38 joerg Exp $ ---- quota.c.orig 2002-03-30 23:59:12.000000000 +0900 +--- quota.c.orig 2002-03-30 14:59:12.000000000 +0000 +++ quota.c -@@ -159,7 +159,11 @@ rb_quotactl(int cmd, char *dev, VALUE vu +@@ -51,6 +51,12 @@ + #if defined(SYS_UCRED_H) + # include <sys/ucred.h> /* required by NetBSD,FreeBSD */ + #endif ++#if defined(__DragonFly__) ++# include <sys/param.h> ++# if __DragonFly_version >= 160000 ++# define dqblk ufs_dqblk ++# endif ++#endif + #endif + + static VALUE rb_mQuota; +@@ -159,7 +165,11 @@ rb_quotactl(int cmd, char *dev, VALUE vu char *path; int is_gid; uid_t uid; @@ -14,7 +27,7 @@ $NetBSD: patch-ab,v 1.3 2006/01/25 15:48:50 joerg Exp $ int i, count, ret; buff = 0; -@@ -187,12 +191,16 @@ rb_quotactl(int cmd, char *dev, VALUE vu +@@ -187,12 +197,16 @@ rb_quotactl(int cmd, char *dev, VALUE vu static int rb_quotactl(int cmd, char *dev, VALUE vuid, caddr_t addr) { |