aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdb/gdb-linux_osdata.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-11 05:59:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-12 07:17:46 +0000
commit376454e172c208d16c5d188802301102090e6b85 (patch)
tree6051127dacfcfcb46cf8b07e02c073dea47df617 /main/gdb/gdb-linux_osdata.patch
parent5e3f5ab9a2ea79b93da052a274d8b709410b8381 (diff)
downloadaports-376454e172c208d16c5d188802301102090e6b85.tar.bz2
aports-376454e172c208d16c5d188802301102090e6b85.tar.xz
main/gdb: support crosscompiling and musl
Diffstat (limited to 'main/gdb/gdb-linux_osdata.patch')
-rw-r--r--main/gdb/gdb-linux_osdata.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gdb/gdb-linux_osdata.patch b/main/gdb/gdb-linux_osdata.patch
new file mode 100644
index 0000000000..aa2a392f4c
--- /dev/null
+++ b/main/gdb/gdb-linux_osdata.patch
@@ -0,0 +1,10 @@
+--- gdb-7.6/gdb/common/linux-osdata.c.orig
++++ gdb-7.6/gdb/common/linux-osdata.c
+@@ -27,6 +27,7 @@
+
+ #include <sys/types.h>
+ #include <sys/sysinfo.h>
++#include <sys/socket.h>
+ #include <ctype.h>
+ #include <stdlib.h>
+ #include <string.h>