aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 10:51:55 +0800
committersteve <steve@FreeBSD.org>2000-08-08 10:51:55 +0800
commit490e5b387bf348b7a89b39e8404180c11df8d1fc (patch)
treebe9abb63a96e8a03064bb88391273ed0d601580f
parente9b02aff4029a4e93457ff3e006517cdc6186565 (diff)
downloadfreebsd-ports-gnome-490e5b387bf348b7a89b39e8404180c11df8d1fc.tar.gz
freebsd-ports-gnome-490e5b387bf348b7a89b39e8404180c11df8d1fc.tar.zst
freebsd-ports-gnome-490e5b387bf348b7a89b39e8404180c11df8d1fc.zip
Don't try to use fpresetsticky(3) on the Alpha as it doesn't exist there.
-rw-r--r--graphics/killustrator/files/patch-ad21
-rw-r--r--sysutils/gnome-system-monitor/files/patch-ad14
-rw-r--r--sysutils/gnomesystemmonitor/files/patch-ad14
-rw-r--r--sysutils/gtop/files/patch-ad14
-rw-r--r--x11-fm/fsv/files/patch-aa8
5 files changed, 50 insertions, 21 deletions
diff --git a/graphics/killustrator/files/patch-ad b/graphics/killustrator/files/patch-ad
new file mode 100644
index 000000000000..4575bf91841c
--- /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 <floatingpoint.h>
++#include <ieeefp.h>
+ #endif
+
+ #include <kapp.h>
+@@ -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 a3f3d1a335f3..b94b21823f77 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 <gnome.h>
+ #include <libgnomeui/gnome-window-icon.h>
+#include <floatingpoint.h>
+
#include <glibtop/close.h>
#include <locale.h>
-@@ -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 a3f3d1a335f3..b94b21823f77 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 <gnome.h>
+ #include <libgnomeui/gnome-window-icon.h>
+#include <floatingpoint.h>
+
#include <glibtop/close.h>
#include <locale.h>
-@@ -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 a3f3d1a335f3..b94b21823f77 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 <gnome.h>
+ #include <libgnomeui/gnome-window-icon.h>
+#include <floatingpoint.h>
+
#include <glibtop/close.h>
#include <locale.h>
-@@ -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 16290b139175..77c45d722c16 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;