From owner-svn-ports-all@freebsd.org Sat Mar 6 00:27:51 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9990E56C7E5; Sat, 6 Mar 2021 00:27:51 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dsln33wnFz4S8d; Sat, 6 Mar 2021 00:27:51 +0000 (UTC) (envelope-from pkubaj@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 7479919A63; Sat, 6 Mar 2021 00:27:51 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 1260RphQ058536; Sat, 6 Mar 2021 00:27:51 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 1260RpYo058535; Sat, 6 Mar 2021 00:27:51 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202103060027.1260RpYo058535@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 6 Mar 2021 00:27:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567444 - in head/devel/folly: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/devel/folly: . files X-SVN-Commit-Revision: 567444 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.34 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, 06 Mar 2021 00:27:51 -0000 Author: pkubaj Date: Sat Mar 6 00:27:50 2021 New Revision: 567444 URL: https://svnweb.freebsd.org/changeset/ports/567444 Log: devel/folly: fix build on powerpc64 QuotientMultiSet doesn't work on big-endian architectures. Approved by: tier 2 blanket MFH: 2021Q1 Added: head/devel/folly/files/patch-folly_experimental_QuotientMultiSet.h (contents, props changed) Modified: head/devel/folly/Makefile Modified: head/devel/folly/Makefile ============================================================================== --- head/devel/folly/Makefile Sat Mar 6 00:25:10 2021 (r567443) +++ head/devel/folly/Makefile Sat Mar 6 00:27:50 2021 (r567444) @@ -36,6 +36,7 @@ CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= FREEBSD_BUILD_EXAMPLES FREEBSD_FOLLY_USE_SYMBOLIZER # enabling symbolizer causes undefined symbol _r_debug, see https://github.com/facebook/folly/issues/1373 CXXFLAGS+= -fPIC +CXXFLAGS_powerpc64= -DFOLLY_QUOTIENT_MULTI_SET_SUPPORTED=0 do-test: @cd ${BUILD_WRKSRC} && \ Added: head/devel/folly/files/patch-folly_experimental_QuotientMultiSet.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/folly/files/patch-folly_experimental_QuotientMultiSet.h Sat Mar 6 00:27:50 2021 (r567444) @@ -0,0 +1,12 @@ +--- folly/experimental/QuotientMultiSet.h.orig 2021-03-06 00:00:24 UTC ++++ folly/experimental/QuotientMultiSet.h +@@ -26,7 +26,9 @@ + #include + + // A 128-bit integer type is needed for fast division. ++#ifndef FOLLY_QUOTIENT_MULTI_SET_SUPPORTED + #define FOLLY_QUOTIENT_MULTI_SET_SUPPORTED FOLLY_HAVE_INT128_T ++#endif + + #if FOLLY_QUOTIENT_MULTI_SET_SUPPORTED +