Thu Feb 11 20:43:49 2010 UTC ()
Update to Yap 5.1.3.
Many improvements, bug and compatibility fixes since previous 5.0.0 package.


(asau)
diff -r1.6 -r1.7 pkgsrc/lang/yap/Makefile
diff -r1.3 -r1.4 pkgsrc/lang/yap/PLIST
diff -r1.5 -r1.6 pkgsrc/lang/yap/distinfo
diff -r1.1 -r1.2 pkgsrc/lang/yap/patches/patch-ab
diff -r1.1 -r1.2 pkgsrc/lang/yap/patches/patch-ac
diff -r0 -r1.1 pkgsrc/lang/yap/patches/patch-ad
diff -r0 -r1.1 pkgsrc/lang/yap/patches/patch-ae
diff -r0 -r1.1 pkgsrc/lang/yap/patches/patch-af
diff -r0 -r1.1 pkgsrc/lang/yap/patches/patch-ag
diff -r0 -r1.1 pkgsrc/lang/yap/patches/patch-ah
diff -r0 -r1.1 pkgsrc/lang/yap/patches/patch-ai

cvs diff -r1.6 -r1.7 pkgsrc/lang/yap/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/yap/Makefile 2008/06/12 02:14:33 1.6
+++ pkgsrc/lang/yap/Makefile 2010/02/11 20:43:49 1.7
@@ -1,21 +1,28 @@ @@ -1,21 +1,28 @@
1# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:33 joerg Exp $ 1# $NetBSD: Makefile,v 1.7 2010/02/11 20:43:49 asau Exp $
2# 2#
3 3
4DISTNAME= Yap-5.0.0 4DISTNAME= Yap-5.1.3
5PKGREVISION= 1 
6CATEGORIES= lang 5CATEGORIES= lang
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yap/} 6# MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yap/}
8DIST_SUBDIR= ${PKGNAME_NOREV}-1 7MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/current/
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.ncc.up.pt/~vsc/Yap/ 10HOMEPAGE= http://www.ncc.up.pt/~vsc/Yap/
12COMMENT= ISO-compliant Prolog 11COMMENT= ISO-compliant Prolog
13 12
14PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
15 14
16USE_PKGLOCALEDIR= yes 15USE_PKGLOCALEDIR= yes
17GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
18 17
 18# Don't enable system malloc, it dumps core otherwise:
 19#CONFIGURE_ARGS= --enable-use-malloc
19CONFIGURE_ENV+= INDENT=${TRUE:Q} 20CONFIGURE_ENV+= INDENT=${TRUE:Q}
20 21
 22# debug option:
 23#CONFIGURE_ARGS+= --enable-debug-yap
 24
 25.include "../../devel/ncurses/buildlink3.mk"
 26.include "../../devel/readline/buildlink3.mk"
 27.include "../../devel/gmp/buildlink3.mk"
21.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/lang/yap/PLIST (expand / switch to unified diff)

--- pkgsrc/lang/yap/PLIST 2009/06/14 18:03:45 1.3
+++ pkgsrc/lang/yap/PLIST 2010/02/11 20:43:49 1.4
@@ -1,244 +1,169 @@ @@ -1,244 +1,169 @@
1@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:03:45 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.4 2010/02/11 20:43:49 asau Exp $
2bin/yap 2bin/yap
 3include/Yap/SWI-Prolog.h
 4include/Yap/SWI-Stream.h
3include/Yap/YapInterface.h 5include/Yap/YapInterface.h
4include/Yap/c_interface.h 6include/Yap/c_interface.h
5include/Yap/yap_structs.h 7include/Yap/yap_structs.h
 8lib/Yap/itries.so
 9lib/Yap/matrix.so
6lib/Yap/random.so 10lib/Yap/random.so
7lib/Yap/regcomp.so 11lib/Yap/regcomp.so
8lib/Yap/regerror.so 12lib/Yap/regerror.so
9lib/Yap/regexec.so 13lib/Yap/regexec.so
10lib/Yap/regexp.so 14lib/Yap/regexp.so
11lib/Yap/regfree.so 15lib/Yap/regfree.so
12lib/Yap/startup 16lib/Yap/startup
13lib/Yap/sys.so 17lib/Yap/sys.so
14lib/Yap/yap2swi.so 18lib/Yap/tries.so
15lib/Yap/yap_tries.so 19lib/Yap/yap_rl.so
16lib/libYap.a 20lib/libYap.a
17share/Yap/CHR.LICENSE 21share/Yap/aggregate.pl
18share/Yap/CLPQR.LICENSE 22share/Yap/apply.pl
 23share/Yap/apply.yap
