From nobody Fri Sep 15 13:27:53 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RnFP55NZfz4tYcy; Fri, 15 Sep 2023 13:27:53 +0000 (UTC) (envelope-from git@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 4RnFP54yDCz3c6c; Fri, 15 Sep 2023 13:27:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694784473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=j70rkSsIC5fV/kmwq+bbiBHx7MFPMkoNU26aFY+JALA=; b=ojSk9XYrJn4XJNuLsibFfAU66LCuHU0MhIFUEsKncpTGfENoqDUhA6komkgAJGlDe/5age 1MZxUiPkK5An0acNXyPHYPooUtmz23X1en8T+Hl4ALrWzUhLNeIM4/14XRynZsbWraBJaa +qc85jKb8noFWtGiEThDDAoNYUL7+D3Sjnmw3W8YJc7JCPoyrWwOrTjEzAa5djTA0GfdDT ruvRH+7sBl8LBSPUM6WXyurligPIJoJ8h8iHLdPkGGnF91RkwapjhmmxkCoGF70rPU4Cix o5mhoqLcZjUEmG521DsdTJ22rvEIj5LXgcUGkMjobRAhz+jL6n0Bdn3zbReGjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694784473; a=rsa-sha256; cv=none; b=sZVPQmnN3zcjnxdd7HKg6ShzgGBxJGkOQlXxNPVFv95DlrYId9MNDMrhMezTT7S4JSH9Ix eTIMvu7/YDKBiv8+l5Vk6yKMg+M3ZPF3hjleIU0O252TF+Nxr48vAh8R7sf9tcFeTve8w2 4hoalmOlcqOlZ89sVgcPTqK4aL3UyZGezrmsiUT+m8af1M/a1AtG+/EzHs67HJCjxfWC5g e5pMdGL9cdoE7x36NKlJQVAbdNwkP/pYz9kX5UHpDMg2TF0vR3z3geun+Wv+h5BY/IXX6v iQ9MVC6PIwXiC4hPjgm75sa+ds9Syq9a91YQmHQQV/BNIG3nptX+tm0U27osZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694784473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=j70rkSsIC5fV/kmwq+bbiBHx7MFPMkoNU26aFY+JALA=; b=bEjZ2N5iOcUYMiZwduaYzCRHj/eJyUSeVMY7qYid3eMWbksy52ybmYu4dz0pGVqILJFwwC ZT778QEz1Mxo4aBFsvc9uYI/AZwqxZh5l/fPg6yd1R1Qh/MHQtIei/8UoBS9NEKJDj7Qlk BJa+UNrk6klIH6fUnz+gDLaczlwtmLYAX9P62Y7jv6D8br+NPQ/+81dyXXX7VV7pqIZV0e VOLu38bAJ0G3aSlUQlupfElwGrnOwQ6bAo6LEugCWOUKyRXx0zzANhhjkDFCxMLk6Npyul Is+VFksbtLAlT/9Z1kgImgXicK8ZfelNVCrLN23E/TqKhn3G0AdK0WqZ3FKjYg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RnFP542D4z9nj; Fri, 15 Sep 2023 13:27:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38FDRrMf022981; Fri, 15 Sep 2023 13:27:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38FDRrTD022978; Fri, 15 Sep 2023 13:27:53 GMT (envelope-from git) Date: Fri, 15 Sep 2023 13:27:53 GMT Message-Id: <202309151327.38FDRrTD022978@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: b259f84ad799 - main - textproc/libxml2: fix build with lld 17 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b259f84ad7999066d9c85b5fcba3fbcb29d41915 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=b259f84ad7999066d9c85b5fcba3fbcb29d41915 commit b259f84ad7999066d9c85b5fcba3fbcb29d41915 Author: Dimitry Andric AuthorDate: 2023-09-14 17:04:19 +0000 Commit: Dimitry Andric CommitDate: 2023-09-15 13:25:49 +0000 textproc/libxml2: fix build with lld 17 Many symbols in the linker version script libxml2.syms are only defined when --with-xptr-locs is enabled at configure time. Since version scripts do not support conditionals, suppress errors with lld >= 17 due to these undefined symbols. PR: 273789 MFH: 2023Q3 Approved by: blanket (for desktop and kde) --- textproc/libxml2/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 831f09d9079f..15eee1cd110c 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -1,6 +1,6 @@ PORTNAME= libxml2 DISTVERSION= 2.10.4 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= textproc gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${DISTVERSION:R}/ DIST_SUBDIR= gnome @@ -30,6 +30,11 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/share/ \ --with-lzma=/usr \ --${LIBXML2_SLAVE:Dwith:Uwithout}-python${LIBXML2_SLAVE:D=${PYTHON_CMD}:U} +# Many symbols in the linker version script libxml2.syms are only defined when +# --with-xptr-locs is enabled at configure time. Suppress errors with lld >= 17 +# due to these undefined symbols. +LDFLAGS+= -Wl,--undefined-version + INSTALL_TARGET= install-strip TEST_TARGET= check