diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-26 13:19:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-31 10:36:17 +0700 |
commit | cdff9f9bbbf60339de5c8e78354259194378ec8e (patch) | |
tree | 7761b0f49332320c625fa57235ac65b728790a9f /network | |
parent | 6882781f58d90e09dfe227bef652eaf4da845045 (diff) |
network/aria2: Updated for version 1.19.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/aria2/aria2-gcc4.9.patch | 21 | ||||
-rw-r--r-- | network/aria2/aria2.SlackBuild | 6 | ||||
-rw-r--r-- | network/aria2/aria2.info | 6 |
3 files changed, 29 insertions, 4 deletions
diff --git a/network/aria2/aria2-gcc4.9.patch b/network/aria2/aria2-gcc4.9.patch new file mode 100644 index 0000000000000..e293c84866b4b --- /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 { diff --git a/network/aria2/aria2.SlackBuild b/network/aria2/aria2.SlackBuild index 641a588122a5f..6991ac1a957b4 100644 --- a/network/aria2/aria2.SlackBuild +++ b/network/aria2/aria2.SlackBuild @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=${PRGNAM:-aria2} -VERSION=${VERSION:-1.18.10} +VERSION=${VERSION:-1.19.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,6 +73,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# patch for gcc 4.9 in -current, but harmless in stable +# remove this patch when gmp is upgraded to 6.0 +patch -p1 < $CWD/aria2-gcc4.9.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/network/aria2/aria2.info b/network/aria2/aria2.info index c690143622ed4..aa2adb44c538b 100644 --- a/network/aria2/aria2.info +++ b/network/aria2/aria2.info @@ -1,8 +1,8 @@ PRGNAM="aria2" -VERSION="1.18.10" +VERSION="1.19.0" HOMEPAGE="http://aria2.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/aria2/aria2-1.18.10.tar.xz" -MD5SUM="cf46c9f19a175366536e9815326c3891" +DOWNLOAD="http://downloads.sourceforge.net/aria2/aria2-1.19.0.tar.xz" +MD5SUM="8417e25750928c250177f0f783b4f9b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="c-ares" |