Date: Wed, 2 Oct 2019 18:35:29 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513597 - head/ports-mgmt/pkg/files Message-ID: <201910021835.x92IZTSo033419@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910021835.x92IZTSo033419>