From owner-svn-ports-head@freebsd.org Wed Oct 2 18:35:30 2019 Return-Path: Delivered-To: svn-ports-head@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 4D4501362D3; Wed, 2 Oct 2019 18:35:30 +0000 (UTC) (envelope-from bapt@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 46k4ZV1QQDz3KsQ; Wed, 2 Oct 2019 18:35:30 +0000 (UTC) (envelope-from bapt@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 10ED72FA6D; Wed, 2 Oct 2019 18:35:30 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x92IZTR1033420; Wed, 2 Oct 2019 18:35:29 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x92IZTSo033419; Wed, 2 Oct 2019 18:35:29 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201910021835.x92IZTSo033419@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Wed, 2 Oct 2019 18:35:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513597 - head/ports-mgmt/pkg/files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: head/ports-mgmt/pkg/files X-SVN-Commit-Revision: 513597 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2019 18:35:30 -0000 Author: bapt Date: Wed Oct 2 18:35:29 2019 New Revision: 513597 URL: https://svnweb.freebsd.org/changeset/ports/513597 Log: 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: head/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c (contents, props changed) Added: head/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c Wed Oct 2 18:35:29 2019 (r513597) @@ -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) +