View | Details | Raw Unified | Return to bug 203360
Collapse All | Expand All

(-)graphics/xfractint/Makefile (-10 / +7 lines)
Lines 2-31 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	xfractint
4
PORTNAME=	xfractint
5
PORTVERSION=	20.04p12
5
PORTVERSION=	20.04p14
6
PORTREVISION=	1
7
CATEGORIES=	graphics
6
CATEGORIES=	graphics
8
MASTER_SITES=	http://www.fractint.org/ftp/current/linux/	\
7
MASTER_SITES=	http://www.fractint.org/ftp/current/linux/	\
9
		http://twegner.dyndns.org/fractint/ftp/current/linux/
8
		http://twegner.dyndns.org/fractint/ftp/current/linux/
10
9
11
MAINTAINER=	onemda@gmail.com
10
MAINTAINER=	onemda@gmail.com
12
COMMENT=	The Unix port of fractint
11
COMMENT=	Unix port of fractint
13
12
14
BROKEN=		No public distfiles
15
16
USES=		gmake
13
USES=		gmake
17
USE_XORG=	x11 xft
14
USE_XORG=	x11 xft
18
15
19
ALL_TARGET=	${PORTNAME}
16
ALL_TARGET=	${PORTNAME}
20
17
21
DESKTOP_ENTRIES+="Xfracint" "${COMMENT}" "" "${PORTNAME}" "" "false"
18
DESKTOP_ENTRIES+="Xfracint" "${COMMENT}" "" "${PORTNAME}" "" ${FALSE}
22
19
23
do-install:
20
do-install:
24
	@${INSTALL_PROGRAM} ${WRKSRC}/xfractint ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
21
	${INSTALL_PROGRAM} ${WRKSRC}/xfractint ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
25
	@${INSTALL_MAN} ${WRKSRC}/unix/xfractint.man ${STAGEDIR}${PREFIX}/man/man1/${MAN1}
22
	${INSTALL_MAN} ${WRKSRC}/unix/xfractint.man ${STAGEDIR}${PREFIX}/man/man1/${MAN1}
26
	@${MKDIR} ${STAGEDIR}${DATADIR}
23
	@${MKDIR} ${STAGEDIR}${DATADIR}
27
	@${INSTALL_DATA} ${WRKSRC}/fractint.hlp ${STAGEDIR}${DATADIR}
24
	${INSTALL_DATA} ${WRKSRC}/fractint.hlp ${STAGEDIR}${DATADIR}
28
	@${INSTALL_DATA} ${WRKSRC}/sstools.ini ${STAGEDIR}${DATADIR}
25
	${INSTALL_DATA} ${WRKSRC}/sstools.ini ${STAGEDIR}${DATADIR}
29
.for dir in formulas ifs lsystem maps pars
26
.for dir in formulas ifs lsystem maps pars
30
	@cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR}
27
	@cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR}