19share/Yap/apply_macros.yap 24share/Yap/apply_macros.yap
 25share/Yap/arg.yap
20share/Yap/assoc.yap 26share/Yap/assoc.yap
21share/Yap/atts.yap 27share/Yap/atts.yap
22share/Yap/avl.yap 28share/Yap/avl.yap
23share/Yap/charsio.yap 29share/Yap/charsio.yap
24share/Yap/chr.yap 
25share/Yap/chr/chrcmp.pl 
26share/Yap/chr/compenv.pl 
27share/Yap/chr/concat.pl 
28share/Yap/chr/examples/allentable.pl 
29share/Yap/chr/examples/arc.pl 
30share/Yap/chr/examples/bool.pl 
31share/Yap/chr/examples/cft.pl 
32share/Yap/chr/examples/domain.pl 
33share/Yap/chr/examples/examples-adder.bool 
34share/Yap/chr/examples/examples-benchmark.math 
35share/Yap/chr/examples/examples-deussen.bool 
36share/Yap/chr/examples/examples-diaz.bool 
37share/Yap/chr/examples/examples-fourier.math 
38share/Yap/chr/examples/examples-holzbaur.math 
39share/Yap/chr/examples/examples-lim1.math 
40share/Yap/chr/examples/examples-lim2.math 
41share/Yap/chr/examples/examples-lim3.math 
42share/Yap/chr/examples/examples-puzzle.bool 
43share/Yap/chr/examples/examples-queens.bool 
44share/Yap/chr/examples/examples-queens.domain 
45share/Yap/chr/examples/examples-stuckey.math 
46share/Yap/chr/examples/examples-thom.math 
47share/Yap/chr/examples/gcd.pl 
48share/Yap/chr/examples/interval.pl 
49share/Yap/chr/examples/kl-one.pl 
50share/Yap/chr/examples/leq.pl 
51share/Yap/chr/examples/list.pl 
52share/Yap/chr/examples/listdom.pl 
53share/Yap/chr/examples/math-elim.pl 
54share/Yap/chr/examples/math-fougau.pl 
55share/Yap/chr/examples/math-fourier.pl 
56share/Yap/chr/examples/math-gauss.pl 
57share/Yap/chr/examples/math-utilities.pl 
58share/Yap/chr/examples/minmax.pl 
59share/Yap/chr/examples/modelgenerator.pl 
60share/Yap/chr/examples/osf.pl 
61share/Yap/chr/examples/oztype.pl 
62share/Yap/chr/examples/path.pl 
63share/Yap/chr/examples/pathc.pl 
64share/Yap/chr/examples/primes.pl 
65share/Yap/chr/examples/scheduling.pl 
66share/Yap/chr/examples/tarski.pl 
67share/Yap/chr/examples/term.pl 
68share/Yap/chr/examples/time-pc.pl 
69share/Yap/chr/examples/time-point.pl 
70share/Yap/chr/examples/time-rnd.pl 
71share/Yap/chr/examples/time.pl 
72share/Yap/chr/examples/tree.pl 
73share/Yap/chr/examples/type.pl 
74share/Yap/chr/getval.pl 
75share/Yap/chr/matching.pl 
76share/Yap/chr/operator.pl 
77share/Yap/chr/ordering.pl 
78share/Yap/chr/sbag.pl 
79share/Yap/chr/sbag_a.pl 
80share/Yap/chr/sbag_l.pl 
81share/Yap/chr/trace.yap 
82share/Yap/cleanup.yap 30share/Yap/cleanup.yap
 31share/Yap/clp/clp_events.pl
83share/Yap/clpbn.yap 32share/Yap/clpbn.yap
84share/Yap/clpbn/aggregates.yap 33share/Yap/clpbn/aggregates.yap
85share/Yap/clpbn/bnt.yap 34share/Yap/clpbn/bnt.yap
86share/Yap/clpbn/discrete_utils.yap 35share/Yap/clpbn/discrete_utils.yap
 36share/Yap/clpbn/display.yap
 37share/Yap/clpbn/dists.yap
87share/Yap/clpbn/evidence.yap 38share/Yap/clpbn/evidence.yap
 39share/Yap/clpbn/examples/School/README
 40share/Yap/clpbn/examples/School/evidence_128.yap
 41share/Yap/clpbn/examples/School/schema.yap
 42share/Yap/clpbn/examples/School/school_128.yap
 43share/Yap/clpbn/examples/School/school_32.yap
 44share/Yap/clpbn/examples/School/school_64.yap
 45share/Yap/clpbn/examples/School/tables.yap
 46share/Yap/clpbn/examples/cg.yap
 47share/Yap/clpbn/examples/sprinkler.yap
