diff options
author | marcus <marcus@FreeBSD.org> | 2004-04-07 16:41:05 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-04-07 16:41:05 +0000 |
commit | 149499fcadce5a412306ad2b0b84ded5c705b31c (patch) | |
tree | 20dfd8eac28c2809a1669ed47adc7e45ee5e5339 /devel/libgtop2/files | |
parent | 6abeb607c4e4432f29f5070708c3352eb632dc40 (diff) | |
download | FreeBSD-ports-149499fcadce5a412306ad2b0b84ded5c705b31c.zip FreeBSD-ports-149499fcadce5a412306ad2b0b84ded5c705b31c.tar.gz |
Update to 2.6.0.
Diffstat (limited to 'devel/libgtop2/files')
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_common_fsusage.c | 29 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_common_fsusage.h | 25 |
2 files changed, 0 insertions, 54 deletions
diff --git a/devel/libgtop2/files/patch-sysdeps_common_fsusage.c b/devel/libgtop2/files/patch-sysdeps_common_fsusage.c deleted file mode 100644 index b64ec49..0000000 --- a/devel/libgtop2/files/patch-sysdeps_common_fsusage.c +++ /dev/null @@ -1,29 +0,0 @@ ---- sysdeps/common/fsusage.c.orig Thu Mar 11 15:53:36 2004 -+++ sysdeps/common/fsusage.c Thu Mar 11 15:56:37 2004 -@@ -28,7 +28,7 @@ - # endif - #endif - #ifndef UINTMAX_MAX --# define UINTMAX_MAX ((uintmax_t) -1) -+# define UINTMAX_MAX ((uint64_t) -1) - #endif - - #include <sys/types.h> -@@ -84,7 +84,7 @@ - a uintmax_t value that is all 1 bits if X is all 1 bits, even if X - is unsigned and narrower than uintmax_t. */ - #define PROPAGATE_ALL_ONES(x) \ -- ((sizeof (x) < sizeof (uintmax_t) \ -+ ((sizeof (x) < sizeof (uint64_t) \ - && (~ (x) == (sizeof (x) < sizeof (int) \ - ? - (1 << (sizeof (x) * CHAR_BIT)) \ - : 0))) \ -@@ -92,7 +92,7 @@ - - /* Extract the top bit of X as an uintmax_t value. */ - #define EXTRACT_TOP_BIT(x) ((x) \ -- & ((uintmax_t) 1 << (sizeof (x) * CHAR_BIT - 1))) -+ & ((uint64_t) 1 << (sizeof (x) * CHAR_BIT - 1))) - - /* If a value is negative, many space usage primitives store it into an - integer variable by assignment, even if the variable's type is unsigned. diff --git a/devel/libgtop2/files/patch-sysdeps_common_fsusage.h b/devel/libgtop2/files/patch-sysdeps_common_fsusage.h deleted file mode 100644 index bca23d9..0000000 --- a/devel/libgtop2/files/patch-sysdeps_common_fsusage.h +++ /dev/null @@ -1,25 +0,0 @@ ---- sysdeps/common/fsusage.h.orig Thu Mar 11 15:54:03 2004 -+++ sysdeps/common/fsusage.h Thu Mar 11 15:56:12 2004 -@@ -20,15 +20,17 @@ - #if !defined FSUSAGE_H_ - # define FSUSAGE_H_ - -+#include <sys/types.h> -+ - struct fs_usage - { - int fsu_blocksize; /* Size of a block. */ -- uintmax_t fsu_blocks; /* Total blocks. */ -- uintmax_t fsu_bfree; /* Free blocks available to superuser. */ -- uintmax_t fsu_bavail; /* Free blocks available to non-superuser. */ -+ uint64_t fsu_blocks; /* Total blocks. */ -+ uint64_t fsu_bfree; /* Free blocks available to superuser. */ -+ uint64_t fsu_bavail; /* Free blocks available to non-superuser. */ - int fsu_bavail_top_bit_set; /* 1 if fsu_bavail represents a value < 0. */ -- uintmax_t fsu_files; /* Total file nodes. */ -- uintmax_t fsu_ffree; /* Free file nodes. */ -+ uint64_t fsu_files; /* Total file nodes. */ -+ uint64_t fsu_ffree; /* Free file nodes. */ - }; - - # ifndef PARAMS |