31
.endfor
28
.endfor
(-)graphics/xfractint/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (xfractint-20.04p12.tar.gz) = e81affa9d3b3826f14502cedf1fc4a4dd41bcfa71ba32f8e4224748c5b9c69e0
1
SHA256 (xfractint-20.04p14.tar.gz) = 0e2856e596a44f5a8dbd4cb389683ead484776cdba4cce75c6c2a09f86c9b849
2
SIZE (xfractint-20.04p12.tar.gz) = 1335480
2
SIZE (xfractint-20.04p14.tar.gz) = 1336285
(-)graphics/xfractint/files/patch-Makefile (-7 / +7 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	2011-05-08 14:39:40.000000000 -0500
1
--- Makefile.orig	2014-05-03 13:12:33 UTC
2
+++ Makefile	2012-03-10 17:22:45.000000000 -0500
2
+++ Makefile
3
@@ -20,7 +20,7 @@
3
@@ -20,7 +20,7 @@ NCURSES =
4
 
4
 
5
 # Use Xft/fontconfig libraries
5
 # Use Xft/fontconfig libraries
6
 WITHXFT = -DWITH_XFT
6
 WITHXFT = -DWITH_XFT
Lines 9-15 Link Here
9
 # Or not
9
 # Or not
10
 # WITHXFT =
10
 # WITHXFT =
11
 # XFTHFD =
11
 # XFTHFD =
12
@@ -34,7 +34,7 @@
12
@@ -34,7 +34,7 @@ endif
13
 
13
 
14
 # SRCDIR should be a path to the directory that will hold fractint.hlp
14
 # SRCDIR should be a path to the directory that will hold fractint.hlp
15
 # SRCDIR should also hold the .par, .frm, etc. files
15
 # SRCDIR should also hold the .par, .frm, etc. files
Lines 18-24 Link Here
18
 SHRDIR = $(PREFIX)/share/xfractint
18
 SHRDIR = $(PREFIX)/share/xfractint
19
 # BINDIR is where you put your X11 binaries
19
 # BINDIR is where you put your X11 binaries
20
 BINDIR = $(DESTDIR)/bin
20
 BINDIR = $(DESTDIR)/bin
21
@@ -123,22 +123,18 @@
21
@@ -123,22 +123,18 @@ AFLAGS = -f elf -w+orphan-labels
22
 #For Solaris, use CFLAGS = -I. -I/usr/openwin/include $(DEFINES) -g
22
 #For Solaris, use CFLAGS = -I. -I/usr/openwin/include $(DEFINES) -g
23
 #If you have the nasm assembler on your system add -DNASM to CFLAGS
23
 #If you have the nasm assembler on your system add -DNASM to CFLAGS
24
 
24
 
Lines 42-48 Link Here
42
 
42
 
43
 # Gcc is often the only compiler that works for this
43
 # Gcc is often the only compiler that works for this
44
 # For HPUX, use CC = cc -Aa -D_HPUX_SOURCE
44
 # For HPUX, use CC = cc -Aa -D_HPUX_SOURCE
45
@@ -147,7 +143,6 @@
45
@@ -147,7 +143,6 @@ endif
46
 # For Sun Solaris 2.x w/SparcCompilerC (cc), use CC = cc.
46
 # For Sun Solaris 2.x w/SparcCompilerC (cc), use CC = cc.
47
 # For Sun Solaris 2.x w/GNU gcc, use CC = gcc
47
 # For Sun Solaris 2.x w/GNU gcc, use CC = gcc
48
 #CC = gcc
48
 #CC = gcc
Lines 50-56 Link Here
50
 
50
 
51
 # For HPUX, use LIBS = -L/usr/lib/X11R4 -lX11 -lm -lcurses -ltermcap
51
 # For HPUX, use LIBS = -L/usr/lib/X11R4 -lX11 -lm -lcurses -ltermcap
52
 # For AIX or OSF/1, add -lbsd
52
 # For AIX or OSF/1, add -lbsd
53
@@ -159,11 +154,7 @@
53
@@ -159,11 +154,7 @@ CC = /usr/bin/gcc
54
 # LIBS = -L/usr/X11R6/lib -lX11 -lm -lncurses
54
 # LIBS = -L/usr/X11R6/lib -lX11 -lm -lncurses
55
 # LIBS = -lX11 -lm -lcurses
55
 # LIBS = -lX11 -lm -lcurses
56
 
56
 
(-)graphics/xfractint/files/patch-common__biginit.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- common/biginit.c.orig	2011-05-07 15:28:14.000000000 -0500
1
--- common/biginit.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/biginit.c	2012-03-10 17:13:34.000000000 -0500
2
+++ common/biginit.c
3
@@ -9,7 +9,7 @@
3
@@ -9,7 +9,7 @@ is in the allocations of memory for the 
4
 #include <string.h>
4
 #include <string.h>
5
 #ifdef __APPLE__
5
 #ifdef __APPLE__
6
 #include <malloc/malloc.h>
6
 #include <malloc/malloc.h>
(-)graphics/xfractint/files/patch-common__fractalb.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- common/fractalb.c.orig	2011-05-07 15:31:02.000000000 -0500
1
--- common/fractalb.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/fractalb.c	2012-03-10 16:31:30.000000000 -0500
2
+++ common/fractalb.c
3
@@ -12,7 +12,7 @@
3
@@ -12,7 +12,7 @@ fractal routines.
4
 #include <alloc.h>
4
 #include <alloc.h>
5
 #elif defined(__APPLE__)
5
 #elif defined(__APPLE__)
6
 #include <malloc/malloc.h>
6
 #include <malloc/malloc.h>
(-)graphics/xfractint/files/patch-common__fractals.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- common/fractals.c.orig	2011-05-08 11:47:58.000000000 -0500
1
--- common/fractals.c.orig	2015-01-19 18:35:16 UTC
2
+++ common/fractals.c	2012-03-10 16:33:40.000000000 -0500
2
+++ common/fractals.c
3
@@ -43,7 +43,7 @@
3
@@ -43,7 +43,7 @@ an appropriate setup, per_image, per_pix
4
 #include <alloc.h>
4
 #include <alloc.h>
5
 #elif defined(__APPLE__)
5
 #elif defined(__APPLE__)
6
 #include <malloc/malloc.h>
6
 #include <malloc/malloc.h>
(-)graphics/xfractint/files/patch-common__frasetup.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/frasetup.c.orig	2011-05-07 15:32:06.000000000 -0500
1
--- common/frasetup.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/frasetup.c	2012-03-10 16:35:22.000000000 -0500
2
+++ common/frasetup.c
3
@@ -4,7 +4,7 @@
3
@@ -4,7 +4,7 @@
4
 #include <alloc.h>
4
 #include <alloc.h>
5
 #elif defined(__APPLE__)
5
 #elif defined(__APPLE__)
(-)graphics/xfractint/files/patch-common__lsys.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/lsys.c.orig	2011-05-07 15:34:46.000000000 -0500
1
--- common/lsys.c.orig	2015-01-19 18:35:16 UTC
2
+++ common/lsys.c	2012-03-10 16:37:40.000000000 -0500
2
+++ common/lsys.c
3
@@ -4,7 +4,7 @@
3
@@ -4,7 +4,7 @@
4
 #include <alloc.h>
4
 #include <alloc.h>
5
 #elif defined(__APPLE__)
5
 #elif defined(__APPLE__)
(-)graphics/xfractint/files/patch-common__lsysf.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/lsysf.c.orig	2011-05-07 15:35:02.000000000 -0500
1
--- common/lsysf.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/lsysf.c	2012-03-10 16:50:40.000000000 -0500
2
+++ common/lsysf.c
3
@@ -3,7 +3,7 @@
3
@@ -3,7 +3,7 @@
4
 #include <alloc.h>
4
 #include <alloc.h>
5
 #elif defined(__APPLE__)
5
 #elif defined(__APPLE__)
(-)graphics/xfractint/files/patch-common__memory.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/memory.c.orig	2012-03-10 16:57:05.000000000 -0500
1
--- common/memory.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/memory.c	2012-03-10 16:57:36.000000000 -0500
2
+++ common/memory.c
3
@@ -2,7 +2,7 @@
3
@@ -2,7 +2,7 @@
4
 #include <limits.h>
4
 #include <limits.h>
5
 #ifdef __APPLE__
5
 #ifdef __APPLE__
(-)graphics/xfractint/files/patch-common__miscres.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/miscres.c.orig	2011-05-08 10:19:52.000000000 -0500
1
--- common/miscres.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/miscres.c	2012-03-10 16:58:44.000000000 -0500
2
+++ common/miscres.c
3
@@ -7,7 +7,7 @@
3
@@ -7,7 +7,7 @@
4
 #include <time.h>
4
 #include <time.h>
5
 #ifdef __APPLE__
5
 #ifdef __APPLE__
(-)graphics/xfractint/files/patch-common__mpmath_c.c (-11 lines)
Lines 1-11 Link Here
1
--- common/mpmath_c.c.orig	2012-03-10 17:28:37.000000000 -0500
2
+++ common/mpmath_c.c	2012-03-10 17:34:32.000000000 -0500
3
@@ -220,7 +220,7 @@
4
       if(t.x < -690)
5
          e2x = 0.0;
6
       else
7
-         e2x = expl(t.x);
8
+         e2x = exp(t.x);
9
 #ifdef XFRACT
10
       if (isnan(e2x) || isinf(e2x))
11
          e2x = 1.0;
(-)graphics/xfractint/files/patch-common__prompts1.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/prompts1.c.orig	2011-05-07 15:32:26.000000000 -0500
1
--- common/prompts1.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/prompts1.c	2012-03-10 17:02:06.000000000 -0500
2
+++ common/prompts1.c
3
@@ -14,7 +14,7 @@
3
@@ -14,7 +14,7 @@
4
 #include <alloc.h>
4
 #include <alloc.h>
5
 #elif defined(__APPLE__)
5
 #elif defined(__APPLE__)
(-)graphics/xfractint/files/patch-common__prompts2.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/prompts2.c.orig	2011-05-08 10:20:02.000000000 -0500
1
--- common/prompts2.c.orig	2015-08-08 13:22:41 UTC
2
+++ common/prompts2.c	2012-03-10 17:04:43.000000000 -0500
2
+++ common/prompts2.c
3
@@ -12,7 +12,7 @@
3
@@ -12,7 +12,7 @@
4
 
4
 
5
 #ifdef DIRENT
5
 #ifdef DIRENT
(-)graphics/xfractint/files/patch-common__soi.c (-11 / +2 lines)
Lines 1-5 Link Here
1
--- common/soi.c.orig	2011-05-07 15:36:36.000000000 -0500
1
--- common/soi.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/soi.c	2012-03-10 17:08:47.000000000 -0500
2
+++ common/soi.c
3
@@ -15,7 +15,7 @@
3
@@ -15,7 +15,7 @@
4
 #include <string.h>
4
 #include <string.h>
5
 #ifdef __APPLE__
5
 #ifdef __APPLE__
Lines 9-20 Link Here
9
 #include <malloc.h>
9
 #include <malloc.h>
10
 #endif
10
 #endif
11
 #include "port.h"
11
 #include "port.h"
12
@@ -25,7 +25,7 @@
13
 #define FABS(x)  fabsl(x)
14
 /* the following needs to be changed back to frexpl once the portability
15
    issue has been addressed JCO */
16
-#ifndef XFRACT
17
+#ifndef __FreeBSD__
18
 #define FREXP(x,y) frexpl(x,y)
19
 #else
20
 #define FREXP(x,y) frexp(x,y)
(-)graphics/xfractint/files/patch-common__soi1.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- common/soi1.c.orig	2011-05-07 15:36:50.000000000 -0500
1
--- common/soi1.c.orig	2014-05-03 13:12:35 UTC
2
+++ common/soi1.c	2012-03-10 17:10:37.000000000 -0500
2
+++ common/soi1.c
3
@@ -15,7 +15,7 @@
3
@@ -15,7 +15,7 @@
4
 #include <string.h>
4
 #include <string.h>
5
 #ifdef __APPLE__
5
 #ifdef __APPLE__
(-)graphics/xfractint/files/patch-headers__port.h (-5 / +5 lines)
Lines 1-5 Link Here
1
--- ./headers/port.h.orig	2008-02-17 17:26:16.000000000 -0500
1
--- headers/port.h.orig	2015-07-04 13:09:32 UTC
2
+++ ./headers/port.h	2010-01-27 13:52:46.000000000 -0500
2
+++ headers/port.h
3
@@ -44,7 +44,7 @@
3
@@ -44,7 +44,7 @@
4
 /* If endian.h is not present, it can be handled in the code below, */
4
 /* If endian.h is not present, it can be handled in the code below, */
5
 /* but if you have this file, it can make it more fool proof. */
5
 /* but if you have this file, it can make it more fool proof. */
Lines 7-15 Link Here
7
-#if defined(sgi)
7
-#if defined(sgi)
8
+#if defined(sgi) || defined(__FreeBSD__)
8
+#if defined(sgi) || defined(__FreeBSD__)
9
 #include <sys/endian.h>
9
 #include <sys/endian.h>
10
 #else
10
 #elif defined(__APPLE__)
11
 #include <endian.h>
11
 #include <machine/endian.h>
12
@@ -319,7 +319,7 @@
12
@@ -333,7 +333,7 @@ extern struct DIR_SEARCH DTA;   /* Disk 
13
 /* HP-UX support long doubles and allows them to be read in with  */
13
 /* HP-UX support long doubles and allows them to be read in with  */
14
 /*   scanf(), but does not support the functions sinl, cosl, fabsl, etc.  */
14
 /*   scanf(), but does not support the functions sinl, cosl, fabsl, etc.  */
15
 /* CAE added this 26Jan95 so it would compile (altered by Wes to new macro) */
15
 /* CAE added this 26Jan95 so it would compile (altered by Wes to new macro) */
(-)graphics/xfractint/files/patch-unix__fpu087.c (-22 lines)
Lines 1-22 Link Here
1
--- unix/fpu087.c.orig	2012-03-10 17:28:49.000000000 -0500
2
+++ unix/fpu087.c	2012-03-10 17:36:40.000000000 -0500
3
@@ -86,8 +86,8 @@
4
     *Sinh = 1.0;
5
     *Cosh = 1.0;
6
   } else {
7
-    *Sinh = (double)sinhl(*Angle);
8
-    *Cosh = (double)coshl(*Angle);
9
+    *Sinh = (double)sinh(*Angle);
10
+    *Cosh = (double)cosh(*Angle);
11
   }
