summaryrefslogtreecommitdiff
path: root/network/aria2/aria2-gcc4.9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/aria2/aria2-gcc4.9.patch')
-rw-r--r--network/aria2/aria2-gcc4.9.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/network/aria2/aria2-gcc4.9.patch b/network/aria2/aria2-gcc4.9.patch
new file mode 100644
index 0000000000..e293c84866
--- /dev/null
+++ b/network/aria2/aria2-gcc4.9.patch
@@ -0,0 +1,21 @@
+--- aria2-1.19.0/src/a2gmp.h.orig 2015-05-26 23:16:33.145925238 +0700
++++ aria2-1.19.0/src/a2gmp.h 2015-05-26 23:17:01.022556391 +0700
+@@ -35,6 +35,7 @@
+ #ifndef D_A2GMP_H
+ #define D_A2GMP_H
+
++#include <stddef.h>
+ #include <gmp.h>
+
+ namespace aria2 {
+--- aria2-1.19.0/src/LibgmpDHKeyExchange.h.orig 2015-05-26 23:34:32.190146786 +0700
++++ aria2-1.19.0/src/LibgmpDHKeyExchange.h 2015-05-26 23:34:46.847939101 +0700
+@@ -36,7 +36,7 @@
+ #define D_LIBGMP_DH_KEY_EXCHANGE_H
+
+ #include "common.h"
+-
++#include <stddef.h>
+ #include <gmp.h>
+
+ namespace aria2 {