88share/Yap/clpbn/gibbs.yap 48share/Yap/clpbn/gibbs.yap
89share/Yap/clpbn/graphs.yap 49share/Yap/clpbn/graphs.yap
90share/Yap/clpbn/graphviz.yap 50share/Yap/clpbn/graphviz.yap
 51share/Yap/clpbn/hmm.yap
 52share/Yap/clpbn/jt.yap
 53share/Yap/clpbn/learning/bnt_parms.yap
 54share/Yap/clpbn/learning/learn_utils.yap
 55share/Yap/clpbn/learning/mle.yap
 56share/Yap/clpbn/matrix_cpt_utils.yap
91share/Yap/clpbn/topsort.yap 57share/Yap/clpbn/topsort.yap
92share/Yap/clpbn/utils.yap 58share/Yap/clpbn/utils.yap
93share/Yap/clpbn/vel.yap 59share/Yap/clpbn/vel.yap
94share/Yap/clpbn/viterbi.yap 60share/Yap/clpbn/viterbi.yap
95share/Yap/clpbn/xbif.yap 61share/Yap/clpbn/xbif.yap
96share/Yap/clpq.yap 62share/Yap/clpfd.pl
97share/Yap/clpq/arith_q.yap 63share/Yap/clpq.pl
98share/Yap/clpq/class.yap 64share/Yap/clpq/bb_q.pl
99share/Yap/clpq/geler.yap 65share/Yap/clpq/bv_q.pl
100share/Yap/clpq/nf.yap 66share/Yap/clpq/fourmotz_q.pl
101share/Yap/clpq/nfq.yap 67share/Yap/clpq/ineq_q.pl
102share/Yap/clpqr/arith.pl 68share/Yap/clpq/itf_q.pl
103share/Yap/clpqr/bb.yap 69share/Yap/clpq/nf_q.pl
104share/Yap/clpqr/bv.yap 70share/Yap/clpq/store_q.pl
105share/Yap/clpqr/compenv.pl 71share/Yap/clpqr/README
 72share/Yap/clpqr/class.pl
