New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16657 (closed update: fixed)

Opened 5 years ago

Last modified 4 years ago

Updated swi-prolog-lite portfile for version 5.6.61

Reported by: pmoura@… Owned by: ryandesign@…
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

Portfile-swi-prolog-lite.diff (1.2 KB) - added by pmoura@… 5 years ago.

Change History

comment:1 Changed 5 years ago by ryandesign@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to ryandesign@…
  • Port set to swi-prolog-lite

comment:2 Changed 5 years ago by ryandesign@…

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?

comment:3 Changed 5 years ago by pmoura@…

Oops!

comment:4 Changed 5 years ago by ryandesign@…

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 5 years ago by pmoura@…

comment:5 Changed 5 years ago by pmoura@…

Moving the build patches from the swi-prolog portfile seems to fix the problem. See the updated diff file.

comment:6 Changed 5 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Thanks, that seems to work. Committed in r40259.

comment:7 Changed 4 years ago by jmr@…

  • Type changed from enhancement to update

comment:8 Changed 4 years ago by anonymous

  • Milestone Port Updates deleted

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.