summaryrefslogtreecommitdiff
path: root/sysutils/xentools45
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-10-28 03:14:16 +0000
committerkhorben <khorben@pkgsrc.org>2017-10-28 03:14:16 +0000
commit8515e27234c95a51b6fa8bfc30748df1cb6eea37 (patch)
tree06e5434e9013f185618fc3c2176826bbbe0ce886 /sysutils/xentools45
parentf304cb6e3e35d5aa082763476eba352dd09788ee (diff)
downloadpkgsrc-8515e27234c95a51b6fa8bfc30748df1cb6eea37.tar.gz
Add support for LDFLAGS when building gdbsx in xentools{42,45,46,48}
This helps pass the RELRO check for these packages.
Diffstat (limited to 'sysutils/xentools45')
-rw-r--r--sysutils/xentools45/distinfo3
-rw-r--r--sysutils/xentools45/patches/patch-debugger_gdbsx_Makefile15
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/xentools45/distinfo b/sysutils/xentools45/distinfo
index 742d64377e7..6d27392e575 100644
--- a/sysutils/xentools45/distinfo
+++ b/sysutils/xentools45/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2017/08/23 02:49:48 maya Exp $
+$NetBSD: distinfo,v 1.32 2017/10/28 03:14:17 khorben Exp $
SHA1 (ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz) = fecadf952821e830ce1a1d19655288eef8488f88
RMD160 (ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz) = 539bfa12db7054228250d6dd380bbf96c1a040f8
@@ -34,6 +34,7 @@ SHA1 (patch-XSA-211-2) = a92663c2c18290f5927780d3ed55aec497c58a8c
SHA1 (patch-blktap_drivers_Makefile) = 7cc53b2a0dea1694a969046ab8542271ca63f9e7
SHA1 (patch-configure) = 97fa4274e425984d593cd93aea36edc681462b88
SHA1 (patch-console_daemon_utils.c) = 915078ce6155a367e3e597fa7ab551f6afac083f
+SHA1 (patch-debugger_gdbsx_Makefile) = 1e16761b20604bb5a9ee22174f0bb46005fb19c7
SHA1 (patch-examples_Makefile) = 5fe7bb876d254cf0c4f774ed0f08dcaea5b355ff
SHA1 (patch-firmware_etherboot_Makefile) = f55e14948b7191e533a82b8fc3575f1052f23c45
SHA1 (patch-firmware_etherboot_patches_series) = 2fa1342c78094c6dd5d60a07c236c4a1c0599fc4
diff --git a/sysutils/xentools45/patches/patch-debugger_gdbsx_Makefile b/sysutils/xentools45/patches/patch-debugger_gdbsx_Makefile
new file mode 100644
index 00000000000..044d5ac937b
--- /dev/null
+++ b/sysutils/xentools45/patches/patch-debugger_gdbsx_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-debugger_gdbsx_Makefile,v 1.1 2017/10/28 03:14:17 khorben Exp $
+
+Add support for LDFLAGS when building gdbsx
+
+--- debugger/gdbsx/Makefile.orig 2016-09-20 05:59:24.000000000 +0000
++++ debugger/gdbsx/Makefile
+@@ -18,7 +18,7 @@ install: all
+ $(INSTALL_PROG) gdbsx $(DESTDIR)$(SBINDIR)/gdbsx
+
+ gdbsx: gx/gx_all.a xg/xg_all.a
+- $(CC) -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^
+
+ xg/xg_all.a:
+ $(MAKE) -C xg