aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-27 01:25:15 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-27 01:25:15 +0000
commit8bfa82a29e336d08a08141aba1483814db24c97d (patch)
tree6812c27c2f1895ba1882c21a0a8eb50592c3aa95
parentabc02d356f3a98a84246f4bfc378ecef632aee35 (diff)
downloadports-8bfa82a29e336d08a08141aba1483814db24c97d.tar.gz
ports-8bfa82a29e336d08a08141aba1483814db24c97d.zip
Notes
-rw-r--r--sysutils/p5-File-Stat-Bits/Makefile2
-rw-r--r--sysutils/p5-File-Stat-Bits/distinfo6
-rw-r--r--sysutils/p5-File-Stat-Bits/files/patch-t-gen-stat.c26
3 files changed, 30 insertions, 4 deletions
diff --git a/sysutils/p5-File-Stat-Bits/Makefile b/sysutils/p5-File-Stat-Bits/Makefile
index ee63ca446e51..141bfe160aeb 100644
--- a/sysutils/p5-File-Stat-Bits/Makefile
+++ b/sysutils/p5-File-Stat-Bits/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= File-Stat-Bits
-PORTVERSION= 0.18
+PORTVERSION= 1.00
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
diff --git a/sysutils/p5-File-Stat-Bits/distinfo b/sysutils/p5-File-Stat-Bits/distinfo
index 450a3ae2bfdb..dc89b20e6ffb 100644
--- a/sysutils/p5-File-Stat-Bits/distinfo
+++ b/sysutils/p5-File-Stat-Bits/distinfo
@@ -1,3 +1,3 @@
-MD5 (File-Stat-Bits-0.18.tar.gz) = e2cdccb316a06bb4d28d7c69f121ef9e
-SHA256 (File-Stat-Bits-0.18.tar.gz) = d03004fa39ae8a9817a7bbefcec29fdcfd19e5a497214009f4d21c59ccc14e78
-SIZE (File-Stat-Bits-0.18.tar.gz) = 9128
+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
diff --git a/sysutils/p5-File-Stat-Bits/files/patch-t-gen-stat.c b/sysutils/p5-File-Stat-Bits/files/patch-t-gen-stat.c
new file mode 100644
index 000000000000..cbef723d6798
--- /dev/null
+++ b/sysutils/p5-File-Stat-Bits/files/patch-t-gen-stat.c
@@ -0,0 +1,26 @@
+--- 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;
+ }
+
+