106share/Yap/clpqr/dump.pl 73share/Yap/clpqr/dump.pl
107share/Yap/clpqr/examples/README 74share/Yap/clpqr/geler.pl
108share/Yap/clpqr/examples/SESSION/010 75share/Yap/clpqr/itf.pl
109share/Yap/clpqr/examples/SESSION/011 76share/Yap/clpqr/ordering.pl
110share/Yap/clpqr/examples/SESSION/012 
111share/Yap/clpqr/examples/SESSION/013 
112share/Yap/clpqr/examples/SESSION/014 
113share/Yap/clpqr/examples/SESSION/015 
114share/Yap/clpqr/examples/SESSION/016 
115share/Yap/clpqr/examples/SESSION/017 
116share/Yap/clpqr/examples/SESSION/018 
117share/Yap/clpqr/examples/SESSION/019 
118share/Yap/clpqr/examples/SESSION/020 
119share/Yap/clpqr/examples/SESSION/021 
120share/Yap/clpqr/examples/SESSION/022 
121share/Yap/clpqr/examples/SESSION/023 
122share/Yap/clpqr/examples/SESSION/024 
123share/Yap/clpqr/examples/SESSION/030 
124share/Yap/clpqr/examples/SESSION/031 
125share/Yap/clpqr/examples/SESSION/032 
126share/Yap/clpqr/examples/SESSION/033 
127share/Yap/clpqr/examples/SESSION/034 
128share/Yap/clpqr/examples/SESSION/035 
129share/Yap/clpqr/examples/SESSION/110 
130share/Yap/clpqr/examples/SESSION/111 
131share/Yap/clpqr/examples/SESSION/112 
132share/Yap/clpqr/examples/SESSION/113 
133share/Yap/clpqr/examples/SESSION/114 
134share/Yap/clpqr/examples/SESSION/115 
135share/Yap/clpqr/examples/SESSION/116 
136share/Yap/clpqr/examples/SESSION/117 
137share/Yap/clpqr/examples/SESSION/118 
138share/Yap/clpqr/examples/SESSION/119 
139share/Yap/clpqr/examples/SESSION/120 
140share/Yap/clpqr/examples/SESSION/122 
141share/Yap/clpqr/examples/SESSION/123 
142share/Yap/clpqr/examples/SESSION/124 
143share/Yap/clpqr/examples/SESSION/130 
144share/Yap/clpqr/examples/SESSION/131 
145share/Yap/clpqr/examples/SESSION/132 
146share/Yap/clpqr/examples/SESSION/133 
147share/Yap/clpqr/examples/SESSION/134 
148share/Yap/clpqr/examples/SESSION/135 
149share/Yap/clpqr/examples/caneghem.pl 
150share/Yap/clpqr/examples/eliminat.pl 
151share/Yap/clpqr/examples/matmul.pl 
152share/Yap/clpqr/examples/mg.pl 
153share/Yap/clpqr/examples/mip.pl 
154share/Yap/clpqr/examples/monash/README 
155share/Yap/clpqr/examples/monash/air 
156share/Yap/clpqr/examples/monash/amplif 
157share/Yap/clpqr/examples/monash/complex 
158share/Yap/clpqr/examples/monash/critical 
159share/Yap/clpqr/examples/monash/dnf 
160share/Yap/clpqr/examples/monash/fib 
161share/Yap/clpqr/examples/monash/findroot 
162share/Yap/clpqr/examples/monash/invert 
163share/Yap/clpqr/examples/monash/laplace 
164share/Yap/clpqr/examples/monash/mortgage 
165share/Yap/clpqr/examples/monash/nrev 
166share/Yap/clpqr/examples/monash/option 
167share/Yap/clpqr/examples/monash/pictures 
168share/Yap/clpqr/examples/monash/rkf45 
169share/Yap/clpqr/examples/monash/rlc 
170share/Yap/clpqr/examples/monash/smm 
171share/Yap/clpqr/examples/monash/toolpath 
172share/Yap/clpqr/examples/monash/zebra 
173share/Yap/clpqr/examples/root.pl 
174share/Yap/clpqr/examples/simplex.pl 
175share/Yap/clpqr/examples/squares.pl 
176share/Yap/clpqr/expand.yap 
177share/Yap/clpqr/fourmotz.pl 
178share/Yap/clpqr/ineq.yap 
179share/Yap/clpqr/itf3.pl 
180share/Yap/clpqr/monash.pl 
181share/Yap/clpqr/ordering.yap 
182share/Yap/clpqr/printf.pl 
183share/Yap/clpqr/project.pl 77share/Yap/clpqr/project.pl
184share/Yap/clpqr/redund.pl 78share/Yap/clpqr/redund.pl
185share/Yap/clpqr/store.yap 79share/Yap/clpr.pl
186share/Yap/clpr.yap 80share/Yap/clpr/bb_r.pl
187share/Yap/clpr/arith_r.yap 81share/Yap/clpr/bv_r.pl
188share/Yap/clpr/class.yap 82share/Yap/clpr/fourmotz_r.pl
189share/Yap/clpr/geler.yap 83share/Yap/clpr/ineq_r.pl
190share/Yap/clpr/nf.yap 84share/Yap/clpr/itf_r.pl
191share/Yap/clpr/nfr.yap 85share/Yap/clpr/nf_r.pl
 86share/Yap/clpr/store_r.pl
 87share/Yap/dbqueues.yap
 88share/Yap/debug.pl
 89share/Yap/dgraphs.yap
 90share/Yap/error.pl
 91share/Yap/gensym.yap
 92share/Yap/hacks.yap
192share/Yap/heaps.yap 93share/Yap/heaps.yap
193share/Yap/icon_address.pl 94share/Yap/icon_address.pl
 95share/Yap/itries.yap
 96share/Yap/lam_mpi.yap
 97share/Yap/lineutils.yap
 98share/Yap/listing.yap
194share/Yap/lists.yap 99share/Yap/lists.yap
195share/Yap/logtalk.yap 100share/Yap/maplist.pl
196share/Yap/logtalk/logtalk.pl 101share/Yap/matlab.yap
197share/Yap/logtalk/yap.config 102share/Yap/matrix.yap
 103share/Yap/nb.yap
 104share/Yap/occurs.yap
 105share/Yap/operators.pl
 106share/Yap/option.pl
198share/Yap/ordsets.yap 107share/Yap/ordsets.yap
 108share/Yap/pairs.pl
199share/Yap/pillow.pl 109share/Yap/pillow.pl
200share/Yap/pl/arith.yap 110share/Yap/pl/arith.yap
201share/Yap/pl/arrays.yap 111share/Yap/pl/arrays.yap
202share/Yap/pl/boot.yap 112share/Yap/pl/boot.yap
203share/Yap/pl/callcount.yap 113share/Yap/pl/callcount.yap
204share/Yap/pl/checker.yap 114share/Yap/pl/checker.yap
 115share/Yap/pl/chtypes.yap
