From owner-svn-ports-all@freebsd.org Mon Jan 22 09:45:33 2018 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 72E8EEB6690; Mon, 22 Jan 2018 09:45:33 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E76674582; Mon, 22 Jan 2018 09:45:33 +0000 (UTC) (envelope-from danfe@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7D871188B0; Mon, 22 Jan 2018 09:45:32 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0M9jW65058044; Mon, 22 Jan 2018 09:45:32 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0M9jWXF058042; Mon, 22 Jan 2018 09:45:32 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201801220945.w0M9jWXF058042@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 22 Jan 2018 09:45:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459642 - in head/archivers/upx: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/archivers/upx: . files X-SVN-Commit-Revision: 459642 X-SVN-Commit-Repository: ports 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.25 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: Mon, 22 Jan 2018 09:45:33 -0000 Author: danfe Date: Mon Jan 22 09:45:32 2018 New Revision: 459642 URL: https://svnweb.freebsd.org/changeset/ports/459642 Log: Unbreak the build on sparc64: unlike e.g. on powerpc, gcc on sparc64 does not provide __BIG_ENDIAN__ macro by default. As `archivers/upx' is aware of sparc64 existence, simply tell it that it is big-endian architecture. While here, vocalize installation commands. Modified: head/archivers/upx/Makefile head/archivers/upx/files/patch-src_miniacc.h Modified: head/archivers/upx/Makefile ============================================================================== --- head/archivers/upx/Makefile Mon Jan 22 09:44:42 2018 (r459641) +++ head/archivers/upx/Makefile Mon Jan 22 09:45:32 2018 (r459642) @@ -21,7 +21,6 @@ USE_PERL5= build MAKE_ENV= UPX_UCLDIR=${LOCALBASE}\ UPX_LZMADIR=${WRKDIR}\ target=freebsd -NOT_FOR_ARCHS= sparc64 PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\ README.1ST README.SRC THANKS TODO @@ -31,9 +30,9 @@ PLIST_FILES= bin/upx \ OPTIONS_DEFINE= DOCS do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx - @${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx + ${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Modified: head/archivers/upx/files/patch-src_miniacc.h ============================================================================== --- head/archivers/upx/files/patch-src_miniacc.h Mon Jan 22 09:44:42 2018 (r459641) +++ head/archivers/upx/files/patch-src_miniacc.h Mon Jan 22 09:45:32 2018 (r459642) @@ -9,7 +9,7 @@ # define ACC_OS_POSIX_FREEBSD 1 # define ACC_INFO_OS_POSIX "freebsd" # elif defined(__hpux__) || defined(__hpux) -@@ -1968,7 +1968,7 @@ ACC_COMPILE_TIME_ASSERT_HEADER(ACC_SIZEO +@@ -1968,11 +1968,11 @@ ACC_COMPILE_TIME_ASSERT_HEADER(ACC_SIZEOF_PTRDIFF_T == #elif !(ACC_ABI_BIG_ENDIAN) && !(ACC_ABI_LITTLE_ENDIAN) #if (ACC_ARCH_ALPHA) && (ACC_ARCH_CRAY_MPP) # define ACC_ABI_BIG_ENDIAN 1 @@ -18,3 +18,8 @@ # define ACC_ABI_LITTLE_ENDIAN 1 #elif (ACC_ARCH_ALPHA || ACC_ARCH_AMD64 || ACC_ARCH_BLACKFIN || ACC_ARCH_CRIS || ACC_ARCH_I086 || ACC_ARCH_I386 || ACC_ARCH_MSP430) # define ACC_ABI_LITTLE_ENDIAN 1 +-#elif (ACC_ARCH_AVR32 || ACC_ARCH_M68K || ACC_ARCH_S390 || ACC_ARCH_SPU) ++#elif (ACC_ARCH_AVR32 || ACC_ARCH_M68K || ACC_ARCH_S390 || ACC_ARCH_SPU || ACC_ARCH_SPARC) + # define ACC_ABI_BIG_ENDIAN 1 + #elif 1 && defined(__IAR_SYSTEMS_ICC__) && defined(__LITTLE_ENDIAN__) + # if (__LITTLE_ENDIAN__ == 1)