Date: Wed, 19 Apr 2023 07:24:09 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270930] x11/xpaint: accommodate legacy source code for llvm [patch] Message-ID: <bug-270930-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270930 Bug ID: 270930 Summary: x11/xpaint: accommodate legacy source code for llvm [patch] Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd@oldach.net Created attachment 241578 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241578&action= =3Dedit patch libtool: compile: cc -DPACKAGE_NAME=3D\"XPaint\" -DPACKAGE_TARNAME=3D\"xpa= int\" -DPACKAGE_VERSION=3D\"2.9.10.3\" "-DPACKAGE_STRING=3D\"XPaint 2.9.10.3\"" -DPACKAGE_BUGREPORT=3D\"Jean-Pierre.demailly@ujf-grenoble.fr\" -DPACKAGE_UR= L=3D\"\" -DPACKAGE=3D\"xpaint\" -DVERSION=3D\"2.9.10.3\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STR= ING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 "-DHAVE_XFT=3D/**/" -DHAVE_LIBZ=3D1 "-DHAVE_PNG_H=3D/**= /" "-DHAVE_PNG=3D/**/" -DHAVE_PNG_GET_VALID=3D1 -DHAVE_PNG_SET_TRNS_TO_ALPHA= =3D1 -DHAVE_JPEG=3D1 -DHAVE_TIFF=3D1 -DHAVE_OPENJPEG_H=3D1 -DHAVE_OPENJPEG=3D1 -DHAVE_SYSLOG_H=3D1 -DHAVE_LANGINFO_H=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_SYS_RE= SOURCE_H=3D1 -I. -I/usr/local/include/openjpeg-1.5 -isystem /usr/local/include -I/usr/include/X11 -g -O2 -fno-strict-aliasing -fPIC -DFEATURE_FRACTAL -DERRORBEEP -DHAVE_ICO -DHAVE_SGI -DHAVE_PGF -DSHAREDIR=3D\"/usr/local/share/xpaint\" -DXPAINT_VERSION=3D\"2.9.10.3\" -D= XAW3D -DXAW3DG -DXAW3DXFT -DXAW_ARROW_SCROLLBARS -DXAW_INTERNATIONALIZATION -I.. -I/usr/include -I/usr/include/X11 -I/usr/include/X11/Xaw3dxft -MT readWriteJP2K.lo -MD -MP -MF .deps/readWriteJP2K.Tpo -c readWriteJP2K.c -f= PIC -DPIC -o .libs/readWriteJP2K.o readWriteJP2K.c:72:52: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'Image *' [-Wint-conversio= n] if ((fp =3D fopen(file_name, "rb")) =3D=3D NULL) return (-1); ^~~~ 1 error generated. *** [readWriteJP2K.lo] Error code 1 Trivial patch (by adding a cast) attached. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270930-7788>