From nobody Thu Oct 20 07:22:23 2022 X-Original-To: dev-commits-ports-main@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 4MtJvg4z32z4g4Ht; Thu, 20 Oct 2022 07:22:23 +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 4MtJvg4XCfz453D; Thu, 20 Oct 2022 07:22:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666250543; 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=+Wb37Kyc2hCpzUCA0+82fu5cT5prbehoYTh92FFVF+A=; b=RGwyeqOS9k10z8wS6zguAAb/rOAiVIGtKO3gtG7tSxHaEDAFM554HBTkW67/BlZAmA5tc9 phBaiM3IS79GFeCgnMvzXE5XttU8pjH/M6W+nupzOibFMJKK4pAxr4fRaKBldDlT+cU26W KGf8+TB23jnK9vLTzrhW3a/SvHpdR79bk/NmKqhMNsKOAxk3jzIJDWpjw2Dmr3ewKoKGXe qKlRSv2Z210UZ2UVLF4bexQS2IAFdebY4HarjsfnGF1FK0tZ9zyjbG3A1Sb/NWxKP23OjB FlMA9nVakqkYDqfm4ACmSi78cW+iWEnjlt9Iwqk1FM5Gt3OSjhXzcED4aMg9sg== 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 4MtJvg3b1Hznv8; Thu, 20 Oct 2022 07:22:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29K7MNVV017777; Thu, 20 Oct 2022 07:22:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29K7MNUQ017776; Thu, 20 Oct 2022 07:22:23 GMT (envelope-from git) Date: Thu, 20 Oct 2022 07:22:23 GMT Message-Id: <202210200722.29K7MNUQ017776@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Luca Pizzamiglio Subject: git: 60077ba44d8c - main - devel/gdb: Fix support to readline 8.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pizzamig X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 60077ba44d8cd1b2f5a9bce9cb2ff060b1637108 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666250543; 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=+Wb37Kyc2hCpzUCA0+82fu5cT5prbehoYTh92FFVF+A=; b=wVUiY5qLWKVkuUBd/iqqLWefnwEq3Qz/aR4HBSYm94NJDji1fNK9RQpsQ4WcDv8x1MCQdf 3hA3UIsCDxPT1sJzv6lfF78PYK/30/JpF/Db54Dh98wT7n5tw50FNFKKyvRYqCskivouOT Fu1iC619h+l8vTGVd4WL4DsXQL6xn2NzeZV4y0g6L4jtedVZ5Xnz/bCcwaM/sS32q+4aBp ZFYME0/9p/5oWDqK68vGOhaVMyF34o6jYi9ZHNkrUICJ3QcZC1Lo45R9mQv4egxc6R/20K lAqmdww5Ay9U9MFliw81CT0sBlo4LWoL7UBQPQHxdnUiij9DWJ2l39xkBoIY8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666250543; a=rsa-sha256; cv=none; b=ckN5XE4JKAdrfZEqJu8SiKsxY89LYxZ9DGdKn/iHv3urV8qVpLEMMkqhBUiAUx5ZB53BlX PaS0oAVu5WN8RwnJmMiPcE7UPHtr5hIwWP+mcEHi93++xHDQXfZCoqOU1neGsQnIMd3mX7 FQuFdIyFOUl+0salpwrdI+mvpo9QoDUl1pE3kB7nq/thqdl/4fjqkyooBGHsMfhtk5DOWE fvVc2mpsVv2VEfMb+Dqm8I2QNX0gyLMhOgurkvLA2y0QGOsdBIwggMyC2ph2Th6fg1ioz9 X+eSwYLo6jtmSRgiDHZHdajmwX1ul2O8Rfqt4VNHt/hOP0qkd03H1KKvFtrXLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pizzamig: URL: https://cgit.FreeBSD.org/ports/commit/?id=60077ba44d8cd1b2f5a9bce9cb2ff060b1637108 commit 60077ba44d8cd1b2f5a9bce9cb2ff060b1637108 Author: Luca Pizzamiglio AuthorDate: 2022-10-20 07:21:15 +0000 Commit: Luca Pizzamiglio CommitDate: 2022-10-20 07:21:15 +0000 devel/gdb: Fix support to readline 8.2 While here, half fix a warning in kgdb --- devel/gdb/Makefile | 2 +- devel/gdb/files/kgdb/fbsd-kvm.c | 4 ++-- devel/gdb/files/patch-gdb-completer.c | 11 +++++++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile index fc967cbdb352..940947366000 100644 --- a/devel/gdb/Makefile +++ b/devel/gdb/Makefile @@ -1,6 +1,6 @@ PORTNAME= gdb DISTVERSION= 12.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GNU diff --git a/devel/gdb/files/kgdb/fbsd-kvm.c b/devel/gdb/files/kgdb/fbsd-kvm.c index e1166a54d52e..9ea3ca250540 100644 --- a/devel/gdb/files/kgdb/fbsd-kvm.c +++ b/devel/gdb/files/kgdb/fbsd-kvm.c @@ -498,7 +498,7 @@ fbsd_kvm_target::update_thread_list() #endif #if 0 struct target_ops *tb; - + if (kvm != NULL) return; @@ -511,7 +511,7 @@ fbsd_kvm_target::update_thread_list() std::string fbsd_kvm_target::pid_to_str(ptid_t ptid) { - return string_printf (_("Thread %ld"), ptid.tid ()); + return string_printf (_("Thread %llu"), ptid.tid ()); } bool diff --git a/devel/gdb/files/patch-gdb-completer.c b/devel/gdb/files/patch-gdb-completer.c new file mode 100644 index 000000000000..2611359b7424 --- /dev/null +++ b/devel/gdb/files/patch-gdb-completer.c @@ -0,0 +1,11 @@ +--- gdb/completer.c.orig 2022-10-18 21:49:26.647324000 +0200 ++++ gdb/completer.c 2022-10-18 22:07:35.218698000 +0200 +@@ -2011,7 +2011,7 @@ + rl_basic_quote_characters = NULL; + } + +- return rl_completer_word_break_characters; ++ return (char *)rl_completer_word_break_characters; + } + + char *