Skip to content

Commit

Permalink
Update to gprolog 1.2.16.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jschauma committed Nov 13, 2002
1 parent 0b8d814 commit 042994f
Show file tree
Hide file tree
Showing 17 changed files with 144 additions and 778 deletions.
10 changes: 5 additions & 5 deletions lang/gprolog/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.3 2001/02/17 09:07:10 agc Exp $
# $NetBSD: Makefile,v 1.4 2002/11/13 20:15:10 jschauma Exp $
#

DISTNAME= gprolog-1.1.6
DISTNAME= gprolog-1.2.16
CATEGORIES= lang
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/contraintes/gnu-prolog/unstable/
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/

MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://gnu-prolog.inria.fr/
Expand All @@ -12,10 +12,10 @@ COMMENT= GNU prolog compiler and interpreter
ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc

GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-install-dir=${PREFIX}/libexec/gprolog-1.1.6 \
CONFIGURE_ARGS+= --with-install-dir=${PREFIX}/libexec/${PKGNAME} \
--with-doc-dir=${PREFIX}/share/doc/gprolog \
--with-html-dir=${PREFIX}/share/doc/html/gprolog \
--with-example-dir=${PREFIX}/share/examples/gprolog \
--with-examples-dir=${PREFIX}/share/examples/gprolog \
--with-c-flags='-O3 -finline-functions -fomit-frame-pointer -D__unix__=1'

