The port graphics/libfpx fails to build/update with the following error: [...]. --- olestats.So --- c++ -fpic -DPIC -O2 -pipe -O3 -fstrict-aliasing -march=native -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -O3 -Qunused-arguments -fstack-protector -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -fno-rtti -fno-exceptions -fno-strict-aliasing -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/jpeg -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/basics -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ri_image -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/fpx -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/. -I/u sr/local/include -D_UNIX -stdlib=libc++ -std=c++11 -c /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olestats.cpp -o olestats.So In file included from /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olestats.cpp:40: In file included from /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olestorg.h:25: In file included from /usr/include/c++/v1/fstream:169: In file included from /usr/include/c++/v1/ostream:130: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:433: /usr/include/c++/v1/cwchar:180:106: error: cannot initialize a parameter of type 'const WCHAR *' (aka 'const unsigned short *') with an lvalue of type 'const wchar_t *' inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return ::wcschr(__s, __c);} ^~~ /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/owchar.h:75:42: note: passing argument to parameter 'string' here WCHAR * _CRTAPI1 wcschr ( const WCHAR * string, WCHAR ch ); [... lots more ...] How-To-Repeat: Try updating/building port graphics/lobfpx on freeBSD 10.0-CURRENT
Responsible Changed From-To: freebsd-ports-bugs->mi mi@aldan.algebra.com => mi@ (via the GNATS Auto Assign Tool)
Maintainer of graphics/libfpx, Please note that PR ports/181779 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181779 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Author: mi Date: Wed Sep 11 22:46:00 2013 New Revision: 327016 URL: http://svnweb.freebsd.org/changeset/ports/327016 Log: Update from 1.3.1-2, which is no longer available for download, to 1.3.1-3 -- which contains all of our patches reported to date. Add a patch by stefanf@, which allows the port to build on 10.x Though I'll try to submit the patch upstream as before, I'll try to persuade them to not remove the 1.3.1-3 again after the apply it and "release" 1.3.1-4 PR: 182009, 182005, 181779 Obtained from: stefanf Added: head/graphics/libfpx/files/patch-c++ (contents, props changed) Deleted: head/graphics/libfpx/files/patch-unused-privates head/graphics/libfpx/files/patch-warnings Modified: head/graphics/libfpx/Makefile head/graphics/libfpx/distinfo Modified: head/graphics/libfpx/Makefile ============================================================================== --- head/graphics/libfpx/Makefile Wed Sep 11 22:16:38 2013 (r327015) +++ head/graphics/libfpx/Makefile Wed Sep 11 22:46:00 2013 (r327016) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libfpx -DISTVERSION= 1.3.1-2 +DISTVERSION= 1.3.1-3 CATEGORIES= graphics MASTER_SITES= http://imagemagick.mirrorcatalogs.com/delegates/ \ http://www.imagemagick.org/download/delegates/ \ @@ -17,6 +17,7 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= Library routines for working with Flashpix images USE_XZ= yes +MAKE_JOBS_UNSAFE=yes PLIST_FILES= lib/libfpx.so.2 lib/libfpx.so lib/libfpx.a include/fpxlib.h USE_LDCONFIG= yes Modified: head/graphics/libfpx/distinfo ============================================================================== --- head/graphics/libfpx/distinfo Wed Sep 11 22:16:38 2013 (r327015) +++ head/graphics/libfpx/distinfo Wed Sep 11 22:46:00 2013 (r327016) @@ -1,2 +1,2 @@ -SHA256 (libfpx-1.3.1-2.tar.xz) = 61c6332e8049460bebd9148589ffaad45a3849f0bf5f2dd8a79fefe9ac9ab0b0 -SIZE (libfpx-1.3.1-2.tar.xz) = 1892952 +SHA256 (libfpx-1.3.1-3.tar.xz) = cb82d8d90a0f195abcb6c0f1dc4cf181e9569f8f28d96969ed8378938641847a +SIZE (libfpx-1.3.1-3.tar.xz) = 1892860 Added: head/graphics/libfpx/files/patch-c++ ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/libfpx/files/patch-c++ Wed Sep 11 22:46:00 2013 (r327016) @@ -0,0 +1,10 @@ +--- oless/h/owchar.h 2013-09-03 13:38:08.000000000 -0400 ++++ oless/h/owchar.h 2013-09-11 18:31:34.000000000 -0400 +@@ -24,6 +24,6 @@ + #include <stdarg.h> + +- + #ifdef __cplusplus ++#include <string> + extern "C" { + #endif _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed A fix for this problem was added. Thanks!