205share/Yap/pl/consult.yap 116share/Yap/pl/consult.yap
206share/Yap/pl/corout.yap 117share/Yap/pl/corout.yap
207share/Yap/pl/debug.yap 118share/Yap/pl/debug.yap
208share/Yap/pl/depth_bound.yap 119share/Yap/pl/depth_bound.yap
209share/Yap/pl/directives.yap 120share/Yap/pl/directives.yap
 121share/Yap/pl/eam.yap
210share/Yap/pl/errors.yap 122share/Yap/pl/errors.yap
211share/Yap/pl/grammar.yap 123share/Yap/pl/grammar.yap
212share/Yap/pl/ground.yap 124share/Yap/pl/ground.yap
 125share/Yap/pl/hacks.yap
213share/Yap/pl/init.yap 126share/Yap/pl/init.yap
214share/Yap/pl/listing.yap 127share/Yap/pl/listing.yap
215share/Yap/pl/load_foreign.yap 128share/Yap/pl/load_foreign.yap
 129share/Yap/pl/messages.yap
216share/Yap/pl/modules.yap 130share/Yap/pl/modules.yap
217share/Yap/pl/preds.yap 131share/Yap/pl/preds.yap
218share/Yap/pl/profile.yap 132share/Yap/pl/profile.yap
219share/Yap/pl/protect.yap 133share/Yap/pl/protect.yap
220share/Yap/pl/setof.yap 134share/Yap/pl/setof.yap
221share/Yap/pl/signals.yap 135share/Yap/pl/signals.yap
222share/Yap/pl/sockets.yap 136share/Yap/pl/sockets.yap
223share/Yap/pl/sort.yap 137share/Yap/pl/sort.yap
224share/Yap/pl/statistics.yap 138share/Yap/pl/statistics.yap
225share/Yap/pl/strict_iso.yap 139share/Yap/pl/strict_iso.yap
226share/Yap/pl/tabling.yap 140share/Yap/pl/tabling.yap
227share/Yap/pl/threads.yap 141share/Yap/pl/threads.yap
228share/Yap/pl/utils.yap 142share/Yap/pl/utils.yap
229share/Yap/pl/yapor.yap 143share/Yap/pl/yapor.yap
230share/Yap/pl/yio.yap 144share/Yap/pl/yio.yap
231share/Yap/prandom.yap 145share/Yap/prandom.yap
 146share/Yap/prolog_source.pl
 147share/Yap/prolog_xref.pl
232share/Yap/queues.yap 148share/Yap/queues.yap
233share/Yap/random.yap 149share/Yap/random.yap
234share/Yap/rbtrees.yap 150share/Yap/rbtrees.yap
 151share/Yap/readutil.yap
235share/Yap/regexp.yap 152share/Yap/regexp.yap
 153share/Yap/rltree.yap
236share/Yap/splay.yap 154share/Yap/splay.yap
 155share/Yap/stringutils.yap
237share/Yap/swi.yap 156share/Yap/swi.yap
 157share/Yap/swi/apply_macros.pl
238share/Yap/system.yap 158share/Yap/system.yap
239share/Yap/terms.yap 159share/Yap/terms.yap
240share/Yap/timeout.yap 160share/Yap/timeout.yap
241share/Yap/trees.yap 161share/Yap/trees.yap
242share/Yap/tries.yap 162share/Yap/tries.yap
243share/Yap/ugraphs.yap 163share/Yap/ugraphs.yap
 164share/Yap/undgraphs.yap
 165share/Yap/varnumbers.yap
 166share/Yap/wdgraphs.yap
 167share/Yap/wgraphs.yap
 168share/Yap/wundgraphs.yap
244share/Yap/ypp.yap 169share/Yap/ypp.yap

