Update to 1.01.

PR:		ports/121013
Approved by:	maintainer
This commit is contained in:
Xin LI 2008-02-25 20:45:41 +00:00
parent d92248b037
commit 411b08de07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207897
3 changed files with 5 additions and 32 deletions

View file

@ -6,10 +6,9 @@
#
PORTNAME= File-Stat-Bits
PORTVERSION= 1.00
PORTVERSION= 1.01
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= pirzyk@FreeBSD.org

View file

@ -1,3 +1,3 @@
MD5 (File-Stat-Bits-1.00.tar.gz) = 47d6b70c25f26b0bde98d047bf803045
SHA256 (File-Stat-Bits-1.00.tar.gz) = 013d3506e9ac029a255be952dcf87cdd466c7c696634e588baae861692075a7a
SIZE (File-Stat-Bits-1.00.tar.gz) = 9256
MD5 (File-Stat-Bits-1.01.tar.gz) = 9c726b544895267e3e97f09e64793afe
SHA256 (File-Stat-Bits-1.01.tar.gz) = bd2442b0407a580b8bc094fe8e02c26bd2cb56936d1bf22f62da2fcbdbf692fb
SIZE (File-Stat-Bits-1.01.tar.gz) = 9348

View file

@ -1,26 +0,0 @@
--- t/gen-stat.c.orig Sun May 21 04:19:35 2006
+++ t/gen-stat.c Sun Jun 25 10:29:33 2006
@@ -13,11 +13,6 @@
#include <sys/stat.h>
#include <sys/types.h>
-#ifdef _HAVE_SYS_SYSMACROS_H
-# include <sys/sysmacros.h>
-#endif
-
-
#undef P
#undef CONCAT
#undef CONCAT1
@@ -126,8 +121,9 @@
*_shift=shift;
- for(*_mask=0; mask=MASK(shift), f(mask) != 0; ++shift)
- *_mask |= mask;
+ for(*_mask=0; mask=MASK(shift), shift < sizeof mask * 8; ++shift)
+ if ( f(mask) != 0 )
+ *_mask |= mask;
}