diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-17 13:30:48 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-17 13:30:48 +0800 |
commit | 89d3f531d66a10cde8568aa2b03bba834d1dd911 (patch) | |
tree | 81ba4712a7f70046a175c6186251e16202a79abf /devel/libgtop2 | |
parent | 7393489221da112f635b7a32b2fd4729a86dd443 (diff) | |
download | marcuscom-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')
-rw-r--r-- | devel/libgtop2/Makefile | 3 | ||||
-rw-r--r-- | devel/libgtop2/distinfo | 4 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_common_fsusage.c | 81 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_freebsd_procstate.c | 11 |
4 files changed, 14 insertions, 85 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile index d349ef247..79f19f48b 100644 --- a/devel/libgtop2/Makefile +++ b/devel/libgtop2/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libgtop2 -PORTVERSION= 2.7.90 -PORTREVISION= 1 +PORTVERSION= 2.7.91 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.7 diff --git a/devel/libgtop2/distinfo b/devel/libgtop2/distinfo index bac1ddaec..d3a236df4 100644 --- a/devel/libgtop2/distinfo +++ b/devel/libgtop2/distinfo @@ -1,2 +1,2 @@ -MD5 (gnome2/libgtop-2.7.90.tar.bz2) = 3a8b95faabeaeb3655be76948f694833 -SIZE (gnome2/libgtop-2.7.90.tar.bz2) = 1018762 +MD5 (gnome2/libgtop-2.7.91.tar.bz2) = 7b23a6fb735e7de9fc0b368801d2c5df +SIZE (gnome2/libgtop-2.7.91.tar.bz2) = 1019157 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 + |