Opened 2 months ago

Last modified 8 weeks ago

#63280 assigned defect

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) 2 months ago.
Patch to include missing header files

Download all attachments as: .zip

Change History (3)

Changed 2 months ago by juliangilbey (Julian Gilbey)

Patch to include missing header files

comment:1 Changed 2 months ago by ryandesign (Ryan 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 8 weeks 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

Note: See TracTickets for help on using tickets.