pkgsrc-WIP-changes archive

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

gdb-git: Disable all binutils stuff, fix PLIST



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Sep 5 15:56:23 2017 +0200
Changeset:	de93d6acccf7a77c0eb24de2dd067e8cb1beb3cb

Modified Files:
	gdb-git/Makefile
	gdb-git/PLIST.Linux
	gdb-git/PLIST.common
	gdb-git/distinfo
Added Files:
	gdb-git/patches/patch-gdb_configure.nat

Log Message:
gdb-git: Disable all binutils stuff, fix PLIST

It now build (fixed upstream).
Sync PLIST.common with reality.

Add a local patch with an attempty to disable gcore(1) installation.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=de93d6acccf7a77c0eb24de2dd067e8cb1beb3cb

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

diffstat:
 gdb-git/Makefile                        |  6 ++++++
 gdb-git/PLIST.Linux                     |  1 -
 gdb-git/PLIST.common                    | 25 +++++++++++++++++++++++++
 gdb-git/distinfo                        |  1 +
 gdb-git/patches/patch-gdb_configure.nat | 12 ++++++++++++
 5 files changed, 44 insertions(+), 1 deletion(-)

diffs:
diff --git a/gdb-git/Makefile b/gdb-git/Makefile
index 7ca1f3edb9..40f98bb405 100644
--- a/gdb-git/Makefile
+++ b/gdb-git/Makefile
@@ -26,6 +26,12 @@ TEST_TARGET=		check
 INFO_FILES=		yes
 CONFIGURE_ENV+=		CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
 
+CONFIGURE_ARGS+=	--disable-binutils
+CONFIGURE_ARGS+=	--disable-gprof
+CONFIGURE_ARGS+=	--disable-gold
+CONFIGURE_ARGS+=	--disable-gas
+CONFIGURE_ARGS+=	--disable-ld
+
 # In gdb/configure, depcomp is parsed with sed.
 SUBST_CLASSES+=			fix-depcomp
 SUBST_STAGE.fix-depcomp+=	pre-configure
diff --git a/gdb-git/PLIST.Linux b/gdb-git/PLIST.Linux
index 80740946b5..cdb7b200ad 100644
--- a/gdb-git/PLIST.Linux
+++ b/gdb-git/PLIST.Linux
@@ -1,3 +1,2 @@
 @comment $NetBSD: PLIST.Linux,v 1.1 2013/02/02 05:06:43 makoto Exp $
 bin/gdbserver
-man/man1/gdbserver.1
diff --git a/gdb-git/PLIST.common b/gdb-git/PLIST.common
index 92b27654e5..a548f9fa09 100644
--- a/gdb-git/PLIST.common
+++ b/gdb-git/PLIST.common
@@ -1,24 +1,42 @@
 @comment $NetBSD: PLIST.common,v 1.6 2015/03/15 14:22:19 bsiegert Exp $
 bin/gdb
 include/gdb/jit-reader.h
+include/plugin-api.h
 info/annotate.info
 info/bfd.info
 info/gdb.info
 info/stabs.info
 lib/charset.alias
 man/man1/gdb.1
+man/man1/gdbserver.1
+man/man5/gdbinit.5
+share/gdb/python/gdb/FrameDecorator.py
+share/gdb/python/gdb/FrameIterator.py
 share/gdb/python/gdb/__init__.py
 share/gdb/python/gdb/command/__init__.py
 share/gdb/python/gdb/command/explore.py
+share/gdb/python/gdb/command/frame_filters.py
 share/gdb/python/gdb/command/pretty_printers.py
 share/gdb/python/gdb/command/prompt.py
 share/gdb/python/gdb/command/type_printers.py
+share/gdb/python/gdb/command/unwinders.py
+share/gdb/python/gdb/command/xmethods.py
+share/gdb/python/gdb/frames.py
 share/gdb/python/gdb/function/__init__.py
+share/gdb/python/gdb/function/as_string.py
+share/gdb/python/gdb/function/caller_is.py
 share/gdb/python/gdb/function/strfns.py
