From owner-svn-ports-all@freebsd.org Sat Sep 10 17:52:32 2016 Return-Path: Delivered-To: svn-ports-all@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 19FB6BD569B; Sat, 10 Sep 2016 17:52:32 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 E99A4FA; Sat, 10 Sep 2016 17:52:31 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8AHqVjl046518; Sat, 10 Sep 2016 17:52:31 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8AHqUur046510; Sat, 10 Sep 2016 17:52:30 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201609101752.u8AHqUur046510@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sat, 10 Sep 2016 17:52:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r421712 - in branches/2016Q3/graphics/OpenEXR: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2016 17:52:32 -0000 Author: mandree Date: Sat Sep 10 17:52:30 2016 New Revision: 421712 URL: https://svnweb.freebsd.org/changeset/ports/421712 Log: MFH: r421626 r421694 Replace objdump by readelf. Fixes build on arm64. While here, refresh patches. PR: 212308 Submitted by: emaste@ Reported by: andrew@ Differential Revision: D7842 Fixup r421626 to unbreak build on newer readelf. Reported by: antoine@ Approved by: portmgr (feld@) Modified: branches/2016Q3/graphics/OpenEXR/Makefile branches/2016Q3/graphics/OpenEXR/files/patch-IlmImfUtil__Makefile.in branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf_ImfFastHuf.cpp branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__ImfSystemSpecific.cpp branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__Makefile.in branches/2016Q3/graphics/OpenEXR/files/patch-exrenvmap__main.cpp branches/2016Q3/graphics/OpenEXR/files/patch-exrmaketiled__main.cpp Directory Properties: branches/2016Q3/ (props changed) Modified: branches/2016Q3/graphics/OpenEXR/Makefile ============================================================================== --- branches/2016Q3/graphics/OpenEXR/Makefile Sat Sep 10 17:03:53 2016 (r421711) +++ branches/2016Q3/graphics/OpenEXR/Makefile Sat Sep 10 17:52:30 2016 (r421712) @@ -73,8 +73,8 @@ post-patch: # library _ilm_libcxx=${COMPILER_FEATURES:Mlib*c++} pre-configure: - @${OBJDUMP} -p ${LOCALBASE}/lib/libImath.so \ - | ${EGREP} -q '^[[:space:]]*NEEDED[[:space:]]+${_ilm_libcxx:C/\+/\\+/g}\.' \ + @${READELF} -d ${LOCALBASE}/lib/libImath.so \ + | ${EGREP} -q '\.*\[${_ilm_libcxx:C/\+/\\+/g}\.' \ || { ${ECHO_CMD} "*** Your ilmbase package uses a different C++ standard library than ***" ; \ ${ECHO_CMD} "*** OpenEXR would. Please recompile and reinstall ilmbase with the ***" ; \ ${ECHO_CMD} "*** same C++ std. library before trying to build OpenEXR. Abort. ***" ; \ Modified: branches/2016Q3/graphics/OpenEXR/files/patch-IlmImfUtil__Makefile.in ============================================================================== --- branches/2016Q3/graphics/OpenEXR/files/patch-IlmImfUtil__Makefile.in Sat Sep 10 17:03:53 2016 (r421711) +++ branches/2016Q3/graphics/OpenEXR/files/patch-IlmImfUtil__Makefile.in Sat Sep 10 17:52:30 2016 (r421712) @@ -1,6 +1,6 @@ ---- ./IlmImfUtil/Makefile.in.orig 2014-08-15 19:35:57.000000000 +0200 -+++ ./IlmImfUtil/Makefile.in 2014-08-15 19:45:15.000000000 +0200 -@@ -265,10 +265,11 @@ +--- IlmImfUtil/Makefile.in.orig 2014-08-10 04:48:23 UTC ++++ IlmImfUtil/Makefile.in +@@ -265,10 +265,11 @@ libIlmImfUtil_la_LDFLAGS = @ILMBASE_LDFL libIlmImfUtil_la_LIBADD = -L$(top_builddir)/IlmImf @ILMBASE_LIBS@ -lIlmImf libIlmImfUtilincludedir = $(includedir)/OpenEXR EXTRA_DIST = CMakeLists.txt Modified: branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf_ImfFastHuf.cpp ============================================================================== --- branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf_ImfFastHuf.cpp Sat Sep 10 17:03:53 2016 (r421711) +++ branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf_ImfFastHuf.cpp Sat Sep 10 17:52:30 2016 (r421712) @@ -1,6 +1,6 @@ ---- IlmImf/ImfFastHuf.cpp.orig 2014-08-10 08:23:56.000000000 +0400 -+++ IlmImf/ImfFastHuf.cpp 2015-04-08 00:10:07.536640000 +0300 -@@ -107,7 +107,7 @@ +--- IlmImf/ImfFastHuf.cpp.orig 2014-08-10 04:23:56 UTC ++++ IlmImf/ImfFastHuf.cpp +@@ -107,7 +107,7 @@ FastHufDecoder::FastHufDecoder for (int i = 0; i <= MAX_CODE_LEN; ++i) { codeCount[i] = 0; @@ -9,7 +9,7 @@ offset[i] = 0; } -@@ -352,7 +352,7 @@ +@@ -352,7 +352,7 @@ FastHufDecoder::buildTables (Int64 *base for (int i = 0; i <= MAX_CODE_LEN; ++i) { @@ -18,7 +18,7 @@ { _ljBase[i] = base[i] << (64 - i); } -@@ -362,7 +362,7 @@ +@@ -362,7 +362,7 @@ FastHufDecoder::buildTables (Int64 *base // Unused code length - insert dummy values // @@ -27,7 +27,7 @@ } } -@@ -417,7 +417,7 @@ +@@ -417,7 +417,7 @@ FastHufDecoder::buildTables (Int64 *base int minIdx = TABLE_LOOKUP_BITS; @@ -36,7 +36,7 @@ minIdx--; if (minIdx < 0) -@@ -427,7 +427,7 @@ +@@ -427,7 +427,7 @@ FastHufDecoder::buildTables (Int64 *base // Set the min value such that the table is never tested. // Modified: branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__ImfSystemSpecific.cpp ============================================================================== --- branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__ImfSystemSpecific.cpp Sat Sep 10 17:03:53 2016 (r421711) +++ branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__ImfSystemSpecific.cpp Sat Sep 10 17:52:30 2016 (r421712) @@ -1,6 +1,6 @@ ---- IlmImf/ImfSystemSpecific.cpp.orig 2014-08-10 08:23:57.000000000 +0400 -+++ IlmImf/ImfSystemSpecific.cpp 2015-04-09 00:08:50.100958000 +0300 -@@ -44,11 +44,23 @@ +--- IlmImf/ImfSystemSpecific.cpp.orig 2014-08-10 04:23:57 UTC ++++ IlmImf/ImfSystemSpecific.cpp +@@ -44,11 +44,23 @@ namespace { // Helper functions for gcc + SSE enabled void cpuid(int n, int &eax, int &ebx, int &ecx, int &edx) { Modified: branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__Makefile.in ============================================================================== --- branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__Makefile.in Sat Sep 10 17:03:53 2016 (r421711) +++ branches/2016Q3/graphics/OpenEXR/files/patch-IlmImf__Makefile.in Sat Sep 10 17:52:30 2016 (r421712) @@ -1,6 +1,6 @@ ---- ./IlmImf/Makefile.in.orig 2014-08-15 19:35:57.000000000 +0200 -+++ ./IlmImf/Makefile.in 2014-08-15 19:45:43.000000000 +0200 -@@ -458,9 +458,10 @@ +--- IlmImf/Makefile.in.orig 2014-08-10 04:48:23 UTC ++++ IlmImf/Makefile.in +@@ -458,9 +458,10 @@ noinst_HEADERS = ImfCompressor.h \ ImfOptimizedPixelReading.h EXTRA_DIST = $(noinst_HEADERS) b44ExpLogTable.cpp b44ExpLogTable.h dwaLookups.cpp dwaLookups.h CMakeLists.txt Modified: branches/2016Q3/graphics/OpenEXR/files/patch-exrenvmap__main.cpp ============================================================================== --- branches/2016Q3/graphics/OpenEXR/files/patch-exrenvmap__main.cpp Sat Sep 10 17:03:53 2016 (r421711) +++ branches/2016Q3/graphics/OpenEXR/files/patch-exrenvmap__main.cpp Sat Sep 10 17:52:30 2016 (r421712) @@ -1,5 +1,5 @@ ---- ./exrenvmap/main.cpp.orig 2013-11-25 20:49:55.000000000 +0100 -+++ ./exrenvmap/main.cpp 2014-03-24 18:28:37.906458972 +0100 +--- exrenvmap/main.cpp.orig 2014-08-10 04:24:00 UTC ++++ exrenvmap/main.cpp @@ -47,6 +47,7 @@ #include Modified: branches/2016Q3/graphics/OpenEXR/files/patch-exrmaketiled__main.cpp ============================================================================== --- branches/2016Q3/graphics/OpenEXR/files/patch-exrmaketiled__main.cpp Sat Sep 10 17:03:53 2016 (r421711) +++ branches/2016Q3/graphics/OpenEXR/files/patch-exrmaketiled__main.cpp Sat Sep 10 17:52:30 2016 (r421712) @@ -1,5 +1,5 @@ ---- ./exrmaketiled/main.cpp.orig 2013-11-25 20:49:56.000000000 +0100 -+++ ./exrmaketiled/main.cpp 2014-03-24 18:28:37.916466529 +0100 +--- exrmaketiled/main.cpp.orig 2014-08-10 04:24:00 UTC ++++ exrmaketiled/main.cpp @@ -43,6 +43,7 @@ #include "makeTiled.h"