Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2021 00:44:44 GMT
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 802c15cc2875 - main - devel/delve: Update to 1.7.0
Message-ID:  <202107250044.16P0iio7042933@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=802c15cc28758d68ec5c854911a8f3d00ec19d2b

commit 802c15cc28758d68ec5c854911a8f3d00ec19d2b
Author:     Dmitry Wagin <dmitry.wagin@ya.ru>
AuthorDate: 2021-07-25 00:44:10 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-07-25 00:44:10 +0000

    devel/delve: Update to 1.7.0
    
    Changelog:      https://github.com/go-delve/delve/blob/master/CHANGELOG.md#170-2021-07-19
    
    PR:             257350
    Approved by:    lwhsu (mentor, implicit)
---
 devel/delve/Makefile                               |  2 +-
 devel/delve/distinfo                               |  6 +--
 .../files/patch-pkg_proc_native_proc__freebsd.c    | 52 ----------------------
 .../files/patch-pkg_proc_native_proc__freebsd.h    | 10 -----
 4 files changed, 4 insertions(+), 66 deletions(-)

diff --git a/devel/delve/Makefile b/devel/delve/Makefile
index 226c7bf03158..4ec57216c867 100644
--- a/devel/delve/Makefile
+++ b/devel/delve/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	delve
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.6.1
+DISTVERSION=	1.7.0
 CATEGORIES=	devel
 
 MAINTAINER=	dmitry.wagin@ya.ru
diff --git a/devel/delve/distinfo b/devel/delve/distinfo
index 75c3386e726c..6ec9a28789cc 100644
--- a/devel/delve/distinfo
+++ b/devel/delve/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622023017
-SHA256 (go-delve-delve-v1.6.1_GH0.tar.gz) = e73f7fc063632268d3bdf53486aeafd98cceb8f86f4af56903dedfebaefe690d
-SIZE (go-delve-delve-v1.6.1_GH0.tar.gz) = 7686466
+TIMESTAMP = 1626778105
+SHA256 (go-delve-delve-v1.7.0_GH0.tar.gz) = 0504f7ea8d63a8f6eccac9f7071f9ac45f8123151ce53aedbf539f83808d122b
+SIZE (go-delve-delve-v1.7.0_GH0.tar.gz) = 7716801
diff --git a/devel/delve/files/patch-pkg_proc_native_proc__freebsd.c b/devel/delve/files/patch-pkg_proc_native_proc__freebsd.c
deleted file mode 100644
index dc77c6b3591f..000000000000
--- a/devel/delve/files/patch-pkg_proc_native_proc__freebsd.c
+++ /dev/null
@@ -1,52 +0,0 @@
---- pkg/proc/native/proc_freebsd.c.orig	2021-05-19 07:24:05 UTC
-+++ pkg/proc/native/proc_freebsd.c
-@@ -3,11 +3,13 @@
- #include <sys/queue.h>
- #include <sys/sysctl.h>
- #include <sys/user.h>
-+#include <sys/types.h>
- 
- #include <libprocstat.h>
- #include <libutil.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <errno.h>
- 
- #include "proc_freebsd.h"
- 
-@@ -66,21 +68,23 @@ int find_status(int pid){
- 	return (status);
- }
- 
--int get_entry_point(int pid) {
-+uintptr_t get_entry_point(int pid) {
-     void *ep = NULL;
- 
-+    errno = EINVAL;
-+
-     struct procstat *ps = procstat_open_sysctl();
-     if (ps == NULL)
--        return -1;
-+        return 0;
- 
-     uint cnt = 0;
-     struct kinfo_proc *kipp = procstat_getprocs(ps, KERN_PROC_PID, pid, &cnt);
-     if (cnt == 0)
--        return -1;
-+        return 0;
- 
-     Elf_Auxinfo *auxv = procstat_getauxv(ps, kipp, &cnt);
-     if (auxv == NULL)
--        return -1;
-+        return 0;
- 
-     for (int i = 0; i < cnt; i++) {
-         if (auxv[i].a_type == AT_ENTRY) {
-@@ -89,5 +93,6 @@ int get_entry_point(int pid) {
-         }
-     }
-     procstat_freeauxv(ps, auxv);
--    return (int)ep;
-+    errno = 0;
-+    return (uintptr_t)ep;
- }
diff --git a/devel/delve/files/patch-pkg_proc_native_proc__freebsd.h b/devel/delve/files/patch-pkg_proc_native_proc__freebsd.h
deleted file mode 100644
index c5ef91004fed..000000000000
--- a/devel/delve/files/patch-pkg_proc_native_proc__freebsd.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- pkg/proc/native/proc_freebsd.h.orig	2021-05-19 07:24:05 UTC
-+++ pkg/proc/native/proc_freebsd.h
-@@ -1,4 +1,6 @@
-+#include <sys/types.h>
-+
- char * find_command_name(int pid);
- char * find_executable(int pid);
- int find_status(int pid);
--int get_entry_point(int pid);
-+uintptr_t get_entry_point(int pid);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107250044.16P0iio7042933>