+share/gdb/python/gdb/printer/__init__.py
+share/gdb/python/gdb/printer/bound_registers.py
 share/gdb/python/gdb/printing.py
 share/gdb/python/gdb/prompt.py
 share/gdb/python/gdb/types.py
+share/gdb/python/gdb/unwinder.py
+share/gdb/python/gdb/xmethod.py
+share/gdb/syscalls/aarch64-linux.xml
 share/gdb/syscalls/amd64-linux.xml
+share/gdb/syscalls/arm-linux.xml
+share/gdb/syscalls/freebsd.xml
 share/gdb/syscalls/gdb-syscalls.dtd
 share/gdb/syscalls/i386-linux.xml
 share/gdb/syscalls/mips-n32-linux.xml
@@ -26,8 +44,12 @@ share/gdb/syscalls/mips-n64-linux.xml
 share/gdb/syscalls/mips-o32-linux.xml
 share/gdb/syscalls/ppc-linux.xml
 share/gdb/syscalls/ppc64-linux.xml
+share/gdb/syscalls/s390-linux.xml
+share/gdb/syscalls/s390x-linux.xml
 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
 share/locale/da/LC_MESSAGES/bfd.mo
 share/locale/da/LC_MESSAGES/opcodes.mo
 share/locale/de/LC_MESSAGES/opcodes.mo
@@ -38,6 +60,7 @@ share/locale/fi/LC_MESSAGES/opcodes.mo
 share/locale/fr/LC_MESSAGES/bfd.mo
 share/locale/fr/LC_MESSAGES/opcodes.mo
 share/locale/ga/LC_MESSAGES/opcodes.mo
+share/locale/hr/LC_MESSAGES/bfd.mo
 share/locale/id/LC_MESSAGES/bfd.mo
 share/locale/id/LC_MESSAGES/opcodes.mo
 share/locale/it/LC_MESSAGES/opcodes.mo
@@ -48,6 +71,8 @@ share/locale/ro/LC_MESSAGES/bfd.mo
 share/locale/ro/LC_MESSAGES/opcodes.mo
 share/locale/ru/LC_MESSAGES/bfd.mo
 share/locale/rw/LC_MESSAGES/bfd.mo
+share/locale/sr/LC_MESSAGES/bfd.mo
+share/locale/sr/LC_MESSAGES/opcodes.mo
 share/locale/sv/LC_MESSAGES/bfd.mo
 share/locale/sv/LC_MESSAGES/opcodes.mo
 share/locale/tr/LC_MESSAGES/bfd.mo
diff --git a/gdb-git/distinfo b/gdb-git/distinfo
index 6078bb9931..4f6d1f1973 100644
--- a/gdb-git/distinfo
+++ b/gdb-git/distinfo
@@ -4,3 +4,4 @@ SHA1 (gdb-7.9.tar.gz) = 8f89aa6847dc87de2f720779a87ba360bdbc7efd
 RMD160 (gdb-7.9.tar.gz) = 939dda771a073e82e7d72fd584246f3d1d8e9bdc
 Size (gdb-7.9.tar.gz) = 33225783 bytes
 SHA1 (patch-gdb_config_djgpp_djconfig.sh) = 38dd7868eaac20170b96664e0caec1cad86b8b4d
+SHA1 (patch-gdb_configure.nat) = 024f2a503380b9a2f0d0914b860b1aba84d175bd
diff --git a/gdb-git/patches/patch-gdb_configure.nat b/gdb-git/patches/patch-gdb_configure.nat
new file mode 100644
index 0000000000..91babd8d9c
--- /dev/null
+++ b/gdb-git/patches/patch-gdb_configure.nat
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- gdb/configure.nat.orig	2017-09-05 11:19:34.000000000 +0000
++++ gdb/configure.nat
+@@ -68,6 +68,7 @@ case ${gdb_host} in
+ 	;;
+     nbsd*)
+ 	NATDEPFILES='fork-child.o fork-inferior.o inf-ptrace.o'
++	HAVE_NATIVE_GCORE_HOST=1
+ 	;;
+     obsd*)
+ 	NATDEPFILES='fork-child.o fork-inferior.o inf-ptrace.o'


Home | Main Index | Thread Index | Old Index