diff options
author | vanilla <vanilla@FreeBSD.org> | 1999-01-01 14:44:36 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1999-01-01 14:44:36 +0800 |
commit | 7197f401dc8b96a4b97e316af067974d6b2fd013 (patch) | |
tree | fd8c5656d7ac0195722b40fe297584d5f5d89cb2 /sysutils/gnome-system-monitor/files | |
parent | b626b5f9e216fddc038611aecce94508b6db7bc5 (diff) | |
download | freebsd-ports-gnome-7197f401dc8b96a4b97e316af067974d6b2fd013.tar.gz freebsd-ports-gnome-7197f401dc8b96a4b97e316af067974d6b2fd013.tar.zst freebsd-ports-gnome-7197f401dc8b96a4b97e316af067974d6b2fd013.zip |
Upgrade to 0.99.0
Diffstat (limited to 'sysutils/gnome-system-monitor/files')
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-ad | 47 |
1 files changed, 19 insertions, 28 deletions
diff --git a/sysutils/gnome-system-monitor/files/patch-ad b/sysutils/gnome-system-monitor/files/patch-ad index dae8865cf55e..dd288606ce6a 100644 --- a/sysutils/gnome-system-monitor/files/patch-ad +++ b/sysutils/gnome-system-monitor/files/patch-ad @@ -1,40 +1,31 @@ ---- main.c.orig Sun Sep 27 22:47:58 1998 -+++ main.c Wed Oct 14 02:36:27 1998 -@@ -2,7 +2,7 @@ - - /* - * gtop - gnome system monitor - * Copyright (C) 1997,98 Radek Doulík - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -31,6 +31,8 @@ +--- main.c.orig Thu Dec 17 05:10:26 1998 ++++ main.c Fri Jan 1 13:55:58 1999 +@@ -32,6 +32,8 @@ #include <gnome.h> +#include <floatingpoint.h> + - GtkWidget *window; - GtkWidget *notebook; - GtkNotebookPage *offPage; -@@ -273,8 +275,11 @@ - int - main (int argc, char *argv[]) - { -+ - GnomeClient *client; + #include <glibtop/close.h> -+ fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV)); -+ - argp_program_version = VERSION; + #include <assert.h> +@@ -149,6 +151,8 @@ + poptContext ctx; + char **args; ++ fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV)); ++ bindtextdomain (PACKAGE, GNOMELOCALEDIR); -@@ -363,5 +368,8 @@ - /* enter gtk main */ + textdomain (PACKAGE); + +@@ -256,6 +260,9 @@ gtk_main (); - -+ fpresetsticky(FP_X_DZ|FP_X_INV); -+ fpsetmask(FP_X_DZ|FP_X_INV); + + glibtop_close (); +- ++ ++ fpresetsticky (FP_X_DZ|FP_X_INV); ++ fpsetmask (FP_X_DZ|FP_X_INV); + return 0; } |