pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/gdb



Module Name:    pkgsrc
Committed By:   mcf
Date:           Wed Oct  7 04:34:01 UTC 2020

Modified Files:
        pkgsrc/devel/gdb: Makefile PLIST.common distinfo
Added Files:
        pkgsrc/devel/gdb/patches: patch-gdb_doc_Makefile.in

Log Message:
gdb: fix installation of gcore.1 on platforms that support gcore

Previously, gcore.1 was only installed on Linux due to an omission
in gdb/doc/Makefile.in. This caused file-check errors on Linux since
gcore.1 was not mentioned in PLIST.common.

To fix this, apply upstream commit [0] so that gcore.1 is installed
whenever gcore is.

[0] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4b136f6f9aba2122868704bc18fd21e1d232392c


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/devel/gdb/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/gdb/PLIST.common
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/gdb/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/gdb/patches/patch-gdb_doc_Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gdb/Makefile
diff -u pkgsrc/devel/gdb/Makefile:1.71 pkgsrc/devel/gdb/Makefile:1.72
--- pkgsrc/devel/gdb/Makefile:1.71      Mon Aug 31 18:07:20 2020
+++ pkgsrc/devel/gdb/Makefile   Wed Oct  7 04:34:01 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.71 2020/08/31 18:07:20 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2020/10/07 04:34:01 mcf Exp $
 
 DISTNAME=      gdb-8.3.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=gdb/}
 

Index: pkgsrc/devel/gdb/PLIST.common
diff -u pkgsrc/devel/gdb/PLIST.common:1.15 pkgsrc/devel/gdb/PLIST.common:1.16
--- pkgsrc/devel/gdb/PLIST.common:1.15  Tue Oct  6 21:13:38 2020
+++ pkgsrc/devel/gdb/PLIST.common       Wed Oct  7 04:34:01 2020
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST.common,v 1.15 2020/10/06 21:13:38 mcf Exp $
+@comment $NetBSD: PLIST.common,v 1.16 2020/10/07 04:34:01 mcf Exp $
+${PLIST.gcore}bin/gcore
 bin/gdb
 bin/gdb-add-index
 include/gdb/jit-reader.h
 info/annotate.info
 info/gdb.info
 info/stabs.info
+${PLIST.gcore}man/man1/gcore.1
 man/man1/gdb-add-index.1
 man/man1/gdb.1
 man/man1/gdbserver.1
@@ -49,4 +51,3 @@ share/gdb/syscalls/sparc-linux.xml
 share/gdb/syscalls/sparc64-linux.xml
 share/gdb/system-gdbinit/elinos.py
 share/gdb/system-gdbinit/wrs-linux.py
-${PLIST.gcore}bin/gcore

Index: pkgsrc/devel/gdb/distinfo
diff -u pkgsrc/devel/gdb/distinfo:1.34 pkgsrc/devel/gdb/distinfo:1.35
--- pkgsrc/devel/gdb/distinfo:1.34      Sat Apr 11 12:47:28 2020
+++ pkgsrc/devel/gdb/distinfo   Wed Oct  7 04:34:01 2020
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.34 2020/04/11 12:47:28 bsiegert Exp $
+$NetBSD: distinfo,v 1.35 2020/10/07 04:34:01 mcf Exp $
 
 SHA1 (gdb-8.3.1.tar.gz) = 8e68fc5d524caeb6684a8b6ed24e75396e40c471
 RMD160 (gdb-8.3.1.tar.gz) = 82c6d7d2c96b4716f9f338b116122b7395b07e90
 SHA512 (gdb-8.3.1.tar.gz) = e81949fa011046b07ee6886a378bcbd420e4571367005035007dc70f0d28d975d08fb7d9062b49f0a3e6d2ca8149ea60f9ab485ea98a04198d1ca49d38dbd2fe
 Size (gdb-8.3.1.tar.gz) = 38130999 bytes
 SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7
+SHA1 (patch-gdb_doc_Makefile.in) = f7205fe715779e8aed05d230d43320286f74fdd0
 SHA1 (patch-gdb_testsuite_Makefile.in) = 295fa86f16e520a7df907743988cc3dbdb606c2a
 SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb
 SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347

Added files:

Index: pkgsrc/devel/gdb/patches/patch-gdb_doc_Makefile.in
diff -u /dev/null pkgsrc/devel/gdb/patches/patch-gdb_doc_Makefile.in:1.3
--- /dev/null   Wed Oct  7 04:34:01 2020
+++ pkgsrc/devel/gdb/patches/patch-gdb_doc_Makefile.in  Wed Oct  7 04:34:01 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-gdb_doc_Makefile.in,v 1.3 2020/10/07 04:34:01 mcf Exp $
+
+Add missing HAVE_NATIVE_GCORE_HOST variable so that gcore.1 gets
+installed properly on non-Linux platforms.
+
+--- gdb/doc/Makefile.in.orig   Tue Oct  6 09:03:59 2020
++++ gdb/doc/Makefile.in
+@@ -179,6 +179,7 @@ MAN5S = gdbinit.5
+ MANS = $(MAN1S) $(MAN5S)
+ 
+ HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
++HAVE_NATIVE_GCORE_HOST = @HAVE_NATIVE_GCORE_HOST@
+ 
+ ###
+ 



Home | Main Index | Thread Index | Old Index