cvs diff -r1.5 -r1.6 pkgsrc/lang/yap/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/yap/distinfo 2006/01/11 18:35:19 1.5
+++ pkgsrc/lang/yap/distinfo 2010/02/11 20:43:49 1.6
@@ -1,8 +1,14 @@ @@ -1,8 +1,14 @@
1$NetBSD: distinfo,v 1.5 2006/01/11 18:35:19 joerg Exp $ 1$NetBSD: distinfo,v 1.6 2010/02/11 20:43:49 asau Exp $
2 2
3SHA1 (Yap-5.0.0-1/Yap-5.0.0.tar.gz) = 56c6ddc976208f66f49c59f2a6787590d1512732 3SHA1 (Yap-5.1.3.tar.gz) = 76c84b32ad8fbe8324a1db370f8440be11398c34
4RMD160 (Yap-5.0.0-1/Yap-5.0.0.tar.gz) = e63d5ecf66dda0fced26afe9dc9afb892a02762b 4RMD160 (Yap-5.1.3.tar.gz) = b2e1153c7a6853a4814a672992d2b8b3834796bc
5Size (Yap-5.0.0-1/Yap-5.0.0.tar.gz) = 3102749 bytes 5Size (Yap-5.1.3.tar.gz) = 3266063 bytes
6SHA1 (patch-aa) = dca2acac805aabd8e2815b509ad516294484ad0f 6SHA1 (patch-aa) = dca2acac805aabd8e2815b509ad516294484ad0f
7SHA1 (patch-ab) = fc4e742886129fac5cbb2195e8aec072c7a3e9ac 7SHA1 (patch-ab) = 76e1a2b4a183215c37ede5c8cbec624e901fe427
8SHA1 (patch-ac) = 4ebf6b8c6c7a9d4cecd2d0d59ee708168c4de60a 8SHA1 (patch-ac) = c0d382127f9bc3a962d01a0da34c99968f7388ab
 9SHA1 (patch-ad) = e3765c0d6729b4d531cdea59dc8e442055091d10
 10SHA1 (patch-ae) = cf4a79ccd0c34e42ca3d8a108619a9974288cde6
 11SHA1 (patch-af) = e49296d42247aec7ead7f65d67a42f93b400ca0f
 12SHA1 (patch-ag) = a9f2bfc921f5c2aaf2a92e6659c54047e5c13321
 13SHA1 (patch-ah) = 572e29729d97d5e9942a3d2c22e121d4e756d648
 14SHA1 (patch-ai) = a702088735520c36ada438e752b1852d9567e5e2

cvs diff -r1.1 -r1.2 pkgsrc/lang/yap/patches/Attic/patch-ab (expand / switch to unified diff)

--- pkgsrc/lang/yap/patches/Attic/patch-ab 2006/01/11 18:35:19 1.1
+++ pkgsrc/lang/yap/patches/Attic/patch-ab 2010/02/11 20:43:49 1.2
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1$NetBSD: patch-ab,v 1.1 2006/01/11 18:35:19 joerg Exp $ 1$NetBSD: patch-ab,v 1.2 2010/02/11 20:43:49 asau Exp $
2 2
3--- H/Yap.h.orig 2006-01-11 18:06:46.000000000 +0000 3--- H/Yap.h.orig 2008-05-23 14:02:13.000000000 +0400
4+++ H/Yap.h 4+++ H/Yap.h 2009-02-06 21:36:00.000000000 +0300
5@@ -237,7 +237,7 @@ extern char Yap_Option[20]; 5@@ -231,7 +231,7 @@
6 #endif 6 #endif
7  7
8 #if !IN_SECOND_QUADRANT 8 #if !defined(IN_SECOND_QUADRANT)
9-#if __linux__ || __FreeBSD__ || __NetBSD__ || mips || __APPLE__ 9-#if __linux__ || __FreeBSD__ || __NetBSD__ || mips || __APPLE__
10+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(mips) || defined(__APPLE__) || defined(__DragonFly__) 10+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(mips) || defined(__APPLE__) || defined(__DragonFly__)
11 #if defined(YAPOR) && defined(__alpha) 11 #if defined(YAPOR) && defined(__alpha)
12  12
13 #define MMAP_ADDR 0x40000000 13 #define MMAP_ADDR 0x40000000
14@@ -641,7 +641,7 @@ typedef enum 14@@ -650,7 +650,7 @@
15 if you place things in the lower addresses (power to the libc people). 15 if you place things in the lower addresses (power to the libc people).
16 */ 16 */
17  17
18-#if (defined(_AIX) || defined(_WIN32) || defined(__APPLE__) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(_POWER) || defined(__linux__) || defined(IN_SECOND_QUADRANT) || defined(__CYGWIN__)) 18-#if (defined(_AIX) || (defined(__APPLE__) && !defined(__LP64__)) || defined(_WIN32) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(_POWER) || defined(__POWERPC__) || defined(__linux__) || defined(IN_SECOND_QUADRANT) || defined(__CYGWIN__))
19+#if (defined(_AIX) || defined(_WIN32) || defined(__APPLE__) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(_POWER) || defined(__linux__) || defined(IN_SECOND_QUADRANT) || defined(__CYGWIN__)) 19+#if (defined(_AIX) || (defined(__APPLE__) && !defined(__LP64__)) || defined(_WIN32) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(_POWER) || defined(__linux__) || defined(IN_SECOND_QUADRANT) || defined(__CYGWIN__))
20 #define USE_LOW32_TAGS 1 20 #define USE_LOW32_TAGS 1
21 #endif 21 #endif
22  22

