Update to 20.4.14. The changelog, while extremely long, only reaches back to 20.0. Please consult https://fractint.org/ftp/current/dos/whatsnew.txt for an approximate understanding of what's new since 3.10 (the previous version in pkgsrc).diff -r1.14 -r1.15 pkgsrc/math/xfractint/Makefile
(schmonz)
@@ -1,38 +1,31 @@ | @@ -1,38 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.14 2018/01/01 18:16:38 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.15 2018/08/28 11:54:54 schmonz Exp $ | |
2 | 2 | |||
3 | DISTNAME= xfrac310 | 3 | DISTNAME= xfractint-20.04p14 | |
4 | PKGNAME= xfractint-3.10 | 4 | PKGNAME= ${DISTNAME:S/04p/4./} | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= math | 5 | CATEGORIES= math | |
7 | MASTER_SITES= https://fractint.org/ftp/current/linux/ | 6 | MASTER_SITES= https://fractint.org/ftp/current/linux/ | |
8 | EXTRACT_SUFX= .zip | |||
9 | 7 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://fractint.org/ | 9 | HOMEPAGE= https://fractint.org/ | |
12 | COMMENT= Fractint for X11 | 10 | COMMENT= Fractint for X11 | |
13 | 11 | |||
14 | WRKSRC= ${WRKDIR} | |||
15 | USE_LIBTOOL= yes | 12 | USE_LIBTOOL= yes | |
13 | USE_TOOLS+= gmake | |||
16 | 14 | |||
17 | MAKE_FLAGS+= BINDIR=${PREFIX}/bin | 15 | MAKE_FLAGS+= BINDIR=${PREFIX}/bin | |
18 | MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1 | 16 | MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1 | |
19 | MAKE_FLAGS+= SRCDIR=${PREFIX}/share/xfractint | 17 | MAKE_FLAGS+= SRCDIR=${PREFIX}/share/xfractint | |
20 | BUILD_TARGET= xfractint | 18 | BUILD_TARGET= xfractint | |
21 | 19 | |||
22 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/xfractint | 20 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/xfractint/pars | |
21 | INSTALLATION_DIRS+= share/xfractint/formulas share/xfractint/ifs | |||
22 | INSTALLATION_DIRS+= share/xfractint/lsystem share/xfractint/maps | |||
23 | INSTALLATION_DIRS+= share/xfractint/extra | |||
23 | 24 | |||
24 | MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} | 25 | MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q} | |
25 | 26 | |||
26 | # xfractint sources assume <malloc.h> exists. | |||
27 | # Create a fake one for platforms that don't have it. | |||
28 | # | |||
29 | post-wrapper: | |||
30 | if ${TEST} ! -f /usr/include/malloc.h; then \ | |||
31 | ${ECHO} "#include <stdlib.h>" \ | |||
32 | > ${BUILDLINK_DIR}/include/malloc.h; \ | |||
33 | fi | |||
34 | ||||
35 | .include "../../mk/curses.buildlink3.mk" | 27 | .include "../../mk/curses.buildlink3.mk" | |
36 | .include "../../mk/termcap.buildlink3.mk" | 28 | .include "../../mk/termcap.buildlink3.mk" | |
37 | .include "../../x11/libX11/buildlink3.mk" | 29 | .include "../../x11/libX11/buildlink3.mk" | |
30 | .include "../../x11/libXft/buildlink3.mk" | |||
38 | .include "../../mk/bsd.pkg.mk" | 31 | .include "../../mk/bsd.pkg.mk" |
@@ -1,167 +1,64 @@ | @@ -1,167 +1,64 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2009/06/14 18:05:50 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2018/08/28 11:54:54 schmonz Exp $ | |
2 | bin/xfractint | 2 | bin/xfractint | |
3 | man/man1/xfractint.1 | 3 | man/man1/xfractint.1 | |
4 | share/xfractint/Carlson1.map | 4 | share/xfractint/debugfla.txt | |
5 | share/xfractint/Digiorg1.map | 5 | share/xfractint/extra/all_maps.zip | |
6 | share/xfractint/Digiorg2.map | 6 | share/xfractint/extra/frmtut.zip | |
7 | share/xfractint/Gallet01.map | 7 | share/xfractint/extra/if_else.zip | |
8 | share/xfractint/Gallet02.map | 8 | share/xfractint/extra/phctutor.zip | |
9 | share/xfractint/Gallet03.map | 9 | share/xfractint/formulas/fract001.frm | |
10 | share/xfractint/Gallet04.map | 10 | share/xfractint/formulas/fract002.frm | |
11 | share/xfractint/Gallet05.map | 11 | share/xfractint/formulas/fract003.frm | |
12 | share/xfractint/Gallet06.map | 12 | share/xfractint/formulas/fract196.frm | |
13 | share/xfractint/Gallet07.map | 13 | share/xfractint/formulas/fract200.frm | |
14 | share/xfractint/Gallet08.map | 14 | share/xfractint/formulas/fract_sy.frm | |
15 | share/xfractint/Gallet09.map | 15 | share/xfractint/formulas/fractint.frm | |
16 | share/xfractint/Gallet10.map | 16 | share/xfractint/formulas/ikenaga.frm | |
17 | share/xfractint/Gallet11.map | 17 | share/xfractint/formulas/julitile.frm | |
18 | share/xfractint/Gallet12.map | 18 | share/xfractint/formulas/new_if.frm | |
19 | share/xfractint/Gallet13.map | 19 | share/xfractint/formulas/newton.frm | |
20 | share/xfractint/Gallet14.map | |||
21 | share/xfractint/Gallet15.map | |||
22 | share/xfractint/Gallet16.map | |||
23 | share/xfractint/Gallet17.map | |||
24 | share/xfractint/Gallet18.map | |||
25 | share/xfractint/Lindaa01.map | |||
26 | share/xfractint/Lindaa02.map | |||
27 | share/xfractint/Lindaa03.map | |||
28 | share/xfractint/Lindaa04.map | |||
29 | share/xfractint/Lindaa05.map | |||
30 | share/xfractint/Lindaa06.map | |||
31 | share/xfractint/Lindaa07.map | |||
32 | share/xfractint/Lindaa08.map | |||
33 | share/xfractint/Lindaa09.map | |||
34 | share/xfractint/Lindaa10.map | |||
35 | share/xfractint/Lindaa11.map | |||
36 | share/xfractint/Lindaa12.map | |||
37 | share/xfractint/Lindaa14.map | |||
38 | share/xfractint/Lindaa15.map | |||
39 | share/xfractint/Lindaa16.map | |||
40 | share/xfractint/Lindaa17.map | |||
41 | share/xfractint/Morgan1.map | |||
42 | share/xfractint/Morgan2.map | |||
43 | share/xfractint/Morgan3.map | |||
44 | share/xfractint/Morgen3.map | |||
45 | share/xfractint/Skydye01.map | |||
46 | share/xfractint/Skydye02.map | |||
47 | share/xfractint/Skydye03.map | |||
48 | share/xfractint/Skydye04.map | |||
49 | share/xfractint/Skydye05.map | |||
50 | share/xfractint/Skydye06.map | |||
51 | share/xfractint/Skydye07.map | |||
52 | share/xfractint/Skydye08.map | |||
53 | share/xfractint/Skydye09.map | |||
54 | share/xfractint/Skydye10.map | |||
55 | share/xfractint/Skydye11.map | |||
56 | share/xfractint/Skydye12.map | |||
57 | share/xfractint/Wizzl011.map | |||
58 | share/xfractint/Wizzl012.map | |||
59 | share/xfractint/Wizzl013.map | |||
60 | share/xfractint/Wizzl014.map | |||
61 | share/xfractint/Wizzl015.map | |||
62 | share/xfractint/Wizzl016.map | |||
63 | share/xfractint/Wizzl017.map | |||
64 | share/xfractint/Wizzl018.map | |||
65 | share/xfractint/Wizzl019.map | |||
66 | share/xfractint/Wizzl020.map | |||
67 | share/xfractint/altern.map | |||
68 | share/xfractint/blues.map | |||
69 | share/xfractint/bud2.map | |||
70 | share/xfractint/bud3.map | |||
71 | share/xfractint/bud4.map | |||
72 | share/xfractint/bud5.map | |||
73 | share/xfractint/bud6.map | |||
74 | share/xfractint/bud7.map | |||
75 | share/xfractint/cellular.par | |||
76 | share/xfractint/chroma.map | |||
77 | share/xfractint/damien1.map | |||
78 | share/xfractint/damien2.map | |||
79 | share/xfractint/damien3.map | |||
80 | share/xfractint/damien4.map | |||
81 | share/xfractint/damien5.map | |||
82 | share/xfractint/default.map | |||
83 | share/xfractint/demo.par | |||
84 | share/xfractint/droz10.map | |||
85 | share/xfractint/droz11.map | |||
86 | share/xfractint/droz12.map | |||
87 | share/xfractint/droz13.map | |||
88 | share/xfractint/droz14.map | |||
89 | share/xfractint/droz15.map | |||
90 | share/xfractint/droz21.map | |||
91 | share/xfractint/droz22.map | |||
92 | share/xfractint/droz23.map | |||
93 | share/xfractint/droz28.map | |||
94 | share/xfractint/droz31.map | |||
95 | share/xfractint/droz33.map | |||
96 | share/xfractint/droz34.map | |||
97 | share/xfractint/droz35.map | |||
98 | share/xfractint/droz36.map | |||
99 | share/xfractint/droz38.map | |||
100 | share/xfractint/droz39.map | |||
101 | share/xfractint/droz40.map | |||
102 | share/xfractint/droz44.map | |||
103 | share/xfractint/droz46.map | |||
104 | share/xfractint/droz49.map | |||
105 | share/xfractint/droz52.map | |||
106 | share/xfractint/droz54.map | |||
107 | share/xfractint/droz56.map | |||
108 | share/xfractint/droz60.map | |||
109 | share/xfractint/droz62.map | |||
110 | share/xfractint/droz8.map | |||
111 | share/xfractint/drozdis1.map | |||
112 | share/xfractint/firestrm.map | |||
113 | share/xfractint/fract18.par | |||
114 | share/xfractint/fract19.par | |||
115 | share/xfractint/fract200.frm | |||
116 | share/xfractint/fract200.par | |||
117 | share/xfractint/fractint.frm | |||
118 | share/xfractint/fractint.hlp | 20 | share/xfractint/fractint.hlp | |
119 | share/xfractint/fractint.ifs | 21 | share/xfractint/fractsrc.txt | |
120 | share/xfractint/fractint.l | 22 | share/xfractint/hc.txt | |
121 | share/xfractint/fractint.par | 23 | share/xfractint/ifs/fractint.ifs | |
122 | share/xfractint/froth3.map | 24 | share/xfractint/lsystem/fractint.l | |
123 | share/xfractint/froth316.map | 25 | share/xfractint/lsystem/penrose.l | |
124 | share/xfractint/froth6.map | 26 | share/xfractint/lsystem/tiling.l | |
125 | share/xfractint/froth616.map | 27 | share/xfractint/maps/altern.map | |
126 | share/xfractint/gamma1.map | 28 | share/xfractint/maps/blues.map | |
127 | share/xfractint/gamma2.map | 29 | share/xfractint/maps/chroma.map | |
128 | share/xfractint/glasses1.map | 30 | share/xfractint/maps/default.map | |
129 | share/xfractint/glasses2.map | 31 | share/xfractint/maps/firestrm.map | |
130 | share/xfractint/goodega.map | 32 | share/xfractint/maps/froth3.map | |
131 | share/xfractint/green.map | 33 | share/xfractint/maps/froth316.map | |
132 | share/xfractint/grey.map | 34 | share/xfractint/maps/froth6.map | |
133 | share/xfractint/grid.map | 35 | share/xfractint/maps/froth616.map | |
134 | share/xfractint/headache.map | 36 | share/xfractint/maps/gamma1.map | |
135 | share/xfractint/icons.par | 37 | share/xfractint/maps/gamma2.map | |
136 | share/xfractint/landscap.map | 38 | share/xfractint/maps/glasses1.map | |
137 | share/xfractint/lkmtch00.map | 39 | share/xfractint/maps/glasses2.map | |
138 | share/xfractint/lkmtch01.map | 40 | share/xfractint/maps/goodega.map | |
139 | share/xfractint/lkmtch02.map | 41 | share/xfractint/maps/green.map | |
140 | share/xfractint/lkmtch03.map | 42 | share/xfractint/maps/grey.map | |
141 | share/xfractint/lkmtch04.map | 43 | share/xfractint/maps/grid.map | |
142 | share/xfractint/lkmtch05.map | 44 | share/xfractint/maps/headache.map | |
143 | share/xfractint/lkmtch06.map | 45 | share/xfractint/maps/landscap.map | |
144 | share/xfractint/lkmtch07.map | 46 | share/xfractint/maps/lyapunov.map | |
145 | share/xfractint/lkmtch08.map | 47 | share/xfractint/maps/neon.map | |
146 | share/xfractint/lkmtch09.map | 48 | share/xfractint/maps/paintjet.map | |
147 | share/xfractint/lkmtch10.map | 49 | share/xfractint/maps/royal.map | |
148 | share/xfractint/lkmtch11.map | 50 | share/xfractint/maps/topo.map | |
149 | share/xfractint/lkmtch12.map | 51 | share/xfractint/maps/volcano.map | |
150 | share/xfractint/lkmtch13.map | 52 | share/xfractint/pars/cellular.par | |
151 | share/xfractint/lkmtch14.map | 53 | share/xfractint/pars/demo.par | |
152 | share/xfractint/lkmtch15.map | 54 | share/xfractint/pars/fract18.par | |
153 | share/xfractint/lkmtch16.map | 55 | share/xfractint/pars/fract19.par | |
154 | share/xfractint/lkmtch17.map | 56 | share/xfractint/pars/fract200.par | |
155 | share/xfractint/lkmtch18.map | 57 | share/xfractint/pars/fractint.par | |
156 | share/xfractint/lkmtch19.map | 58 | share/xfractint/pars/icons.par | |
157 | share/xfractint/lyapunov.map | 59 | share/xfractint/pars/lyapunov.par | |
158 | share/xfractint/lyapunov.par | 60 | share/xfractint/pars/music.par | |
159 | share/xfractint/music.par | 61 | share/xfractint/pars/newphoen.par | |
160 | share/xfractint/neon.map | 62 | share/xfractint/pars/orbits.par | |
161 | share/xfractint/paintjet.map | 63 | share/xfractint/pars/phoenix.par | |
162 | share/xfractint/penrose.l | 64 | share/xfractint/sstools.ini | |
163 | share/xfractint/phoenix.par | |||
164 | share/xfractint/royal.map | |||
165 | share/xfractint/tiling.l | |||
166 | share/xfractint/topo.map | |||
167 | share/xfractint/volcano.map |
@@ -1,31 +1,23 @@ | @@ -1,31 +1,23 @@ | |||
1 | $NetBSD: distinfo,v 1.12 2017/05/22 23:36:44 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.13 2018/08/28 11:54:54 schmonz Exp $ | |
2 | 2 | |||
3 | SHA1 (xfrac310.zip) = 420de4ca20623b4fe6b6367a269e5525b6bff3af | 3 | SHA1 (xfractint-20.04p14.tar.gz) = fff0a713145ffd271c6ce4bf8ad657404959895a | |
4 | RMD160 (xfrac310.zip) = ede481d77f8f5b71a6cef9d7ec4b2e09d9662f5b | 4 | RMD160 (xfractint-20.04p14.tar.gz) = 8d69895ca3237caa76c9c1c93ee5abaeb77191c2 | |
5 | SHA512 (xfrac310.zip) = 8ccc48ba445ed295b18f18234e4d60e78a739cf83f6594659a9ed43a279e5bba46e1de008db3ea33e01b9de430c74c4002f434cf9e7a2a8fbd1c0fdca1633872 | 5 | SHA512 (xfractint-20.04p14.tar.gz) = 7d13c719f4f4b0680455b9b7f86644928d8145606973d208e5bf0d26b4f7b04ddbf8d2080ea35c872b21e079f1a116f3ef94e9acb36a45d43c16403c473e2acd | |
6 | Size (xfrac310.zip) = 1074760 bytes | 6 | Size (xfractint-20.04p14.tar.gz) = 1336285 bytes | |
7 | SHA1 (patch-aa) = 51d654407fc5621ba69bb5656f7ff7ba65d8ef39 | 7 | SHA1 (patch-Makefile) = 03a988a7e92d657ce127c86fe9ae5e096d8f496c | |
8 | SHA1 (patch-ab) = a68613c56f7ce81433aa73529e4eef7a9a9df694 | 8 | SHA1 (patch-common_biginit.c) = 41a1bdf7f9fe36ffb1a1b68cff680d0f325bc097 | |
9 | SHA1 (patch-ac) = 443495aed2e6b7ca8f4659b298b4b789d681c847 | 9 | SHA1 (patch-common_fracsubr.c) = 8b2b1229cf0b596fb2991237f834d1f756d6b3ce | |
10 | SHA1 (patch-ad) = 9e337c7bff36aee223630bbc1585c91bb1961325 | 10 | SHA1 (patch-common_fractalb.c) = 37c07f9721f7854bb7e731e583255bfa69e4602c | |
11 | SHA1 (patch-ae) = 6a7c39bafa4832e920f2cb1458a94b817f1832e5 | 11 | SHA1 (patch-common_fractals.c) = 147ad7576a703d851b258dcf2285c921f00912c3 | |
12 | SHA1 (patch-af) = d95099b13cdef7421fd09be09627e4db5646e948 | 12 | SHA1 (patch-common_fractint.c) = e3deac60b59bf2bf510a422c7516f6fc40242a28 | |
13 | SHA1 (patch-ag) = 86e16be766422192b957ef413ed651ea0a1d4388 | 13 | SHA1 (patch-common_frasetup.c) = 437fabb24fe719f8cef3a71e6752c9f2e0cc6c25 | |
14 | SHA1 (patch-ah) = ced928746cac6c07b7ad3c6cae6800179d8dc256 | 14 | SHA1 (patch-common_lsys.c) = 45829daabf07f43ace1e5d5c76ae6a22a31f8e1c | |
15 | SHA1 (patch-ai) = e6b4ef5637cc8d05d6dd9b0f1e098d51bc692310 | 15 | SHA1 (patch-common_lsysf.c) = 0f2a7420647c8c62b7ff0c549eeba03dad84b734 | |
16 | SHA1 (patch-aj) = 578a8a0dcff9021f65bd5368ae8232c89a325081 | 16 | SHA1 (patch-common_memory.c) = c3e9cf9f1056041a91bd77001025a61f3b1aa477 | |
17 | SHA1 (patch-ak) = 2d128d7575070d3452702f219aa51c468928f38a | 17 | SHA1 (patch-common_miscres.c) = 835135f844491b1dbdb61070d27ad12c380a5bd8 | |
18 | SHA1 (patch-al) = 73cf3be0f7cf656f8235acc1f9a0625179a8a36d | 18 | SHA1 (patch-common_prompts1.c) = 4ca3330a960a536d23e336609fce548d73fce92e | |
19 | SHA1 (patch-am) = ae214e36ff64009d18724e80638f1fa55544d19e | 19 | SHA1 (patch-common_prompts2.c) = 2f5dde94b79aeb18e4c7c9a548e5a9c7febe02cc | |
20 | SHA1 (patch-an) = d4effdac0afa8efc68cc3eae80e62bfe8c9281a1 | 20 | SHA1 (patch-common_soi.c) = d5c48bbc8d71c45e9ae98ac94dfd46ece6cee87d | |
21 | SHA1 (patch-ao) = c9fb472e44bbc4d939fe00725be9b06fd8cecb26 | 21 | SHA1 (patch-common_soi1.c) = 72d5cb187512b34d87e660e316e3d95ab023e4f0 | |
22 | SHA1 (patch-ap) = 87f6bc9db67554f600428e3369f83849b81d23fa | 22 | SHA1 (patch-headers_externs.h) = fdd427cfe013f9d4e77486a537d60ade3488c493 | |
23 | SHA1 (patch-aq) = 58fdcdcf92c6d1a5bd63f0652d74d73b98a2c0a6 | 23 | SHA1 (patch-headers_port.h) = 4f6be6b63369b5aa80400473ac82703de60dfd46 | |
24 | SHA1 (patch-ar) = 6052e96b0b008c75ca43f71dd26452195d9b96de | |||
25 | SHA1 (patch-as) = e35ce93cb4ef9785eb144e7a8b4d26b2b323d8c9 | |||
26 | SHA1 (patch-at) = 01a906fe87d2bd56f2fc3dd2196445c6c2b3cc40 | |||
27 | SHA1 (patch-au) = c2e983ba469379e910c695a56e1ace9c2e5ce791 | |||
28 | SHA1 (patch-av) = 9ea1fc10c51a4cf5d374c5dacbbabd85f1977819 | |||
29 | SHA1 (patch-aw) = 5aa67b824d005c5ba7a0d821422e627573370b10 | |||
30 | SHA1 (patch-ax) = 33169e3d0b2577b6c4ad2eda77e72ca2160a24fd | |||
31 | SHA1 (patch-externs.h) = b3704abc87131ade8fbac96749e97f70a753c565 |
$NetBSD: patch-Makefile,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- Makefile.orig 2014-05-03 13:12:33.000000000 +0000
+++ Makefile
@@ -159,19 +159,21 @@ CC = /usr/bin/gcc
# LIBS = -L/usr/X11R6/lib -lX11 -lm -lncurses
# LIBS = -lX11 -lm -lcurses
-ifeq ($(ARCH),athlon64)
-LIBS = -L/usr/X11R6/lib64 -lX11 -lm
-else
-LIBS = -L/usr/X11R6/lib -lX11 -lm
-endif
+#ifeq ($(ARCH),athlon64)
+#LIBS = -L/usr/X11R6/lib64 -lX11 -lm
+#else
+#LIBS = -L/usr/X11R6/lib -lX11 -lm
+#endif
+#
+#ifeq ($(NCURSES),-DNCURSES)
+#LIBS += -lncurses
+#endif
+#
+#ifeq ($(WITHXFT),-DWITH_XFT)
+#LIBS += -lXft -lfontconfig
+#endif
-ifeq ($(NCURSES),-DNCURSES)
-LIBS += -lncurses
-endif
-
-ifeq ($(WITHXFT),-DWITH_XFT)
-LIBS += -lXft -lfontconfig
-endif
+LIBS = ${X11_LDFLAGS} ${LDFLAGS} -lX11 -lXft -lm -lcurses -ltermcap
# HPUX fixes thanks to David Allport, Bill Broadley, and R. Lloyd.
# AIX fixes thanks to David Sanderson & Elliot Jaffe.
@@ -343,18 +345,15 @@ clean:
cd $(UDIR) ; ${MAKE} clean
install: xfractint fractint.hlp
- $(STRIP) xfractint
- $(INSTALL) -d $(BINDIR) $(MANDIR) $(SRCDIR)/$(PDIR) $(SRCDIR)/$(FDIR) \
- $(SRCDIR)/$(IDIR) $(SRCDIR)/$(LDIR) $(SRCDIR)/$(MDIR) $(SRCDIR)/$(XDIR)
- $(INSTALL) xfractint -T $(BINDIR)/xfractint;
- $(INSTALL) -m 644 -T $(UDIR)/xfractint.man $(MANDIR)/xfractint.1;
- $(INSTALL) -m 644 -t $(SRCDIR) fractint.hlp sstools.ini $(DOCS)
- $(INSTALL) -m 644 -t $(SRCDIR)/$(PDIR) $(PARFILES)
- $(INSTALL) -m 644 -t $(SRCDIR)/$(FDIR) $(FRMFILES)
- $(INSTALL) -m 644 -t $(SRCDIR)/$(IDIR) $(IFSFILES)
- $(INSTALL) -m 644 -t $(SRCDIR)/$(LDIR) $(LFILES)
- $(INSTALL) -m 644 -t $(SRCDIR)/$(MDIR) $(MAPFILES)
- $(INSTALL) -m 644 -t $(SRCDIR)/$(XDIR) $(XTRAFILES)
+ $(BSD_INSTALL_PROGRAM) xfractint $(DESTDIR)$(BINDIR)/xfractint;
+ $(BSD_INSTALL_MAN) $(UDIR)/xfractint.man $(DESTDIR)$(MANDIR)/xfractint.1;
+ $(BSD_INSTALL_DATA) fractint.hlp sstools.ini $(DOCS) $(DESTDIR)$(SRCDIR)
+ $(BSD_INSTALL_DATA) $(PARFILES) $(DESTDIR)$(SRCDIR)/$(PDIR)
+ $(BSD_INSTALL_DATA) $(FRMFILES) $(DESTDIR)$(SRCDIR)/$(FDIR)
+ $(BSD_INSTALL_DATA) $(IFSFILES) $(DESTDIR)$(SRCDIR)/$(IDIR)
+ $(BSD_INSTALL_DATA) $(LFILES) $(DESTDIR)$(SRCDIR)/$(LDIR)
+ $(BSD_INSTALL_DATA) $(MAPFILES) $(DESTDIR)$(SRCDIR)/$(MDIR)
+ $(BSD_INSTALL_DATA) $(XTRAFILES) $(DESTDIR)$(SRCDIR)/$(XDIR)
uninstall:
cd $(SRCDIR); rm -f $(PARFILES)
$NetBSD: patch-common_biginit.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/biginit.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/biginit.c
@@ -7,11 +7,7 @@ is in the allocations of memory for the
*/
#include <string.h>
-#ifdef __APPLE__
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
/* see Fractint.c for a description of the "include" hierarchy */
#include "port.h"
#include "prototyp.h"
$NetBSD: patch-common_fracsubr.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/fracsubr.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/fracsubr.c
@@ -352,8 +352,8 @@ init_restart:
if(fractype != CELLULAR && fractype != ANT) /* fudgetolong fails w >10 digits in double */
{
- creal = fudgetolong(param[0]); /* integer equivs for it all */
- cimag = fudgetolong(param[1]);
+ my_creal = fudgetolong(param[0]); /* integer equivs for it all */
+ my_cimag = fudgetolong(param[1]);
xmin = fudgetolong(xxmin);
xmax = fudgetolong(xxmax);
x3rd = fudgetolong(xx3rd);
$NetBSD: patch-common_fractalb.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/fractalb.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/fractalb.c
@@ -8,13 +8,7 @@ fractal routines.
#include <limits.h>
#include <string.h>
-#ifdef __TURBOC__
-#include <alloc.h>
-#elif defined(__APPLE__)
-#include <malloc/malloc.h>
-#elif !defined(__386BSD__)
-#include <malloc.h>
-#endif
+#include <stdlib.h>
/* see Fractint.c for a description of the "include" hierarchy */
#include "port.h"
#include "prototyp.h"
$NetBSD: patch-common_fractals.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/fractals.c.orig 2015-01-19 18:35:16.000000000 +0000
+++ common/fractals.c
@@ -39,13 +39,7 @@ an appropriate setup, per_image, per_pix
#include <limits.h>
#include <string.h>
-#ifdef __TURBOC__
-#include <alloc.h>
-#elif defined(__APPLE__)
-#include <malloc/malloc.h>
-#elif !defined(__386BSD__)
-#include <malloc.h>
-#endif
+#include <stdlib.h>
/* see Fractint.c for a description of the "include" hierarchy */
#include "port.h"
#include "prototyp.h"
$NetBSD: patch-common_fractint.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/fractint.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/fractint.c
@@ -95,7 +95,7 @@ int compiled_by_turboc = 0;
int fractype; /* if == 0, use Mandelbrot */
char stdcalcmode; /* '1', '2', 'g', 'b' */
- long creal, cimag; /* real, imag'ry parts of C */
+ long my_creal, my_cimag; /* real, imag'ry parts of C */
long delx, dely; /* screen pixel increments */
long delx2, dely2; /* screen pixel increments */
LDBL delxx, delyy; /* screen pixel increments */
$NetBSD: patch-common_frasetup.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/frasetup.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/frasetup.c
@@ -1,12 +1,6 @@
#include <limits.h>
#include <string.h>
-#ifdef __TURBOC__
-#include <alloc.h>
-#elif defined(__APPLE__)
-#include <malloc/malloc.h>
-#elif !defined(__386BSD__)
-#include <malloc.h>
-#endif
+#include <stdlib.h>
/* see Fractint.c for a description of the "include" hierarchy */
#include "port.h"
#include "prototyp.h"
$NetBSD: patch-common_lsys.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/lsys.c.orig 2015-01-19 18:35:16.000000000 +0000
+++ common/lsys.c
@@ -1,12 +1,6 @@
#include <string.h>
-#ifdef __TURBOC__
-#include <alloc.h>
-#elif defined(__APPLE__)
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
/* see Fractint.c for a description of the "include" hierarchy */
#include "port.h"
$NetBSD: patch-common_lsysf.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/lsysf.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/lsysf.c
@@ -1,11 +1,5 @@
#include <string.h>
-#ifdef __TURBOC__
-#include <alloc.h>
-#elif defined(__APPLE__)
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
/* see Fractint.c for a description of the "include" hierarchy */
#include "port.h"
$NetBSD: patch-common_memory.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/memory.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/memory.c
@@ -1,10 +1,6 @@
#include <string.h>
#include <limits.h>
-#ifdef __APPLE__
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
#if (!defined(XFRACT) && !defined(WINFRACT))
#include <io.h>
$NetBSD: patch-common_miscres.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/miscres.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/miscres.c
@@ -5,11 +5,7 @@
#include <string.h>
#include <ctype.h>
#include <time.h>
-#ifdef __APPLE__
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
#ifndef XFRACT
#include <io.h>
$NetBSD: patch-common_prompts1.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/prompts1.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/prompts1.c
@@ -10,13 +10,7 @@
#include <sys/stat.h>
#endif
#endif
-#ifdef __TURBOC__
-#include <alloc.h>
-#elif defined(__APPLE__)
-#include <malloc/malloc.h>
-#elif !defined(__386BSD__)
-#include <malloc.h>
-#endif
+#include <stdlib.h>
/* see Fractint.c for a description of the "include" hierarchy */
#include "port.h"
$NetBSD: patch-common_prompts2.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/prompts2.c.orig 2015-08-08 13:22:41.000000000 +0000
+++ common/prompts2.c
@@ -22,13 +22,7 @@
#endif
#endif
-#ifdef __TURBOC__
-#include <alloc.h>
-#elif defined(__APPLE__)
-#include <malloc/malloc.h>
-#elif !defined(__386BSD__)
-#include <malloc.h>
-#endif
+#include <stdlib.h>
#ifdef XFRACT
#include <fcntl.h>
$NetBSD: patch-common_soi.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/soi.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/soi.c
@@ -13,11 +13,7 @@
*/
#include <time.h>
#include <string.h>
-#ifdef __APPLE__
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
#include "port.h"
#include "prototyp.h"
$NetBSD: patch-common_soi1.c,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- common/soi1.c.orig 2014-05-03 13:12:35.000000000 +0000
+++ common/soi1.c
@@ -13,11 +13,7 @@
*/
#include <time.h>
#include <string.h>
-#ifdef __APPLE__
-#include <malloc/malloc.h>
-#else
-#include <malloc.h>
-#endif
+#include <stdlib.h>
#include "port.h"
#include "prototyp.h"
$NetBSD: patch-headers_externs.h,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- headers/externs.h.orig 2015-04-26 13:25:57.000000000 +0000
+++ headers/externs.h
@@ -63,7 +63,7 @@ extern int calc_status
extern char calibrate;
extern int checkcurdir;
extern int chkd_vvs;
-extern long cimag;
+extern long my_cimag;
extern double closenuff;
extern double closeprox;
extern _CMPLX coefficient;
@@ -89,7 +89,7 @@ extern double cosx;
extern LDBL cosx;
#endif
extern int cpu;
-extern long creal;
+extern long my_creal;
extern int curcol;
extern int curpass;
extern int currow;
$NetBSD: patch-headers_port.h,v 1.1 2018/08/28 11:54:54 schmonz Exp $
--- headers/port.h.orig 2015-07-04 13:09:32.000000000 +0000
+++ headers/port.h
@@ -44,7 +44,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))
-#if defined(sgi)
+#if defined(sgi) || defined(__NetBSD__) || defined(__DragonFly__)
#include <sys/endian.h>
#elif defined(__APPLE__)
#include <machine/endian.h>
@@ -353,6 +353,10 @@ extern struct DIR_SEARCH DTA; /* Disk
#define DO_NOT_USE_LONG_DOUBLE
#endif
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#define DO_NOT_USE_LONG_DOUBLE
+#endif
+
#ifndef DO_NOT_USE_LONG_DOUBLE
#ifdef LDBL_DIG
/* this is what we're hoping for */