Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/gdb: gdbserver: add missing header
Date: Sat, 23 Jul 2016 14:14:59 +0200	[thread overview]
Message-ID: <1469276099-13936-1-git-send-email-romain.naour@gmail.com> (raw)

Backport upstream patch for musl toolchains

Fixes:
http://autobuild.buildroot.net/results/564/56443134388ee6c4a13add10cc53eff6f47f244e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 .../7.10.1/0005-target.h-include-sys-types.h.patch | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/gdb/7.10.1/0005-target.h-include-sys-types.h.patch

diff --git a/package/gdb/7.10.1/0005-target.h-include-sys-types.h.patch b/package/gdb/7.10.1/0005-target.h-include-sys-types.h.patch
new file mode 100644
index 0000000..ba5419d
--- /dev/null
+++ b/package/gdb/7.10.1/0005-target.h-include-sys-types.h.patch
@@ -0,0 +1,30 @@
+From cd68d0ebe7748a5448c86eb021b717df6fe83f35 Mon Sep 17 00:00:00 2001
+From: Doug Evans <xdje42@gmail.com>
+Date: Sun, 22 Nov 2015 17:24:03 -0800
+Subject: [PATCH] target.h: #include <sys/types.h>.
+
+For musl.
+
+[Romain:
+  rebase on gdb 7.10.1 from upstream (7.11)
+  remove ChangeLog entry]
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ gdb/gdbserver/target.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
+index 9a40867..6af043c 100644
+--- a/gdb/gdbserver/target.h
++++ b/gdb/gdbserver/target.h
+@@ -21,6 +21,7 @@
+ #ifndef TARGET_H
+ #define TARGET_H
+ 
++#include <sys/types.h> /* for mode_t */
+ #include "target/target.h"
+ #include "target/resume.h"
+ #include "target/wait.h"
+-- 
+2.5.5
+
-- 
2.5.5

             reply	other threads:[~2016-07-23 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-23 12:14 Romain Naour [this message]
2016-07-24 13:45 ` [Buildroot] [PATCH] package/gdb: gdbserver: add missing header Thomas Petazzoni
2016-07-24 14:06   ` Romain Naour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469276099-13936-1-git-send-email-romain.naour@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox