From owner-svn-ports-all@freebsd.org Thu Oct 3 06:10:37 2019 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 4E77B1293FE; Thu, 3 Oct 2019 06:10:37 +0000 (UTC) (envelope-from antoine@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46kN0Y1QhKz4drw; Thu, 3 Oct 2019 06:10:37 +0000 (UTC) (envelope-from antoine@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 15B1F7C1A; Thu, 3 Oct 2019 06:10:37 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x936AaSo046107; Thu, 3 Oct 2019 06:10:36 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x936AaEx046106; Thu, 3 Oct 2019 06:10:36 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201910030610.x936AaEx046106@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Thu, 3 Oct 2019 06:10:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r513649 - branches/2019Q4/ports-mgmt/pkg/files X-SVN-Group: ports-branches X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: branches/2019Q4/ports-mgmt/pkg/files X-SVN-Commit-Revision: 513649 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.29 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: Thu, 03 Oct 2019 06:10:37 -0000 Author: antoine Date: Thu Oct 3 06:10:36 2019 New Revision: 513649 URL: https://svnweb.freebsd.org/changeset/ports/513649 Log: MFH: r513597 Attempt to fix pkg on mips. Since recently, libarchive is linked to libzstd, which itself uses threads somehow, this make the build of pkg in mips unhappy. Given libpkg is not threadsafe anyway just drop the __thread PR: 240822 Reported by: tech-lists@zyxst.net and mandree Discussed with: jhb Added: branches/2019Q4/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c - copied unchanged from r513597, head/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c Modified: Directory Properties: branches/2019Q4/ (props changed) Copied: branches/2019Q4/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c (from r513597, head/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q4/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c Thu Oct 3 06:10:36 2019 (r513649, copy of r513597, head/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c) @@ -0,0 +1,11 @@ +--- libpkg/pkg_jobs.c.orig 2019-09-18 07:11:10 UTC ++++ libpkg/pkg_jobs.c +@@ -74,7 +74,7 @@ struct pkg_jobs_locked { + int (*locked_pkg_cb)(struct pkg *, void *); + void *context; + }; +-static __thread struct pkg_jobs_locked *pkgs_job_lockedpkg; ++static struct pkg_jobs_locked *pkgs_job_lockedpkg; + + #define IS_DELETE(j) ((j)->type == PKG_JOBS_DEINSTALL || (j)->type == PKG_JOBS_AUTOREMOVE) +