cvs diff -r1.1 -r1.2 pkgsrc/lang/yap/patches/Attic/patch-ac (expand / switch to unified diff)

--- pkgsrc/lang/yap/patches/Attic/patch-ac 2006/01/11 18:35:19 1.1
+++ pkgsrc/lang/yap/patches/Attic/patch-ac 2010/02/11 20:43:49 1.2
@@ -1,13 +1,13 @@ @@ -1,13 +1,13 @@
1$NetBSD: patch-ac,v 1.1 2006/01/11 18:35:19 joerg Exp $ 1$NetBSD: patch-ac,v 1.2 2010/02/11 20:43:49 asau Exp $
2 2
3--- configure.orig 2006-01-11 18:15:45.000000000 +0000 3--- configure.orig 2008-05-24 02:29:49.000000000 +0400
4+++ configure 4+++ configure 2009-02-06 21:25:15.000000000 +0300
5@@ -6058,7 +6058,7 @@ fi 5@@ -7002,7 +7002,7 @@
6 INSTALL_DLLS="" 6 JAVALIBPATH="-L/System/Library/Frameworks/JavaVM.framework/Libraries"
7 CC="cc -no-cpp-precomp" 7 JAVAINCPATH="-I/System/Library/Frameworks/JavaVM.framework/Headers"
8 ;; 8 ;;
9- *netbsd*|*freebsd*) 9- *netbsd*|*freebsd*)
10+ *netbsd*|*freebsd*|*dragonfly*) 10+ *netbsd*|*freebsd*|*dragonfly*)
11 if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__ 11 if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
12 then 12 then
13 #an a.out system 13 #an a.out system

File Added: pkgsrc/lang/yap/patches/patch-ad
$NetBSD: patch-ad,v 1.1 2010/02/11 20:43:49 asau Exp $

--- C/dlmalloc.c.orig	2008-01-24 03:11:59.000000000 +0300
+++ C/dlmalloc.c	2009-02-06 22:25:05.000000000 +0300
@@ -2508,7 +2508,11 @@
   ------------------------------ mallinfo ------------------------------
 */
 
+#if __STD_C
+struct mallinfo mALLINFo(void)
+#else
 struct mallinfo mALLINFo()
