From 490e5b387bf348b7a89b39e8404180c11df8d1fc Mon Sep 17 00:00:00 2001 From: steve Date: Tue, 8 Aug 2000 02:51:55 +0000 Subject: Don't try to use fpresetsticky(3) on the Alpha as it doesn't exist there. --- graphics/killustrator/files/patch-ad | 21 +++++++++++++++++++++ sysutils/gnome-system-monitor/files/patch-ad | 14 ++++++++------ sysutils/gnomesystemmonitor/files/patch-ad | 14 ++++++++------ sysutils/gtop/files/patch-ad | 14 ++++++++------ x11-fm/fsv/files/patch-aa | 8 +++++--- 5 files changed, 50 insertions(+), 21 deletions(-) create mode 100644 graphics/killustrator/files/patch-ad diff --git a/graphics/killustrator/files/patch-ad b/graphics/killustrator/files/patch-ad new file mode 100644 index 00000000000..4575bf91841 --- /dev/null +++ b/graphics/killustrator/files/patch-ad @@ -0,0 +1,21 @@ +--- standalone/main.cc.orig Sun Aug 6 21:58:28 2000 ++++ standalone/main.cc Sun Aug 6 21:59:58 2000 +@@ -31,7 +31,7 @@ + #endif + + #ifdef __FreeBSD__ +-#include ++#include + #endif + + #include +@@ -141,7 +141,9 @@ + int retval = app->exec (); + + #ifdef __FreeBSD__ ++#ifndef __alpha__ + fpresetsticky (FP_X_DZ|FP_X_INV); ++#endif + fpsetmask (FP_X_DZ|FP_X_INV); + #endif + diff --git a/sysutils/gnome-system-monitor/files/patch-ad b/sysutils/gnome-system-monitor/files/patch-ad index a3f3d1a335f..b94b21823f7 100644 --- a/sysutils/gnome-system-monitor/files/patch-ad +++ b/sysutils/gnome-system-monitor/files/patch-ad @@ -1,15 +1,15 @@ ---- main.c.orig Sun Feb 13 16:27:56 2000 -+++ main.c Thu Feb 17 12:07:45 2000 -@@ -32,6 +32,8 @@ - +--- main.c.orig Mon May 22 13:25:21 2000 ++++ main.c Sun Aug 6 21:01:42 2000 +@@ -33,6 +33,8 @@ #include + #include +#include + #include #include -@@ -205,6 +207,8 @@ +@@ -206,6 +208,8 @@ poptContext ctx; const char **args; @@ -18,12 +18,14 @@ setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, GNOMELOCALEDIR); textdomain (PACKAGE); -@@ -294,6 +298,9 @@ +@@ -295,6 +299,11 @@ gtop_properties.global.show_toolbar); gnome_config_sync (); } + ++#ifndef __alpha__ + fpresetsticky (FP_X_DZ|FP_X_INV); ++#endif + fpsetmask (FP_X_DZ|FP_X_INV); return 0; diff --git a/sysutils/gnomesystemmonitor/files/patch-ad b/sysutils/gnomesystemmonitor/files/patch-ad index a3f3d1a335f..b94b21823f7 100644 --- a/sysutils/gnomesystemmonitor/files/patch-ad +++ b/sysutils/gnomesystemmonitor/files/patch-ad @@ -1,15 +1,15 @@ ---- main.c.orig Sun Feb 13 16:27:56 2000 -+++ main.c Thu Feb 17 12:07:45 2000 -@@ -32,6 +32,8 @@ - +--- main.c.orig Mon May 22 13:25:21 2000 ++++ main.c Sun Aug 6 21:01:42 2000 +@@ -33,6 +33,8 @@ #include + #include +#include + #include #include -@@ -205,6 +207,8 @@ +@@ -206,6 +208,8 @@ poptContext ctx; const char **args; @@ -18,12 +18,14 @@ setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, GNOMELOCALEDIR); textdomain (PACKAGE); -@@ -294,6 +298,9 @@ +@@ -295,6 +299,11 @@ gtop_properties.global.show_toolbar); gnome_config_sync (); } + ++#ifndef __alpha__ + fpresetsticky (FP_X_DZ|FP_X_INV); ++#endif + fpsetmask (FP_X_DZ|FP_X_INV); return 0; diff --git a/sysutils/gtop/files/patch-ad b/sysutils/gtop/files/patch-ad index a3f3d1a335f..b94b21823f7 100644 --- a/sysutils/gtop/files/patch-ad +++ b/sysutils/gtop/files/patch-ad @@ -1,15 +1,15 @@ ---- main.c.orig Sun Feb 13 16:27:56 2000 -+++ main.c Thu Feb 17 12:07:45 2000 -@@ -32,6 +32,8 @@ - +--- main.c.orig Mon May 22 13:25:21 2000 ++++ main.c Sun Aug 6 21:01:42 2000 +@@ -33,6 +33,8 @@ #include + #include +#include + #include #include -@@ -205,6 +207,8 @@ +@@ -206,6 +208,8 @@ poptContext ctx; const char **args; @@ -18,12 +18,14 @@ setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, GNOMELOCALEDIR); textdomain (PACKAGE); -@@ -294,6 +298,9 @@ +@@ -295,6 +299,11 @@ gtop_properties.global.show_toolbar); gnome_config_sync (); } + ++#ifndef __alpha__ + fpresetsticky (FP_X_DZ|FP_X_INV); ++#endif + fpsetmask (FP_X_DZ|FP_X_INV); return 0; diff --git a/x11-fm/fsv/files/patch-aa b/x11-fm/fsv/files/patch-aa index 16290b13917..77c45d722c1 100644 --- a/x11-fm/fsv/files/patch-aa +++ b/x11-fm/fsv/files/patch-aa @@ -1,5 +1,5 @@ ---- src/fsv.c.orig Sun Feb 13 02:03:57 2000 -+++ src/fsv.c Sun Feb 13 02:06:19 2000 +--- src/fsv.c.orig Wed Jan 26 20:49:55 2000 ++++ src/fsv.c Sun Aug 6 19:14:34 2000 @@ -26,6 +26,9 @@ #include "common.h" #include "fsv.h" @@ -21,12 +21,14 @@ /* Initialize global variables */ globals.fstree = NULL; globals.history = NULL; -@@ -311,6 +318,10 @@ +@@ -311,6 +318,12 @@ gtk_main( ); +#ifdef __FreeBSD__ ++#ifndef __alpha__ + fpresetsticky(FP_X_DZ|FP_X_INV); ++#endif + fpsetmask(FP_X_DZ|FP_X_INV); +#endif return 0; -- cgit