From owner-freebsd-ports-bugs@freebsd.org Fri Jul 8 01:34:05 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28812B76335 for ; Fri, 8 Jul 2016 01:34:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EEF51C8F for ; Fri, 8 Jul 2016 01:34:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u681Y4Aq099134 for ; Fri, 8 Jul 2016 01:34:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210876] multimedia/assimp: Update to 3.3 Date: Fri, 08 Jul 2016 01:34:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lightside@gmx.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 01:34:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210876 lightside changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yuri@rawbw.com Attachment #172218| |maintainer-approval?(yuri@r Flags| |awbw.com) --- Comment #3 from lightside --- Created attachment 172218 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172218&action= =3Dedit Proposed patch (since 416829 revision) Hello Yuri Victorovich and Kurt Jaeger. I noticed this PR recently and analyzed changes for v3.3 release tag: https://github.com/assimp/assimp/releases/tag/v3.3 https://github.com/assimp/assimp/compare/v3.2...v3.3 I found, that developers didn't (or forgot to) change ASSIMP_VERSION_MINOR = from 2 to 3: https://github.com/assimp/assimp/blob/19769eef8b9612a82fdb55c245db871476e7f= 178/CMakeLists.txt#L49 while they changed value of MinorVersion variable to 3: https://github.com/assimp/assimp/commit/19769eef8b9612a82fdb55c245db871476e= 7f178 Because of this, I propose to use GH_TAGNAME, in case of possible re-tag: https://github.com/assimp/assimp/compare/v3.2...19769ee The patch in attachment #172181 contains changes for files/patch-include_assimp_Compiler_pstdint.h file, which updates include/assimp/Compiler/pstdint.h file from 0.1.12 (in sources) to 0.1.15.4 version. Looks like, the patch changes whole file, instead of concrete line= s. Therefore, I propose patch, which created by `make makepatch` command, but = with some changes "to remove comments with private information". The 0.1.12 vers= ion (with custom changes, based on private information and strange wording in comments) was proposed by afiskon, for reference: https://github.com/assimp/assimp/issues/795 Also, I think (and tested this), this version doesn't require devel/boost-l= ibs library dependency and BOOST option, while there are some traces of "boost" words in sources, but no ASSIMP_ENABLE_BOOST_WORKAROUND cmake's option, as = it was before 3.3 version. It requires C++11 features: https://github.com/assimp/assimp/blob/19769eef8b9612a82fdb55c245db871476e7f= 178/CMakeLists.txt#L117 which may require to add compiler:c++11-lang to USES. The proposed patch attached, with following changes (including maintainer's changes): - Use GH_TAGNAME for current version - Remove BOOST option and add compiler:c++11-lang to USES - Add sed patch to change ASSIMP_VERSION_MINOR from 2 to 3 for CMakeLists.t= xt file - Add patch for code/BlenderTessellator.cpp file - Adapt patch for include/assimp/Compiler/pstdint.h file - Adapt pkg-plist --=20 You are receiving this mail because: You are the assignee for the bug.=