aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/p5-File-Stat-Bits
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-06-27 09:25:15 +0800
committeraaron <aaron@FreeBSD.org>2006-06-27 09:25:15 +0800
commitbc4990a4aef240933120069b1c4c9ec76d946087 (patch)
tree790d91a5d22d86631d07e1ae9782eb4eba3de71d /sysutils/p5-File-Stat-Bits
parent9bb5045bdf67b7eabd77e3d03cc46fb31b9388ed (diff)
downloadfreebsd-ports-graphics-bc4990a4aef240933120069b1c4c9ec76d946087.tar.gz
freebsd-ports-graphics-bc4990a4aef240933120069b1c4c9ec76d946087.tar.zst
freebsd-ports-graphics-bc4990a4aef240933120069b1c4c9ec76d946087.zip
- Update to 1.00
PR: ports/99455 Submitted by: aaron Reviewed by: maintainer Approved by: maintainer, tobez (implicit)
Diffstat (limited to 'sysutils/p5-File-Stat-Bits')
-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 ee63ca446e5..141bfe160ae 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 450a3ae2bfd..dc89b20e6ff 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 00000000000..cbef723d679
--- /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;
+ }
+
+