WRKSRC= ${WRKDIR}/${DISTNAME}/src
Expand Down
220 changes: 99 additions & 121 deletions lang/gprolog/PLIST
Original file line number Diff line number Diff line change
@@ -1,78 +1,103 @@
@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:23:28 zuntum Exp $
@comment $NetBSD: PLIST,v 1.2 2002/11/13 20:15:11 jschauma Exp $
bin/fd2c
bin/gplc
bin/gprolog
bin/hexgplc
bin/ma2asm
bin/pl2wam
bin/wam2ma
libexec/gprolog-1.1.6/bin/fd2c
libexec/gprolog-1.1.6/bin/gplc
libexec/gprolog-1.1.6/bin/gprolog
libexec/gprolog-1.1.6/bin/hexgplc
libexec/gprolog-1.1.6/bin/ma2asm
libexec/gprolog-1.1.6/bin/pl2wam
libexec/gprolog-1.1.6/bin/wam2ma
libexec/gprolog-1.1.6/include/arch_dep.h
libexec/gprolog-1.1.6/include/atom.h
libexec/gprolog-1.1.6/include/b_params.h
libexec/gprolog-1.1.6/include/bc_supp.h
libexec/gprolog-1.1.6/include/bips_fd.h
libexec/gprolog-1.1.6/include/bips_pl.h
libexec/gprolog-1.1.6/include/bool.h
libexec/gprolog-1.1.6/include/c_supp.h
libexec/gprolog-1.1.6/include/callinf_supp.h
libexec/gprolog-1.1.6/include/dynam_supp.h
libexec/gprolog-1.1.6/include/engine.h
libexec/gprolog-1.1.6/include/engine_fd.h
libexec/gprolog-1.1.6/include/engine_pl.h
libexec/gprolog-1.1.6/include/error_supp.h
libexec/gprolog-1.1.6/include/fd_hook_range.h
libexec/gprolog-1.1.6/include/fd_inst.h
libexec/gprolog-1.1.6/include/fd_range.h
libexec/gprolog-1.1.6/include/fd_to_c.h
libexec/gprolog-1.1.6/include/flag_supp.h
libexec/gprolog-1.1.6/include/foreign_supp.h
libexec/gprolog-1.1.6/include/gp_config.h
libexec/gprolog-1.1.6/include/gprolog.h
libexec/gprolog-1.1.6/include/hash.h
libexec/gprolog-1.1.6/include/if_no_fd.h
libexec/gprolog-1.1.6/include/inl_protos.h
libexec/gprolog-1.1.6/include/linedit.h
libexec/gprolog-1.1.6/include/machine.h
libexec/gprolog-1.1.6/include/machine1.h
libexec/gprolog-1.1.6/include/math_supp.h
libexec/gprolog-1.1.6/include/mem_alloc.h
libexec/gprolog-1.1.6/include/misc.h
libexec/gprolog-1.1.6/include/obj_chain.h
libexec/gprolog-1.1.6/include/oper.h
libexec/gprolog-1.1.6/include/oper_supp.h
libexec/gprolog-1.1.6/include/parse_supp.h
libexec/gprolog-1.1.6/include/pl_params.h
libexec/gprolog-1.1.6/include/pred.h
libexec/gprolog-1.1.6/include/pred_supp.h
libexec/gprolog-1.1.6/include/scan_supp.h
libexec/gprolog-1.1.6/include/stream_supp.h
libexec/gprolog-1.1.6/include/sys_conf.h
libexec/gprolog-1.1.6/include/term_supp.h
libexec/gprolog-1.1.6/include/test_oc_defs.h
libexec/gprolog-1.1.6/include/wam_archi.h
libexec/gprolog-1.1.6/include/wam_inst.h
libexec/gprolog-1.1.6/include/wam_regs.h
libexec/gprolog-1.1.6/include/write_supp.h
libexec/gprolog-1.1.6/lib/all_fd_bips.o
libexec/gprolog-1.1.6/lib/all_pl_bips.o
libexec/gprolog-1.1.6/lib/debugger.o
libexec/gprolog-1.1.6/lib/libbips_fd.a
libexec/gprolog-1.1.6/lib/libbips_pl.a
libexec/gprolog-1.1.6/lib/libengine_fd.a
libexec/gprolog-1.1.6/lib/libengine_pl.a
libexec/gprolog-1.1.6/lib/liblinedit.a
libexec/gprolog-1.1.6/lib/obj_begin.o
libexec/gprolog-1.1.6/lib/obj_end.o
libexec/gprolog-1.1.6/lib/top_level.o
libexec/${PKGNAME}/COPYING
libexec/${PKGNAME}/ChangeLog
share/examples/gprolog/ExamplesC/Makefile
share/examples/gprolog/ExamplesC/README
share/examples/gprolog/ExamplesC/examp.pl
share/examples/gprolog/ExamplesC/examp_c.c
share/examples/gprolog/ExamplesC/new_main.pl
share/examples/gprolog/ExamplesC/new_main_c.c
share/examples/gprolog/ExamplesFD/Makefile
share/examples/gprolog/ExamplesFD/alpha.pl
share/examples/gprolog/ExamplesFD/array.pl
share/examples/gprolog/ExamplesFD/bdiag.pl
share/examples/gprolog/ExamplesFD/bdonald.pl
share/examples/gprolog/ExamplesFD/bpigeon.pl
share/examples/gprolog/ExamplesFD/bqueens.pl
share/examples/gprolog/ExamplesFD/bramsey.pl
share/examples/gprolog/ExamplesFD/bridge.pl
share/examples/gprolog/ExamplesFD/bridge1.pl
share/examples/gprolog/ExamplesFD/bschur.pl
share/examples/gprolog/ExamplesFD/bsend.pl
share/examples/gprolog/ExamplesFD/cars.pl
share/examples/gprolog/ExamplesFD/crypta.pl
share/examples/gprolog/ExamplesFD/digit8.pl
share/examples/gprolog/ExamplesFD/donald.pl
share/examples/gprolog/ExamplesFD/eq10.pl
share/examples/gprolog/ExamplesFD/eq20.pl
share/examples/gprolog/ExamplesFD/five.pl
share/examples/gprolog/ExamplesFD/gardner.pl
share/examples/gprolog/ExamplesFD/magic.pl
share/examples/gprolog/ExamplesFD/magsq.pl
share/examples/gprolog/ExamplesFD/multipl.pl
share/examples/gprolog/ExamplesFD/partit.pl
share/examples/gprolog/ExamplesFD/qg5.pl
share/examples/gprolog/ExamplesFD/queens.pl
share/examples/gprolog/ExamplesFD/queens_fd.fd
share/examples/gprolog/ExamplesFD/send.pl
share/examples/gprolog/ExamplesFD/square.pl
share/examples/gprolog/ExamplesFD/srq.pl
share/examples/gprolog/ExamplesPl/Makefile
share/examples/gprolog/ExamplesPl/PROGS
share/examples/gprolog/ExamplesPl/README
share/examples/gprolog/ExamplesPl/boyer.pl
share/examples/gprolog/ExamplesPl/browse.pl
share/examples/gprolog/ExamplesPl/cal.pl
share/examples/gprolog/ExamplesPl/chat_parser.pl
share/examples/gprolog/ExamplesPl/common.pl
share/examples/gprolog/ExamplesPl/crypt.pl
share/examples/gprolog/ExamplesPl/ham.pl
share/examples/gprolog/ExamplesPl/hook.pl
share/examples/gprolog/ExamplesPl/meta_qsort.pl
share/examples/gprolog/ExamplesPl/nand.pl
share/examples/gprolog/ExamplesPl/nrev.pl
share/examples/gprolog/ExamplesPl/poly_10.pl
share/examples/gprolog/ExamplesPl/qsort.pl
share/examples/gprolog/ExamplesPl/queens.pl
share/examples/gprolog/ExamplesPl/queensn.pl
share/examples/gprolog/ExamplesPl/query.pl
share/examples/gprolog/ExamplesPl/reducer.pl
share/examples/gprolog/ExamplesPl/sdda.pl
share/examples/gprolog/ExamplesPl/sendmore.pl
share/examples/gprolog/ExamplesPl/tak.pl
share/examples/gprolog/ExamplesPl/tak_gvar.pl
share/examples/gprolog/ExamplesPl/zebra.pl
libexec/${PKGNAME}/NEWS
libexec/${PKGNAME}/VERSION
libexec/${PKGNAME}/bin/fd2c
libexec/${PKGNAME}/bin/gplc
libexec/${PKGNAME}/bin/gprolog
libexec/${PKGNAME}/bin/hexgplc
libexec/${PKGNAME}/bin/ma2asm
libexec/${PKGNAME}/bin/pl2wam
libexec/${PKGNAME}/bin/wam2ma
libexec/${PKGNAME}/include/fd_to_c.h
libexec/${PKGNAME}/include/gprolog.h
libexec/${PKGNAME}/lib/all_fd_bips.o
libexec/${PKGNAME}/lib/all_pl_bips.o
libexec/${PKGNAME}/lib/debugger.o
libexec/${PKGNAME}/lib/libbips_fd.a
libexec/${PKGNAME}/lib/libbips_pl.a
libexec/${PKGNAME}/lib/libengine_fd.a
libexec/${PKGNAME}/lib/libengine_pl.a
libexec/${PKGNAME}/lib/liblinedit.a
libexec/${PKGNAME}/lib/obj_begin.o
libexec/${PKGNAME}/lib/obj_end.o
libexec/${PKGNAME}/lib/top_level.o
share/doc/gprolog/compil-scheme.pdf
share/doc/gprolog/debug-box.pdf
share/doc/gprolog/manual.chm
share/doc/gprolog/manual.dvi
share/doc/gprolog/manual.pdf
share/doc/gprolog/manual.ps
share/doc/gprolog/pl-bips.dvi
share/doc/html/gprolog/compil-scheme.gif
share/doc/html/gprolog/contents_motif.gif
share/doc/html/gprolog/debug-box.gif
Expand Down Expand Up @@ -147,64 +172,17 @@ share/doc/html/gprolog/manual066.html
share/doc/html/gprolog/manual067.html
share/doc/html/gprolog/manual068.html
share/doc/html/gprolog/manual069.html
share/doc/html/gprolog/manual070.html
share/doc/html/gprolog/manual071.html
share/doc/html/gprolog/next_motif.gif
share/doc/html/gprolog/previous_motif.gif
share/examples/gprolog/ExamplesFD/Makefile
share/examples/gprolog/ExamplesFD/alpha.pl
share/examples/gprolog/ExamplesFD/array.pl
share/examples/gprolog/ExamplesFD/bdiag.pl
share/examples/gprolog/ExamplesFD/bdonald.pl
share/examples/gprolog/ExamplesFD/bpigeon.pl
share/examples/gprolog/ExamplesFD/bqueens.pl
share/examples/gprolog/ExamplesFD/bramsey.pl
share/examples/gprolog/ExamplesFD/bridge.pl
share/examples/gprolog/ExamplesFD/bridge1.pl
share/examples/gprolog/ExamplesFD/bschur.pl
share/examples/gprolog/ExamplesFD/bsend.pl
share/examples/gprolog/ExamplesFD/cars.pl
share/examples/gprolog/ExamplesFD/crypta.pl
share/examples/gprolog/ExamplesFD/digit8.pl
share/examples/gprolog/ExamplesFD/donald.pl
share/examples/gprolog/ExamplesFD/eq10.pl
share/examples/gprolog/ExamplesFD/eq20.pl
share/examples/gprolog/ExamplesFD/five.pl
share/examples/gprolog/ExamplesFD/gardner.pl
share/examples/gprolog/ExamplesFD/magic.pl
share/examples/gprolog/ExamplesFD/magsq.pl
share/examples/gprolog/ExamplesFD/multipl.pl
share/examples/gprolog/ExamplesFD/partit.pl
share/examples/gprolog/ExamplesFD/qg5.pl
share/examples/gprolog/ExamplesFD/queens.pl
share/examples/gprolog/ExamplesFD/queens_fd.fd
share/examples/gprolog/ExamplesFD/send.pl
share/examples/gprolog/ExamplesFD/square.pl
share/examples/gprolog/ExamplesFD/srq.pl
share/examples/gprolog/ExamplesPl/Makefile
share/examples/gprolog/ExamplesPl/boyer.pl
share/examples/gprolog/ExamplesPl/browse.pl
share/examples/gprolog/ExamplesPl/cal.pl
share/examples/gprolog/ExamplesPl/chat_parser.pl
share/examples/gprolog/ExamplesPl/crypt.pl
share/examples/gprolog/ExamplesPl/ham.pl
share/examples/gprolog/ExamplesPl/meta_qsort.pl
share/examples/gprolog/ExamplesPl/nand.pl
share/examples/gprolog/ExamplesPl/nrev.pl
share/examples/gprolog/ExamplesPl/poly_10.pl
share/examples/gprolog/ExamplesPl/queens.pl
share/examples/gprolog/ExamplesPl/queens8.pl
share/examples/gprolog/ExamplesPl/reducer.pl
share/examples/gprolog/ExamplesPl/sdda.pl
share/examples/gprolog/ExamplesPl/sendmore.pl
share/examples/gprolog/ExamplesPl/tak.pl
share/examples/gprolog/ExamplesPl/tak_gvar.pl
share/examples/gprolog/ExamplesPl/zebra.pl
@dirrm share/doc/html/gprolog
@dirrm share/doc/gprolog
@dirrm libexec/${PKGNAME}/lib
@dirrm libexec/${PKGNAME}/include
@dirrm libexec/${PKGNAME}/bin
@dirrm libexec/${PKGNAME}
@dirrm share/examples/gprolog/ExamplesPl
@dirrm share/examples/gprolog/ExamplesFD
@dirrm share/examples/gprolog/ExamplesC
@dirrm share/examples/gprolog
@dirrm share/doc/html/gprolog
@dirrm share/doc/gprolog
@dirrm libexec/gprolog-1.1.6/lib
@dirrm libexec/gprolog-1.1.6/include
@dirrm libexec/gprolog-1.1.6/bin
@dirrm libexec/gprolog-1.1.6
24 changes: 7 additions & 17 deletions lang/gprolog/distinfo
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
$NetBSD: distinfo,v 1.2 2001/04/19 15:00:51 agc Exp $
$NetBSD: distinfo,v 1.3 2002/11/13 20:15:11 jschauma Exp $

