From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3898058973 for ; Fri, 22 Jan 2016 17:55:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1F9821C007; Fri, 22 Jan 2016 17:55:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47DEF21C007 for ; Fri, 22 Jan 2016 17:55:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43EF23405BB for ; Fri, 22 Jan 2016 17:55:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4087F1017 for ; Fri, 22 Jan 2016 17:55:53 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1453485835.1c3b2e29bc638ba7a8691d6fb9bce0a6ae1e0fa7.blueness@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: sys-devel/gdb/files/, sys-devel/gdb/ X-VCS-Repository: proj/musl X-VCS-Files: sys-devel/gdb/Manifest sys-devel/gdb/files/gdb-7.4-linux-nat.patch sys-devel/gdb/files/gdb-linux_nat.patch sys-devel/gdb/gdb-7.10.1-r99.ebuild sys-devel/gdb/gdb-7.9.1-r99.ebuild X-VCS-Directories: sys-devel/gdb/ sys-devel/gdb/files/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 1c3b2e29bc638ba7a8691d6fb9bce0a6ae1e0fa7 X-VCS-Branch: master Date: Fri, 22 Jan 2016 17:55:53 +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: 4b31c672-8afc-4b17-bbc9-1aff4e3ab5f2 X-Archives-Hash: 015a4c8eb7496f5b898c06af3bb5ca66 commit: 1c3b2e29bc638ba7a8691d6fb9bce0a6ae1e0fa7 Author: Felix Janda posteo de> AuthorDate: Sat Jan 16 16:56:03 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Jan 22 18:03:55 2016 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=1c3b2e29 sys-devel/gdb: bump to 7.10.1 sys-devel/gdb/Manifest | 6 ++-- sys-devel/gdb/files/gdb-7.4-linux-nat.patch | 32 ---------------------- sys-devel/gdb/files/gdb-linux_nat.patch | 26 ++++++++++++++++++ ...{gdb-7.9.1-r99.ebuild => gdb-7.10.1-r99.ebuild} | 13 ++++++++- 4 files changed, 41 insertions(+), 36 deletions(-) diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index 0ccc39f..7081b6b 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -1,4 +1,4 @@ -AUX gdb-7.4-linux-nat.patch 778 SHA256 26d5bb6567c66300cf59380da18e790ee5a5d20b7be3c90e4cd0012e244ba306 SHA512 6aab4819bec533623b3b57e5fab43681693c350889c77749fa242b7d6131b6c026f029f5efca5d0b5ca162fa9c11cd00b18a402c05b44866de5e36bf8380f75e WHIRLPOOL ecb605f5e02d25416e8ab146bcade3aee0f6a5662557878176d9cb68d733c2e1433050e9a8389ce05cc79cdc0077b482fbed7d8a3e91c16994ecb3044b3f309f -DIST gdb-7.9.1.tar.xz 17867692 SHA256 cd9c543a411a05b2b647dd38936034b68c2b5d6f10e0d51dc168c166c973ba40 SHA512 eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414 WHIRLPOOL fe7afb392f453fa5aab290da3b74118c4e3bbae6f4e276f2efd7f978e3987e031d92ecd90d35e0531901f1cf68b04a313df050b25bb3b632d1b6e62360acd591 -EBUILD gdb-7.9.1-r99.ebuild 5942 SHA256 eda617d3ddbf8c4e2fb35cb2ae06f7d48567e6a80f3b98434f0cfee8645db2db SHA512 988ddd9d14a671dd77dbe3ad87cb816b69631f70280ed3dd586705544260dbf0579bc85714be6c067a9f2ed54180136f05fe8c02510fac991885f6751b5055a0 WHIRLPOOL 9cf42b82d51a8ed6eed65b80db7ba26c302cf5f4a7105276b86f9c93de07e382291b10fbe2150b1f3700a3f0640e850bc61fae8843600f282ff5e9bf4aaebcd4 +AUX gdb-linux_nat.patch 617 SHA256 dcef02741f402ad34c658a90b85667e93e1d3293fe2941acd5b6821b349a1532 SHA512 1d5ecce8c1b597f12298d17bae308e332cb0dbae56b08c3da7829ab6a473f1b20e8e6572bab45bce5942771753604b7a9541c809f2a86d4beb38ff98b0be4bfe WHIRLPOOL c1d2a91f743e04f429ec423663a090a99878229f4d4e3aa207951e1db58892648464ea50fde03d5eaf05ccf2541a8ad2a7ff67d2e86115a3e66dd9a8bd32b9b4 +DIST gdb-7.10.1.tar.xz 18531436 SHA256 25c72f3d41c7c8554d61cacbeacd5f40993276d2ccdec43279ac546e3993d6d5 SHA512 17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010 WHIRLPOOL 02936f59d3f3f8a57966c72402f1da128dd8e10e686097ffdb3a2741cc0c1831ef27f97daa047fa006ff2ae9f79ae0480f6f0dc2d3f5904190a1dade0590c837 +EBUILD gdb-7.10.1-r99.ebuild 6322 SHA256 205748b237abb70497af968145c658ceca6c8a55b5363bc9f1b6e50de52fd2ef SHA512 bcaf12607ec310d971537a410dc92b5872724b9d601118985796cd4a98dac9e814210c1758333f24223ec4dc6124ee705e56246acdf10b6205bbb8179e510425 WHIRLPOOL 660de27e3452e48efebae2357f59cd5d57ecf246dfe8f3a1614987d86b6110c9e1a31ebe72c5bbb84e2f7c452b6d4fb97b1ec4f8f3ed5a62722d7789a9833e00 MISC metadata.xml 552 SHA256 e86791dadf315a7a079e460854bcc4a28d7c69a93694efc85014b325824b81cf SHA512 bb4901b011b63137fb7e359ff657fbe8aa2bd7d36a78be397c163a0bd37486a32bddf4929ab5a2a3b7b7d52f3c2edd69ce18d4bb5e2f56b45d43bb59cb54f686 WHIRLPOOL 214e51279eed4230ed8cba15e42581213428ff06c32ad7832b17c1af6c2eae351a843aae51d78a99486b5bbfea2369faa4aaa4b99cae1ce7a41da5748d8e2211 diff --git a/sys-devel/gdb/files/gdb-7.4-linux-nat.patch b/sys-devel/gdb/files/gdb-7.4-linux-nat.patch deleted file mode 100644 index 30bfbc8..0000000 --- a/sys-devel/gdb/files/gdb-7.4-linux-nat.patch +++ /dev/null @@ -1,32 +0,0 @@ -taken from sabotage linux - -the first chunk fixes build errors, -the non_stop part below fixes thread debugging being available -by default without setting any breakpoints or usage of libthread_db. - ---- gdb-7.4.org/gdb/linux-nat.c 2013-08-10 05:24:24.651000003 +0000 -+++ gdb-7.4/gdb/linux-nat.c 2013-08-10 05:25:50.966000003 +0000 -@@ -71,6 +71,14 @@ - # endif - #endif /* HAVE_PERSONALITY */ - -+#ifndef __SIGRTMIN -+#define __SIGRTMIN SIGRTMIN -+#endif -+ -+#ifndef W_STOPCODE -+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) -+#endif -+ - /* This comment documents high-level logic of this file. - - Waiting for events in sync mode -@@ -2265,7 +2273,7 @@ - status = 0; - } - -- if (non_stop) -+ if (1) - { - /* Add the new thread to GDB's lists as soon as possible - so that: diff --git a/sys-devel/gdb/files/gdb-linux_nat.patch b/sys-devel/gdb/files/gdb-linux_nat.patch new file mode 100644 index 0000000..6a7276c --- /dev/null +++ b/sys-devel/gdb/files/gdb-linux_nat.patch @@ -0,0 +1,26 @@ +--- ./gdb/linux-nat.c.orig ++++ ./gdb/linux-nat.c +@@ -169,6 +169,10 @@ + #define O_LARGEFILE 0 + #endif + ++#ifndef W_STOPCODE ++#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) ++#endif ++ + /* The single-threaded native GNU/Linux target_ops. We save a pointer for + the use of the multi-threaded target. */ + static struct target_ops *linux_ops; +@@ -4875,10 +4879,10 @@ + fortunately they don't change! */ + + if (restart == 0) +- restart = __SIGRTMIN; ++ restart = SIGRTMIN; + + if (cancel == 0) +- cancel = __SIGRTMIN + 1; ++ cancel = SIGRTMIN + 1; + + sigaddset (set, restart); + sigaddset (set, cancel); diff --git a/sys-devel/gdb/gdb-7.9.1-r99.ebuild b/sys-devel/gdb/gdb-7.10.1-r99.ebuild similarity index 93% rename from sys-devel/gdb/gdb-7.9.1-r99.ebuild rename to sys-devel/gdb/gdb-7.10.1-r99.ebuild index b8dcce4..45d11b1 100644 --- a/sys-devel/gdb/gdb-7.9.1-r99.ebuild +++ b/sys-devel/gdb/gdb-7.10.1-r99.ebuild @@ -92,7 +92,7 @@ src_prepare() { [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch "${FILESDIR}"/${PN}-7.4-linux-nat.patch + epatch "${FILESDIR}"/${PN}-linux_nat.patch epatch_user strip-linguas -u bfd/po opcodes/po @@ -105,6 +105,7 @@ gdb_branding() { else printf "vanilla" fi + [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}" } src_configure() { @@ -145,6 +146,8 @@ src_configure() { --enable-64-bit-bfd --disable-install-libbfd --disable-install-libiberty + # Disable guile for now as it requires guile-2.x #562902 + --without-guile # This only disables building in the readline subdir. # For gdb itself, it'll use the system version. --disable-readline @@ -172,6 +175,14 @@ src_install() { use client && find "${ED}"/usr -name libiberty.a -delete cd "${S}" + # Delete translations that conflict with binutils-libs. #528088 + # Note: Should figure out how to store these in an internal gdb dir. + if use nls ; then + find "${ED}" \ + -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ + -delete + fi + # Don't install docs when building a cross-gdb if [[ ${CTARGET} != ${CHOST} ]] ; then rm -r "${ED}"/usr/share/{doc,info,locale}