diff options
author | erwin <erwin@FreeBSD.org> | 2006-09-19 02:13:41 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2006-09-19 02:13:41 +0800 |
commit | ab557900a32d41dfc67a6c5398982854888be6e0 (patch) | |
tree | 63f61fd1d013ff10040d6dabdd7377b8c4019e51 | |
parent | 78c9e4ace3fadc2bfd20ed0d7dd8718025ba15b5 (diff) | |
download | freebsd-ports-gnome-ab557900a32d41dfc67a6c5398982854888be6e0.tar.gz freebsd-ports-gnome-ab557900a32d41dfc67a6c5398982854888be6e0.tar.zst freebsd-ports-gnome-ab557900a32d41dfc67a6c5398982854888be6e0.zip |
Fix for special filesystems and bump PORTREVISION.
PR: 103362
Submitted by: pirzyk (maintainer)
-rw-r--r-- | sysutils/p5-Sys-Filesystem/Makefile | 1 | ||||
-rw-r--r-- | sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem-Freebsd.pm | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/p5-Sys-Filesystem/Makefile b/sysutils/p5-Sys-Filesystem/Makefile index f7eb552c2d89..07e40671a8d9 100644 --- a/sysutils/p5-Sys-Filesystem/Makefile +++ b/sysutils/p5-Sys-Filesystem/Makefile @@ -7,6 +7,7 @@ PORTNAME= Sys-Filesystem PORTVERSION= 1.21 +PORTREVISION= 1 CATEGORIES= sysutils perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Sys diff --git a/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem-Freebsd.pm b/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem-Freebsd.pm index 21bca99b8534..d9eed00ef66e 100644 --- a/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem-Freebsd.pm +++ b/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem-Freebsd.pm @@ -1,5 +1,5 @@ ---- ./lib/Sys/Filesystem/Freebsd.pm.orig Sat Mar 25 14:44:35 2006 -+++ ./lib/Sys/Filesystem/Freebsd.pm Thu Jun 1 14:55:02 2006 +--- ./lib/Sys/Filesystem/Freebsd.pm.orig Mon Sep 18 11:07:46 2006 ++++ ./lib/Sys/Filesystem/Freebsd.pm Mon Sep 18 11:10:30 2006 @@ -26,20 +26,33 @@ use FileHandle; use Carp qw(croak); @@ -18,8 +18,8 @@ + croak "The statfs strucuture changed version (" . &STATFS_VERSION . ")\n"; +} +# unpack format, we want the 3rd and the last 3 fields. -+my $format = 'x8L' . 'x192' . ('A' . &MNAMELEN ) x 3 ; -+ ++my $format = 'x8L' . 'x268' . 'A' . &MFSNAMELEN . ('A' . &MNAMELEN ) x 2 ; ++ sub new { ref(my $class = shift) && croak 'Class name required'; my %args = @_; @@ -33,7 +33,7 @@ my @keys = qw(fs_spec fs_file fs_vfstype fs_mntops fs_freq fs_passno); - my @special_fs = qw(swap proc devpts tmpfs); -+ my @special_fs = qw(swap proc devpts devfs tmpfs); ++ my @special_fs = qw(swap procfs devpts devfs tmpfs); # Read the fstab my $fstab = new FileHandle; |