head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.8 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.6 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.4 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2010Q1:1.6.0.16 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.14 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.12 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.10 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.8 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.6 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.4 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.2 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.4 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2010.05.19.09.10.55; author asau; state dead; branches; next 1.6; 1.6 date 2008.09.07.04.35.41; author dholland; state Exp; branches; next 1.5; 1.5 date 2007.12.01.12.28.02; author rillig; state dead; branches; next 1.4; 1.4 date 2003.07.07.21.31.53; author jtb; state Exp; branches; next 1.3; 1.3 date 2003.06.23.19.48.22; author jtb; state Exp; branches; next 1.2; 1.2 date 2002.11.13.20.15.12; author jschauma; state dead; branches; next 1.1; 1.1 date 2000.07.03.10.27.50; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.07.03.10.27.50; author agc; state Exp; branches; next ; desc @@ 1.7 log @Update to GNU Prolog version 1.3.1. Changes in GNU Prolog version 1.3.1: * add working sigaction detection to detect fault addr (e.g. Mac OS X) * add gplc option --no-mult-warn * add prolog flags suspicious_warning, multifile_warning * detect integer underflow/overflow in the parser * fix a memory leak in catch/3 * increase limits (MAX_VAR_NAME_LENGTH=1024 and MAX_VAR_IN_TERM=10240) * add PL_INT_LOWEST_VALUE and PL_INT_GREATEST_VALUE to gprolog.h * prefix all global symbols, constants and types with Pl_ PL_ Pl * fix a bug in the byte-code due to new max number of atoms * provide a minimal gprolog.h * detect if struct sigcontext needs asm/sigcontext.h on linux * modify gplc: --c-compiler also sets linker and --linker added * port to x86_64/bsd - many thanks to: David Holland * fix problem using ebx as global reg (bug in gcc 4.3.2) * fix a bug in is/2 with [X] (X should only be an integer) * fix a bug with atoms '/*' '*/' and '%' (were not quoted) * increase maximum number of atoms to 1048576 (2^20) * increase default stack sizes (16Mb for heap, 8Mb for others) * fix stack alignment for x86_64/Solaris * include patch from Paul Eggert for sparc/solaris8 * port to x86_64/Solaris - many thanks to: Scott L. Burson * fix a bug in arithmetics (mod) * fix a bug in the FD solver (under 64 bits machines) @ text @$NetBSD: patch-af,v 1.6 2008/09/07 04:35:41 dholland Exp $ --- src/EnginePl/engine.c~ 2007-01-04 05:35:13.000000000 -0500 +++ src/EnginePl/engine.c 2008-09-07 00:10:33.000000000 -0400 @@@@ -455,7 +455,7 @@@@ Call_Prolog_Fail(void) { #ifdef M_ix86_darwin /* see comment in Ma2Asm/ix86_any.c */ asm("subl $4,%esp"); -#elif defined(M_x86_64_linux) /* see comment in Ma2Asm/x86_64_any.c */ +#elif defined(M_x86_64) /* see comment in Ma2Asm/x86_64_any.c */ asm("subq $8,%rsp"); #endif Save_Machine_Regs(p_buff_save); @@@@ -475,7 +475,7 @@@@ Call_Prolog_Success(void) { #ifdef M_ix86_darwin /* see comment in Ma2Asm/ix86_any.c */ asm("subl $4,%esp"); -#elif defined(M_x86_64_linux) /* see comment in Ma2Asm/x86_64_any.c */ +#elif defined(M_x86_64) /* see comment in Ma2Asm/x86_64_any.c */ asm("subq $8,%rsp"); #endif Save_Machine_Regs(p_buff_save); @ 1.6 log @Make this configure for NetBSD amd64. While here, add DESTDIR support. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Updated gprolog to 1.3.0. Change in GNU Prolog version 1.3.0: * official release (Jan 4 2007) * change error messages emitted by the compiler to follow GNU standards * modify doc (mainly rename manual.xxx to gprolog.xxx) * add DESTDIR variable support in main Makefile for staged installs * fix a bug with Prolog floats in x86_64/linux (bad stack alignment) * port for ix86/darwin (Mac OS X) * add check target to main Makefile * improve Win32 ports (cygwin, MinGW, MSVC 6.0 and 2005 Express Edition) (MSVC port uses MinGW as.exe instead of nasm.exe - named mingw-as.exe provided in the setup.exe) * rename call/2 to call_det/2 * implement call/2-11 as will be defined in the next standard * fix various problems when compiling with gcc 4 (gcc 4.1.1) * emit .note.GNU-stack to mark the stack as no executable in x86_any.c, x86_64_any.c and powerpc_any.c * change the way objects are found (obj_chain.c) using gcc ctors * use Doug Lea malloc for OpenBSD (problem with malloc using mmap) * fix problems in various ports: alpha/linux, powerpc/darwin (Mac OS X), sparc/solaris, ix86/OpenBSD Change in GNU Prolog version 1.2.19: * fix 2 bugs in global variables Change in GNU Prolog version 1.2.18: * fix problem when compiling with gcc 3.4.0 * fix bug in term comparison involving negative integers * add consult, ... and fix minor bugs in the Win32 GUI console menu * fix the stack overflow detection under cygwin * port to ix86/MinGW - many thanks to: Cesar Rabak * fix a problem in the port to x86/OpenBSD * port to sparc/NetBSD and powerpc/NetBSD - many thanks to: Jason Beegan * fix a bug in =../2 involving FD variables * fix a bug in arithmetics (in float_{integer/fractional}_part) * fix a bug in FD solver (wrong union with a singleton) Change in GNU Prolog version 1.2.17: * change configure.in: by default ebp is not used * fix a but with CTRL+C handler not reinstalled * fix a bug with _XXX (re)displayed under the top-level * port to x86_64/linux - many thanks to: Gwenole Beauchesne @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.4 2003/07/07 21:31:53 jtb Exp $ d3 9 a11 4 --- EnginePl/engine1.c.orig +++ EnginePl/engine1.c @@@@ -97,7 +97,7 @@@@ d13 8 a20 5 -#ifdef M_sparc +#if defined(M_sparc) && !defined(M_sparc_bsd) register long *rfl asm("%l2") = base_fl; register double *rfd asm("%l3") = base_fd; d22 1 @ 1.4 log @Add support for NetBSD on SPARC systems. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Make this work on powerpc. @ text @d5 1 a5 3 @@@@ -78,7 +78,7 @@@@ register WamWord *rb asm("$9") = reg_bank; ensure_reserved = (WamWord *) rb; /* to avoid gcc warning */ d7 1 a7 2 -#elif defined(M_powerpc_linux) +#elif defined(M_powerpc_linux) || defined(M_powerpc_bsd) d9 5 a13 2 register WamWord *rb asm("15") = reg_bank; ensure_reserved = (WamWord *) rb; /* to avoid gcc warning */ @ 1.2 log @Update to gprolog 1.2.16. NetBSD patches were apparently merged in version 1.1.7 Since then, several releases have been made, so that the list of changes is too extensive to be included here. Please see ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/NEWS and/or the documentation in this package. This addresses PR pkg/18962 by Mr. Jan Schaumann. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2000/07/03 10:27:50 agc Exp $ d3 5 a7 9 --- EnginePl/Makefile.in.orig Wed Jun 28 03:34:38 2000 +++ EnginePl/Makefile.in Fri Jun 30 12:48:42 2000 @@@@ -18,7 +18,7 @@@@ $(LIBNAME): $(OBJLIB) rm -f $(LIBNAME) - $(AR_RC)$(LIBNAME) $(OBJLIB) + $(AR_RC) $(LIBNAME) $(OBJLIB) $(RANLIB) $(LIBNAME) d9 2 d12 2 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import gprolog-1.1.6, the GNU prolog compiler and interpreter, into the Packages Collection. Package created by Brook Milligan (brook@@biology.nmsu.edu) and submitted in PR pkg/10479. Additional Solaris patch by myself. @ text @@