1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/graphics/xfractint/files/patch-ac
Steve Price 7c7090bbd4 Update to version 3.10.
PR:		14219
Submitted by:	Ade Lovett <ade@lovett.com>
1999-10-10 23:42:47 +00:00

59 lines
1.2 KiB
Plaintext

--- soi.c.orig Mon Sep 6 10:38:10 1999
+++ soi.c Fri Oct 8 18:25:33 1999
@@ -19,7 +19,11 @@
#define DBLS LDBL
#define FABS(x) fabsl(x)
+#ifdef __FreeBSD__
+#define FREXP(x,y) frexp(x,y)
+#else
#define FREXP(x,y) frexpl(x,y)
+#endif
#define TRUE 1
#define FALSE 0
--- unixscr.c.orig Wed Apr 28 23:12:03 1999
+++ unixscr.c Fri Oct 8 18:24:15 1999
@@ -241,7 +241,7 @@
initdacbox();
if (!simple_input) {
- signal(SIGINT,(__sighandler_t)goodbye);
+ signal(SIGINT,(sig_t)goodbye);
}
signal(SIGFPE, fpe_handler);
/*
@@ -2068,12 +2068,12 @@
void
shell_to_dos()
{
- __sighandler_t sigint;
+ sig_t sigint;
char *shell;
char *argv[2];
int pid, donepid;
- sigint = (__sighandler_t)signal(SIGINT, SIG_IGN);
+ sigint = signal(SIGINT, SIG_IGN);
shell = getenv("SHELL");
if (shell==NULL) {
shell = SHELL;
@@ -2121,7 +2121,7 @@
fcntl(0,F_SETFL,FNDELAY);
}
- signal(SIGINT, (__sighandler_t)sigint);
+ signal(SIGINT, sigint);
putchar('\n');
}
@@ -2146,7 +2146,7 @@
int soon;
{
if (!fastmode) return;
- signal(SIGALRM, (__sighandler_t)setredrawscreen);
+ signal(SIGALRM, (sig_t)setredrawscreen);
if (soon) {
alarm(1);
} else {