[Bug 270930] x11/xpaint: accommodate legacy source code for llvm [patch]
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270930] graphics/xpaint: accommodate legacy source code for llvm [patch]"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270930] graphics/xpaint: accommodate legacy source code for llvm [patch]"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270930] graphics/xpaint: accommodate legacy source code for llvm [patch]"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270930] graphics/xpaint: accommodate legacy source code for llvm [patch]"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 07:24:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270930
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=241578&action=edit
patch
libtool: compile: cc -DPACKAGE_NAME=\"XPaint\" -DPACKAGE_TARNAME=\"xpaint\"
-DPACKAGE_VERSION=\"2.9.10.3\" "-DPACKAGE_STRING=\"XPaint 2.9.10.3\""
-DPACKAGE_BUGREPORT=\"Jean-Pierre.demailly@ujf-grenoble.fr\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"xpaint\" -DVERSION=\"2.9.10.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 "-DHAVE_XFT=/**/" -DHAVE_LIBZ=1 "-DHAVE_PNG_H=/**/"
"-DHAVE_PNG=/**/" -DHAVE_PNG_GET_VALID=1 -DHAVE_PNG_SET_TRNS_TO_ALPHA=1
-DHAVE_JPEG=1 -DHAVE_TIFF=1 -DHAVE_OPENJPEG_H=1 -DHAVE_OPENJPEG=1
-DHAVE_SYSLOG_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_RESOURCE_H=1
-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=\"/usr/local/share/xpaint\" -DXPAINT_VERSION=\"2.9.10.3\" -DXAW3D
-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 -fPIC
-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-conversion]
if ((fp = fopen(file_name, "rb")) == NULL) return (-1);
^~~~
1 error generated.
*** [readWriteJP2K.lo] Error code 1
Trivial patch (by adding a cast) attached.
--
You are receiving this mail because:
You are the assignee for the bug.