+#endif
 {
   mstate av = get_malloc_state();
   struct mallinfo mi;

File Added: pkgsrc/lang/yap/patches/patch-ae
$NetBSD: patch-ae,v 1.1 2010/02/11 20:43:49 asau Exp $

--- C/c_interface.c.orig	2008-06-17 17:37:48.000000000 +0400
+++ C/c_interface.c	2009-02-06 22:53:50.000000000 +0300
@@ -326,6 +326,9 @@
 #if HAVE_STDARG_H
 #include <stdarg.h>
 #endif
+#if USE_SYSTEM_MALLOC
+#include <stdlib.h>
+#endif
 #if HAVE_STRING_H
 #include <string.h>
 #endif

File Added: pkgsrc/lang/yap/patches/patch-af
$NetBSD: patch-af,v 1.1 2010/02/11 20:43:49 asau Exp $

No "struct mallinfo" on NetBSD (?)

--- H/dlmalloc.h.orig	2005-11-23 06:01:33.000000000 +0300
+++ H/dlmalloc.h	2009-04-19 05:14:25.000000000 +0400
@@ -489,7 +489,7 @@
   HAVE_USR_INCLUDE_MALLOC_H.
 */
 
-#if HAVE_MALLOC_H && !defined(_WIN32)
+#if HAVE_MALLOC_H && !defined(__NetBSD__) && !defined(_WIN32)
 #define HAVE_USR_INCLUDE_MALLOC_H 1
 #endif
 

File Added: pkgsrc/lang/yap/patches/Attic/patch-ag
$NetBSD: patch-ag,v 1.1 2010/02/11 20:43:49 asau Exp $

--- LGPL/chr/Makefile.in.orig	2008-04-03 17:26:38.000000000 +0400
+++ LGPL/chr/Makefile.in	2009-04-19 05:42:22.000000000 +0400
@@ -48,42 +48,42 @@
 		$(srcdir)/Benchmarks/bool.chr $(srcdir)/Benchmarks/family.chr $(srcdir)/Benchmarks/fibonacci.chr $(srcdir)/Benchmarks/leq.chr $(srcdir)/Benchmarks/listdom.chr \
 		$(srcdir)/Benchmarks/chrdif.chr
 
-all:		chr_translate.pl
+all:		chr_translate.pl guard_entailment.pl
 
 chr_translate_bootstrap1.pl: $(srcdir)/chr_translate_bootstrap1.chr
 		$(PL) -f -l chr_swi_bootstrap.yap \
-		      -g "chr_compile_step1('$<','$@'),halt." \
+		      -g "chr_compile_step1('$>','$@'),halt." \
 		      -z 'halt(1).'
 		$(PL) -f -l chr_swi_bootstrap.yap \
-		      -g "chr_compile_step2('$<','$@'),halt." \
+		      -g "chr_compile_step2('$>','$@'),halt." \
 		      -z 'halt(1).'
 
 chr_translate_bootstrap2.pl: $(srcdir)/chr_translate_bootstrap2.chr  chr_translate_bootstrap1.pl
 		$(PL) -f -l chr_swi_bootstrap.yap \
-		      -g "chr_compile_step2('$<','$@'),halt." \
+		      -g "chr_compile_step2('$>','$@'),halt." \
 		      -z 'halt(1).'
 		$(PL) -f -l chr_swi_bootstrap.yap \
-		      -g "chr_compile_step3('$<','$@'),halt." \
+		      -g "chr_compile_step3('$>','$@'),halt." \
 		      -z 'halt(1).'
 
 guard_entailment.pl: $(srcdir)/guard_entailment.chr chr_translate_bootstrap2.pl 
 		$(PL) -f -l chr_swi_bootstrap.yap \
-		      -g "chr_compile_step3('$<','$@'),halt." \
+		      -g "chr_compile_step3('$>','$@'),halt." \
 		      -z 'halt(1).'
 
 chr_translate.pl: $(srcdir)/chr_translate.chr chr_translate_bootstrap2.pl guard_entailment.pl
 		$(PL) -f -l chr_swi_bootstrap.yap \
-		      -g "chr_compile_step3('$<','$@'),halt." \
+		      -g "chr_compile_step3('$>','$@'),halt." \
 		      -z 'halt(1).'
 		$(PL) -f -p chr=. -l chr_swi_bootstrap.yap \
 		      -g "chr_compile_step4('guard_entailment.chr','guard_entailment.pl'),halt." \
 		      -z 'halt(1).'
 		$(PL) -f -p chr=. -l chr_swi_bootstrap.yap \
-		      -g "chr_compile_step4('$<','$@'),halt." \
+		      -g "chr_compile_step4('$>','$@'),halt." \
 		      -z 'halt(1).'
 
 chr.pl:		chr_swi.pl
-		cp $< $@
+		cp $> $@
 
 install:	chr_translate.pl guard_entailment.pl
 		mkdir -p $(DESTDIR)$(CHRDIR)

File Added: pkgsrc/lang/yap/patches/patch-ah
$NetBSD: patch-ah,v 1.1 2010/02/11 20:43:49 asau Exp $

--- library/system/sys.c.orig	2008-05-23 17:16:13.000000000 +0400
+++ library/system/sys.c	2009-04-20 13:00:04.000000000 +0400
@@ -97,6 +97,10 @@
 #if HAVE_TIME_H
 #include <time.h>
 #endif
+#if !HAVE_DAYLIGHT
+time_t _daylight_() { time_t t = time(NULL); return localtime(&t)->tm_gmtoff; }
+#define daylight _daylight_()
+#endif
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif

File Added: pkgsrc/lang/yap/patches/Attic/patch-ai
$NetBSD: patch-ai,v 1.1 2010/02/11 20:43:49 asau Exp $

Disable parts to avoid breakage.

--- Makefile.in.orig	2008-06-04 18:47:18.000000000 +0400
+++ Makefile.in	2009-12-11 05:30:54.000000000 +0300
@@ -659,7 +659,7 @@
 	@INSTALLCLP@(cd LGPL/clp ; make install)
 	@INSTALLCLP@(cd GPL/clpqr ; make install)
 #	(cd CHR ; make install)
-	@INSTALLCLP@(cd LGPL/chr ; make install)
+#	@INSTALLCLP@(cd LGPL/chr ; make install)
 	@INSTALLCLP@(cd CLPBN ; make install)