summaryrefslogtreecommitdiffstats
path: root/devel/libgtop2/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-17 13:30:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-17 13:30:48 +0800
commit89d3f531d66a10cde8568aa2b03bba834d1dd911 (patch)
tree81ba4712a7f70046a175c6186251e16202a79abf /devel/libgtop2/files
parent7393489221da112f635b7a32b2fd4729a86dd443 (diff)
downloadmarcuscom-ports-89d3f531d66a10cde8568aa2b03bba834d1dd911.tar
marcuscom-ports-89d3f531d66a10cde8568aa2b03bba834d1dd911.tar.gz
marcuscom-ports-89d3f531d66a10cde8568aa2b03bba834d1dd911.tar.bz2
marcuscom-ports-89d3f531d66a10cde8568aa2b03bba834d1dd911.tar.lz
marcuscom-ports-89d3f531d66a10cde8568aa2b03bba834d1dd911.tar.xz
marcuscom-ports-89d3f531d66a10cde8568aa2b03bba834d1dd911.tar.zst
marcuscom-ports-89d3f531d66a10cde8568aa2b03bba834d1dd911.zip
Update to 2.7.91.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2678 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop2/files')
-rw-r--r--devel/libgtop2/files/patch-sysdeps_common_fsusage.c81
-rw-r--r--devel/libgtop2/files/patch-sysdeps_freebsd_procstate.c11
2 files changed, 11 insertions, 81 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 871b20d94..000000000
--- a/devel/libgtop2/files/patch-sysdeps_common_fsusage.c
+++ /dev/null
@@ -1,81 +0,0 @@
---- sysdeps/common/fsusage.c.orig Tue Jul 20 22:05:56 2004
-+++ sysdeps/common/fsusage.c Tue Jul 20 22:10:04 2004
-@@ -147,6 +147,24 @@
- glibtop_get_fsusage_s (glibtop *server, glibtop_fsusage *buf,
- const char *path)
- {
-+#ifdef STAT_STATFS3_OSF1
-+ struct statfs fsd;
-+#endif
-+#ifdef STAT_STATFS2_FS_DATA
-+ struct fs_data fsd;
-+#endif
-+#ifdef STAT_STATFS2_BSIZE
-+ struct statfs fsd;
-+#endif
-+#ifdef STAT_STATFS2_FSIZE
-+ struct statfs fsd;
-+#endif
-+#ifdef STAT_STATFS4
-+ struct statvfs fsd;
-+#endif
-+#ifdef STAT_STATVFS
-+ struct statvfs fsd;
-+#endif
- glibtop_init_r (&server, 0, 0);
-
- memset (buf, 0, sizeof (glibtop_fsusage));
-@@ -155,8 +173,6 @@
-
- #ifdef STAT_STATFS3_OSF1
-
-- struct statfs fsd;
--
- if (statfs (path, &fsd, sizeof (struct statfs)) != 0)
- return;
-
-@@ -166,8 +182,6 @@
-
- #ifdef STAT_STATFS2_FS_DATA /* Ultrix */
-
-- struct fs_data fsd;
--
- if (statfs (path, &fsd) != 1)
- return;
-
-@@ -183,8 +197,6 @@
-
- #ifdef STAT_STATFS2_BSIZE /* 4.3BSD, SunOS 4, HP-UX, AIX */
-
-- struct statfs fsd;
--
- if (statfs (path, &fsd) < 0)
- return;
-
-@@ -209,8 +221,6 @@
-
- #ifdef STAT_STATFS2_FSIZE /* 4.4BSD */
-
-- struct statfs fsd;
--
- if (statfs (path, &fsd) < 0)
- return;
-
-@@ -224,8 +234,6 @@
- # define f_bavail f_bfree
- # endif
-
-- struct statfs fsd;
--
- if (statfs (path, &fsd, sizeof fsd, 0) < 0)
- return;
-
-@@ -241,8 +249,6 @@
- #endif /* STAT_STATFS4 */
-
- #ifdef STAT_STATVFS /* SVR4 */
--
-- struct statvfs fsd;
-
- if (statvfs (path, &fsd) < 0)
- return;
diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_procstate.c b/devel/libgtop2/files/patch-sysdeps_freebsd_procstate.c
new file mode 100644
index 000000000..dedc32037
--- /dev/null
+++ b/devel/libgtop2/files/patch-sysdeps_freebsd_procstate.c
@@ -0,0 +1,11 @@
+--- sysdeps/freebsd/procstate.c.orig Tue Aug 17 01:27:05 2004
++++ sysdeps/freebsd/procstate.c Tue Aug 17 01:27:20 2004
+@@ -28,7 +28,7 @@
+ #include <glibtop_suid.h>
+
+ #if !defined(__OpenBSD__)
+-//&& (!defined __bsdi__)
++/*&& (!defined __bsdi__)*/
+ #include <sys/user.h>
+ #endif
+