Improve portability (NULL v.s. 0).

Bump PKGREVISION.
This commit is contained in:
taca 2010-03-21 14:49:10 +00:00
parent 6809fd0575
commit 161f580ba2
3 changed files with 15 additions and 6 deletions

View file

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.16 2009/10/27 15:29:32 taca Exp $
# $NetBSD: Makefile,v 1.17 2010/03/21 14:49:10 taca Exp $
#
DISTNAME= ruby-quota-0.5.1
PKGNAME= ${RUBY_PKGPREFIX}-quota-0.5.1
PKGREVISION= 7
PKGREVISION= 8
CATEGORIES= sysutils ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-quota/}

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.10 2009/10/27 15:29:32 taca Exp $
$NetBSD: distinfo,v 1.11 2010/03/21 14:49:10 taca 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) = 651521b6e9945320623f9c8abff27b705bb476b6
SHA1 (patch-ab) = ffabc13dbc6fb6744daa3d49478f42847c941f81
SHA1 (patch-ab) = 4aea976d528b940d8f133cb4dbbee26219f510e0

View file

@ -1,6 +1,6 @@
$NetBSD: patch-ab,v 1.5 2009/10/27 15:29:33 taca Exp $
$NetBSD: patch-ab,v 1.6 2010/03/21 14:49:10 taca 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
@@ -5,9 +5,13 @@
@ -99,6 +99,15 @@ $NetBSD: patch-ab,v 1.5 2009/10/27 15:29:33 taca Exp $
UINT2NUM(c_dqb->dqb_curspace),
#else
UINT2NUM(c_dqb->dqb_curblocks),
@@ -442,7 +468,7 @@ Init_quota()
"curinodes",
"btimelimit",
"itimelimit",
- 0);
+ NULL);
/* for compatibility */
#define DQ_ALIAS(a,b) rb_alias(rb_sDiskQuota,rb_intern(#a),rb_intern(#b))
@@ -454,7 +480,7 @@ Init_quota()
DQ_ALIAS(fsoftlimit=, isoftlimit=);
DQ_ALIAS(curfiles=, curinodes=);