Update to gkrellm-1.2.10

This commit is contained in:
jcs 2002-03-21 02:13:24 +00:00
parent 1db01c5b35
commit bb274e6992
3 changed files with 5 additions and 62 deletions

View File

@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.15 2002/02/26 03:08:57 jcs Exp $
# $OpenBSD: Makefile,v 1.16 2002/03/21 02:13:24 jcs Exp $
DISTNAME= gkrellm-1.2.9
DISTNAME= gkrellm-1.2.10
HOMEPAGE= http://www.gkrellm.net/
COMMENT= "single process stack of system monitors"

View File

@ -1,3 +1,3 @@
MD5 (gkrellm-1.2.9.tar.gz) = f3c24cdd6f552d172790166375358217
RMD160 (gkrellm-1.2.9.tar.gz) = ffe22c0c6ea0220e81d6de00a880996a677af306
SHA1 (gkrellm-1.2.9.tar.gz) = 9d95ff27f4b54c97c036e63668afa5c44558ada3
MD5 (gkrellm-1.2.10.tar.gz) = 7eda794f40dde059edda8e8ea6294753
RMD160 (gkrellm-1.2.10.tar.gz) = e1073e4bf68ea0a8bb47efaf80ce204cc6051d0e
SHA1 (gkrellm-1.2.10.tar.gz) = c2921843dca79c0cfef14734e5688834d4829adf

View File

@ -1,57 +0,0 @@
$OpenBSD: patch-src_fs_c,v 1.1 2002/02/26 01:19:08 jcs Exp $
--- src/fs.c.orig Tue Jan 1 15:08:17 2002
+++ src/fs.c Mon Feb 25 15:35:17 2002
@@ -167,7 +167,7 @@
}
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
static void
eject_bsd_cdrom(gchar *device)
{
@@ -180,7 +180,7 @@
close(d);
}
}
-#endif /* __FreeBSD__ || __NetBSD__ */
+#endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ */
#if defined(__FreeBSD__)
@@ -200,7 +200,7 @@
}
#endif
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__OpenBSD__)
static void
set_eject_command(void)
{
@@ -215,7 +215,7 @@
}
#endif
}
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
/* ----- Linux ------------------------------------------------------ */
@@ -643,16 +643,12 @@
{
uid = getuid(); /* only real root is allowed to mount/umount always */
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
get_mountlist = get_bsd_mounts_list;
get_fsusage = get_statfs_fsusage;
get_fstab_list = get_etc_fstab_list;
eject_cdrom = eject_bsd_cdrom;
set_eject_command();
-#elif defined(__OpenBSD__)
- get_mountlist = get_bsd_mounts_list;
- get_fsusage = get_statfs_fsusage;
- get_fstab_list = get_etc_fstab_list;
#elif defined(__linux__)
get_mountlist = get_linux_proc_mounts_list;
get_fsusage = get_statfs_fsusage;