SHA1 (gprolog-1.1.6.tar.gz) = 61578cccaf8fa888dc41519dc3a293658d470219
Size (gprolog-1.1.6.tar.gz) = 1392424 bytes
SHA1 (patch-aa) = 30e60e40beeaadff6ec67c0b7f04df6bdb0fd9d7
SHA1 (patch-ab) = 112857bae84dc0e72a4c31c4131f0ba99d97f817
SHA1 (patch-ac) = b55718ecfab2b4c817316866bcd3f539ced9218a
SHA1 (patch-ad) = e05b23a90f5c4be13bd60fa47147258a2aa6353d
SHA1 (patch-ae) = 46b185aeb644bddeb487335e8c71fd4e5ec43587
SHA1 (patch-af) = 07e0d8296e0fc1134059dfd354f3b3b39e3cc291
SHA1 (patch-ag) = 3bf82fd13451b8c5eb3198ec0e1a94bd1864d174
SHA1 (patch-ah) = 895b36c625d1cb599b448c223f3fd588ecd052a6
SHA1 (patch-ai) = 178cfb03ef829be3aaea14a1e7522ed359266dc0
SHA1 (patch-aj) = 64ab46ac10250b92971fcebee4dd79acd27dd41a
SHA1 (patch-ak) = 9de57154b861372ac9060eb99973f855de56faac
SHA1 (patch-al) = 332a123e2587b3126638f4a48b2077925eed4c45
SHA1 (patch-am) = 52f690c6d58b5d063871d57050170bd444c18eb1
SHA1 (patch-an) = 61bbe4ec61f8b7db13a47f0b9a66ed3e460af823
SHA1 (gprolog-1.2.16.tar.gz) = 128071ff640be38782b943218762e09ef0287dc6
Size (gprolog-1.2.16.tar.gz) = 2478633 bytes
SHA1 (patch-aa) = 11cef0fd91bcfa21c264f5d2f44d1a06c6075177
SHA1 (patch-ae) = 76b3303531f950a57145c4b713559e3fbb98ef10
SHA1 (patch-al) = 5745b485e5cfc82142148f49ab69f307fe7b71cf
SHA1 (patch-an) = 83ad8ca1db7188bca13f1df031ac37399c35f004
22 changes: 6 additions & 16 deletions lang/gprolog/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
$NetBSD: patch-aa,v 1.2 2000/08/25 13:37:51 wiz Exp $
$NetBSD: patch-aa,v 1.3 2002/11/13 20:15:11 jschauma Exp $

