Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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)

Portfile-swi-prolog-lite.diff (1.2 KB) - added by pmoura (Paulo Moura) 16 years ago.

Download all attachments as: .zip

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: newassigned

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

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 16 years ago by pmoura (Paulo Moura)

Oops!

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)

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: assignedclosed

Thanks, that seems to work. Committed in r40259.

comment:7 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:8 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.