aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xfractint/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-10-11 07:42:47 +0800
committersteve <steve@FreeBSD.org>1999-10-11 07:42:47 +0800
commitd2a16efeea02bf446705b3e93b678d73d45ec482 (patch)
tree1ed9048981da4d026247ec996d1d97c2c9cc43e6 /graphics/xfractint/files
parent92f8a9abe9d0c3a6d1b3988bd90c776a2a1a55a0 (diff)
downloadfreebsd-ports-gnome-d2a16efeea02bf446705b3e93b678d73d45ec482.tar.gz
freebsd-ports-gnome-d2a16efeea02bf446705b3e93b678d73d45ec482.tar.zst
freebsd-ports-gnome-d2a16efeea02bf446705b3e93b678d73d45ec482.zip
Update to version 3.10.
PR: 14219 Submitted by: Ade Lovett <ade@lovett.com>
Diffstat (limited to 'graphics/xfractint/files')
-rw-r--r--graphics/xfractint/files/patch-aa33
-rw-r--r--graphics/xfractint/files/patch-ab16
-rw-r--r--graphics/xfractint/files/patch-ac58
3 files changed, 78 insertions, 29 deletions
diff --git a/graphics/xfractint/files/patch-aa b/graphics/xfractint/files/patch-aa
index 4fa03cfc7303..85a4c8345df1 100644
--- a/graphics/xfractint/files/patch-aa
+++ b/graphics/xfractint/files/patch-aa
@@ -1,39 +1,30 @@
---- Makefile.orig Sat May 10 02:20:54 1997
-+++ Makefile Tue Oct 7 13:39:00 1997
-@@ -5,11 +5,11 @@
+--- Makefile.orig Sat Sep 11 20:32:16 1999
++++ Makefile Fri Oct 8 18:18:25 1999
+@@ -2,11 +2,11 @@
# SRCDIR should be a path to the directory that will hold fractint.hlp
# You will have to copy fractint.hlp to SRCDIR and make it world readable.
# SRCDIR should also hold the .par, .frm, etc. files
--SRCDIR = /usr/local/bin/X11/fractint
-+SRCDIR = ${PREFIX}/lib/fractint
+-SRCDIR = /usr/src/xfractint
++SRCDIR = ${PREFIX}/lib/fractint
# BINDIR is where you put your X11 binaries
--BINDIR = /usr/local/bin/X11
+-BINDIR = /usr/X11R6/bin
+BINDIR = ${PREFIX}/bin
# MANDIR is where you put your chapter 1 man pages
--MANDIR = /usr/local/man/man1
+-MANDIR = /usr/X11R6/man/man1
+MANDIR = ${PREFIX}/man/man1
NOBSTRING =
HAVESTRI =
-@@ -28,7 +28,7 @@
- # prompts2.c to "#else".
- #
-
--#NOBSTRING = -DNOBSTRING
-+NOBSTRING = -DNOBSTRING
- #HAVESTRI = -DHAVESTRI
- #DEBUG adds some sanity checking but will slow xfractint down
- #DEBUG = -DEBUG
-@@ -53,7 +53,7 @@
+@@ -51,7 +51,7 @@
#For Solaris, use CFLAGS = -I. -I/usr/openwin/include $(DEFINES) -g
#CFLAGS = -I. -D_CONST $(DEFINES)
--CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX
+-CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX
+CFLAGS += -I. $(DEFINES) -DBIG_ANSI_C -I${X11BASE}/include
# Gcc is often the only compiler that works for this
# For HPUX, use CC = cc -Aa -D_HPUX_SOURCE
-@@ -70,8 +70,8 @@
+@@ -68,8 +68,8 @@
# For Apollo, change -lX11 to -L/usr/X11/libX11
# For Solaris, add -L/usr/openwin/lib
# For Linux, use
@@ -44,7 +35,7 @@
#LIBS = -lX11 -lm -lcurses -ltermcap
# HPUX fixes thanks to David Allport, Bill Broadley, and R. Lloyd.
-@@ -149,6 +149,8 @@
+@@ -166,6 +166,8 @@
.SUFFIXES:
.SUFFIXES: .o .c .s .h
@@ -53,7 +44,7 @@
xfractint: fractint.hlp .WAIT $(OBJS)
$(CC) -o xfractint $(CFLAGS) $(OBJS) $(LIBS)
# strip xfractint
-@@ -166,6 +168,12 @@
+@@ -183,6 +185,12 @@
cp xfractint $(BINDIR)/xfractint
strip $(BINDIR)/xfractint
chmod a+x $(BINDIR)/xfractint
diff --git a/graphics/xfractint/files/patch-ab b/graphics/xfractint/files/patch-ab
index 22c697d6d2c3..8baa4a66376e 100644
--- a/graphics/xfractint/files/patch-ab
+++ b/graphics/xfractint/files/patch-ab
@@ -1,15 +1,15 @@
---- port.h.orig Fri Feb 28 05:21:13 1997
-+++ port.h Tue Oct 7 13:27:56 1997
-@@ -40,7 +40,7 @@
- /* If endian.h is not present, it can be handled in the code below, */
- /* but if you have this file, it can make it more fool proof. */
- #if (defined(XFRACT) && !defined(__sun))
+--- port.h.orig Mon Sep 6 10:38:10 1999
++++ port.h Fri Oct 8 18:19:32 1999
+@@ -45,7 +45,7 @@
+ #if defined(sgi)
+ #include <sys/endian.h>
+ #else
-#include <endian.h>
+#include <machine/endian.h>
#endif
+ #endif
#ifndef BIG_ENDIAN
- #define BIG_ENDIAN 4321 /* to show byte order (taken from gcc) */
-@@ -282,6 +282,9 @@
+@@ -288,6 +288,9 @@
#define DO_NOT_USE_LONG_DOUBLE
#endif
#ifdef sun
diff --git a/graphics/xfractint/files/patch-ac b/graphics/xfractint/files/patch-ac
new file mode 100644
index 000000000000..9c7273250166
--- /dev/null
+++ b/graphics/xfractint/files/patch-ac
@@ -0,0 +1,58 @@
+--- 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 {