#16657 closed update (fixed)
Updated swi-prolog-lite portfile for version 5.6.61
Reported by: | pmoura (Paulo Moura) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | swi-prolog-lite |
Description
Updated swi-prolog-lite portfile for version 5.6.61.
Attachments (1)
Change History (9)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | swi-prolog-lite added |
Status: | new → assigned |
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Odd. swi-prolog 5.6.61 built with no trouble but swi-prolog-lite 5.6.61 has this complaint:
/usr/bin/gcc-4.0 -c -I. -I/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_swi-prolog-lite/work/pl-5.6.61/src -I/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_swi-prolog-lite/work/pl-5.6.61/src/rc -Wall -O3 -fno-strict-aliasing -O2 -no-cpp-precomp -fno-common pl-rl.c -o pl-rl.o pl-rl.c: In function 'rl_sighandler': pl-rl.c:309: warning: implicit declaration of function 'rl_free_line_state' pl-rl.c:332: warning: implicit declaration of function 'rl_reset_after_signal' pl-rl.c: In function 'event_hook': pl-rl.c:364: warning: implicit declaration of function 'rl_set_prompt' pl-rl.c:365: warning: implicit declaration of function 'rl_forced_update_display' pl-rl.c: In function 'Sread_readline': pl-rl.c:463: warning: implicit declaration of function 'rl_discard_argument' pl-rl.c: In function 'prolog_complete': pl-rl.c:513: warning: implicit declaration of function 'rl_delete_text' pl-rl.c: In function 'prolog_completion': pl-rl.c:544: warning: implicit declaration of function 'rl_completion_matches' pl-rl.c:545: error: 'rl_filename_completion_function' undeclared (first use in this function) pl-rl.c:545: error: (Each undeclared identifier is reported only once pl-rl.c:545: error: for each function it appears in.) pl-rl.c:545: warning: assignment makes pointer from integer without a cast pl-rl.c:548: warning: assignment makes pointer from integer without a cast pl-rl.c: In function 'PL_install_readline': pl-rl.c:563: error: 'rl_catch_signals' undeclared (first use in this function) pl-rl.c:571: warning: passing argument 2 of 'rl_add_defun' from incompatible pointer type pl-rl.c:573: error: 'rl_insert_close' undeclared (first use in this function) make: *** [pl-rl.o] Error 1
This is on Mac OS X 10.4.11 Intel with Xcode 2.5.
Changed 16 years ago by pmoura (Paulo Moura)
Attachment: | Portfile-swi-prolog-lite.diff added |
---|
comment:5 Changed 16 years ago by pmoura (Paulo Moura)
Moving the build patches from the swi-prolog portfile seems to fix the problem. See the updated diff file.
comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks, that seems to work. Committed in r40259.
comment:7 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → update |
---|
Note: See
TracTickets for help on using
tickets.
There isn't a patch attached. Should I use the one from #16656 for swi-prolog or will you attach one specific to swi-prolog-lite?