From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B29FE1382C5 for ; Fri, 23 Feb 2018 20:37:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7A23E0819; Fri, 23 Feb 2018 20:37:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C574BE0819 for ; Fri, 23 Feb 2018 20:37:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 755B1335C2F for ; Fri, 23 Feb 2018 20:37:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AD611A7 for ; Fri, 23 Feb 2018 20:37:50 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1519418171.ce1aab756c2d45e2b4d297cb98f45595c3dfcc54.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-freebsd/freebsd-lib/files/, sys-freebsd/freebsd-lib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild X-VCS-Directories: sys-freebsd/freebsd-lib/files/ sys-freebsd/freebsd-lib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ce1aab756c2d45e2b4d297cb98f45595c3dfcc54 X-VCS-Branch: master Date: Fri, 23 Feb 2018 20:37:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 09a25a33-f771-4778-98e1-c4d2906ca419 X-Archives-Hash: 2a76372cebb78253b90fd07f8a749efe commit: ce1aab756c2d45e2b4d297cb98f45595c3dfcc54 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 23 07:18:11 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 23 20:36:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1aab75 sys-freebsd/freebsd-lib: Backport Elf_Nhdr support needed for mesa sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch | 10 ++++++++++ .../{freebsd-lib-11.1.ebuild => freebsd-lib-11.1-r1.ebuild} | 1 + 2 files changed, 11 insertions(+) diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch new file mode 100644 index 00000000000..a00df5f66f1 --- /dev/null +++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-11.1-elf-nhdr.patch @@ -0,0 +1,10 @@ +--- a/sys/sys/elf_common.h 2018/01/18 20:45:41 328136 ++++ b/sys/sys/elf_common.h 2018/01/18 21:19:57 328137 +@@ -51,6 +51,7 @@ + u_int32_t n_descsz; /* Length of descriptor. */ + u_int32_t n_type; /* Type of this note. */ + } Elf_Note; ++typedef Elf_Note Elf_Nhdr; + + /* + * Option kinds. diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild similarity index 99% rename from sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild rename to sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild index 61bfeb3924f..e28f2420c1f 100644 --- a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild +++ b/sys-freebsd/freebsd-lib/freebsd-lib-11.1-r1.ebuild @@ -174,6 +174,7 @@ src_prepare() { # patches "${WORKDIR}/include" cd "${WORKDIR}" epatch "${FILESDIR}/${PN}-includes.patch" + epatch "${FILESDIR}/${PN}-11.1-elf-nhdr.patch" # Don't install the hesiod man page or header rm "${WORKDIR}"/include/hesiod.h || die