12
   if (isnan(*Sinh) || isinf(*Sinh))
13
     *Sinh = 1.0;
14
@@ -119,7 +119,7 @@
15
 {
16
     LDBL pwr,y;
17
     y = x->y;
18
-    pwr = expl(x->x);
19
+    pwr = exp(x->x);
20
     if (isnan(pwr) || isinf(pwr))
21
       pwr = 1.0;
22
     z->x = (double)(pwr*cosl(y));
(-)graphics/xfractint/files/patch-unix__general.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ./unix/general.c.orig	2008-04-11 10:36:28.000000000 -0400
1
--- unix/general.c.orig	2015-06-24 00:31:32 UTC
2
+++ ./unix/general.c	2010-01-27 13:52:46.000000000 -0500
2
+++ unix/general.c
3
@@ -317,7 +317,7 @@
3
@@ -319,7 +319,7 @@ int delaytime;
4
     static struct timeval delay;
4
     static struct timeval delay;
5
     delay.tv_sec = delaytime/1000;
5
     delay.tv_sec = delaytime/1000;
6
     delay.tv_usec = (delaytime%1000)*1000;
6
     delay.tv_usec = (delaytime%1000)*1000;
(-)graphics/xfractint/files/patch-unix__unixscr.c (-3 / +3 lines)
Lines 1-5 Link Here
1
--- ./unix/unixscr.c.orig	2008-05-03 13:52:03.000000000 -0400
1
--- unix/unixscr.c.orig	2015-08-09 13:46:52 UTC
2
+++ ./unix/unixscr.c	2010-01-27 13:52:46.000000000 -0500
2
+++ unix/unixscr.c
3
@@ -54,7 +54,7 @@
3
@@ -54,7 +54,7 @@
4
 #define FNDELAY O_NDELAY
4
 #define FNDELAY O_NDELAY
5
 #endif
5
 #endif
Lines 9-15 Link Here
9
 # include <sys/filio.h>
9
 # include <sys/filio.h>
10
 # define FNDELAY O_NONBLOCK
10
 # define FNDELAY O_NONBLOCK
11
 #endif
11
 #endif
12
@@ -339,7 +339,7 @@
12
@@ -337,7 +337,7 @@ UnixInit()
13
     initdacbox();
13
     initdacbox();
14
 
14
 
15
     if (!simple_input) {
15
     if (!simple_input) {
(-)graphics/xfractint/pkg-plist (-2 / +4 lines)
Lines 1-7 Link Here
1
bin/xfractint
1
bin/xfractint
2
man/man1/xfractint.man.gz
2
man/man1/xfractint.man.gz
3
%%DATADIR%%/fractint.hlp
3
share/applications/xfractint.desktop
4
%%DATADIR%%/sstools.ini
5
%%DATADIR%%/formulas/fract001.frm
4
%%DATADIR%%/formulas/fract001.frm
6
%%DATADIR%%/formulas/fract002.frm
5
%%DATADIR%%/formulas/fract002.frm
7
%%DATADIR%%/formulas/fract003.frm
6
%%DATADIR%%/formulas/fract003.frm
Lines 13-18 Link Here
13
%%DATADIR%%/formulas/julitile.frm
12
%%DATADIR%%/formulas/julitile.frm
14
%%DATADIR%%/formulas/new_if.frm
13
%%DATADIR%%/formulas/new_if.frm
15
%%DATADIR%%/formulas/newton.frm
14
%%DATADIR%%/formulas/newton.frm
15
%%DATADIR%%/fractint.hlp
16
%%DATADIR%%/ifs/fract205.ifs
16
%%DATADIR%%/ifs/fract205.ifs
17
%%DATADIR%%/ifs/fractint.ifs
17
%%DATADIR%%/ifs/fractint.ifs
18
%%DATADIR%%/lsystem/fract205.l
18
%%DATADIR%%/lsystem/fract205.l
Lines 37-42 Link Here
37
%%DATADIR%%/maps/green.map
37
%%DATADIR%%/maps/green.map
38
%%DATADIR%%/maps/grey.map
38
%%DATADIR%%/maps/grey.map
39
%%DATADIR%%/maps/grid.map
39
%%DATADIR%%/maps/grid.map
40
%%DATADIR%%/maps/headach2.map
40
%%DATADIR%%/maps/headache.map
41
%%DATADIR%%/maps/headache.map
41
%%DATADIR%%/maps/landscap.map
42
%%DATADIR%%/maps/landscap.map
42
%%DATADIR%%/maps/lyapunov.map
43
%%DATADIR%%/maps/lyapunov.map
Lines 58-60 Link Here
58
%%DATADIR%%/pars/newphoen.par
59
%%DATADIR%%/pars/newphoen.par
59
%%DATADIR%%/pars/orbits.par
60
%%DATADIR%%/pars/orbits.par
60
%%DATADIR%%/pars/phoenix.par
61
%%DATADIR%%/pars/phoenix.par
62
%%DATADIR%%/sstools.ini

Return to bug 203360