--- Ma2Asm/ix86_any.c.orig Thu Apr 6 04:47:50 2000
+++ Ma2Asm/ix86_any.c Fri Jun 30 12:48:40 2000
@@ -39,7 +39,7 @@
--- Ma2Asm/ix86_any.c.orig Wed Nov 13 14:12:33 2002
+++ Ma2Asm/ix86_any.c Wed Nov 13 14:12:46 2002
@@ -38,7 +38,7 @@

#define MAX_C_ARGS_IN_C_CODE 32

-#ifdef M_ix86_cygwin
+#if defined(M_ix86_cygwin) || !defined(__ELF__)
-#if (defined(M_ix86_cygwin) || defined(M_ix86_bsd)) && !defined(__FreeBSD__)
+#if (defined(M_ix86_cygwin) || defined(M_ix86_bsd)) && !defined(__FreeBSD__) && !defined(__NetBSD__)

#define UN "_"

@@ -703,7 +703,9 @@
void Dico_String_Start(int nb_consts)

{
+#if !defined(M_ix86_bsd)
Label_Printf(".section\t.rodata");
+#endif
}


68 changes: 0 additions & 68 deletions lang/gprolog/patches/patch-ab

This file was deleted.

Loading

0 comments on commit 042994f

Please sign in to comment.