Opened 3 years ago

Closed 5 months ago

#63280 closed defect (fixed)

xfractint @20.04p14_0: build error: implicit declaration of function 'xpopup' is invalid in C99

Reported by: juliangilbey (Julian Gilbey) Owned by: jflude
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: catalina bigsur haspatch Cc:
Port: xfractint

Description

The compilation of this port failed with the following error message (in the log file):

:info:build /usr/bin/clang -I../headers -I./headers -DXFRACT -DWITH_XFT  -DNOBST
RING   -g -DBIG_ANSI_C -DLINUX -fno-builtin -I/opt/local/include/X11 -O2   -c -o
 encoder.o encoder.c
:info:build encoder.c:162:7: error: implicit declaration of function 'xpopup' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build       xpopup(cmd);
:info:build       ^
:info:build 1 error generated.

This is due to missing #include directives in both encoder.c and realdos.c. A patch is (or soon will be) attached that fixes this.

Attachments (1)

patch-include-xfcurses-fix.diff (681 bytes) - added by juliangilbey (Julian Gilbey) 3 years ago.
Patch to include missing header files

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by juliangilbey (Julian Gilbey)

Patch to include missing header files

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jflude openmaintainer removed
Keywords: catalina bigsur haspatch added
Owner: set to jflude
Status: newassigned

Thanks. Either you or the maintainer should also report this problem to the developer of xfractint so that they can fix it.

comment:2 Changed 3 years ago by juliangilbey (Julian Gilbey)

Thanks Ryan!

Upstream have a new experimental version which does not seem to have this bug. (The development pace is glacial, incidentally.)

Best wishes, Julian

comment:3 Changed 5 months ago by Justin Flude <jflude@…>

Resolution: fixed
Status: assignedclosed

In c6e4af84c12e5c04aefa645215e63322b9e0896f/macports-ports (master):

xfractint: update to 20.04p16

Closes: #70092
Closes: #63280

Note: See TracTickets for help on using tickets.