Hi --
aria2 still has special CFLAGS for mips64* however aria2 now requires
gcc-4.8, which mips64* doesn't have, so this doesn't help anymore.
Also, a patch to quiet a time_t warning.
Discovered while working on a new port that has aria2 as a dependency.
OK?
~Brian
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/aria2/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile 2 May 2014 15:06:31 -0000 1.28
+++ Makefile 25 Jun 2014 00:31:58 -0000
@@ -2,7 +2,7 @@
COMMENT = lightweight multi-protocol & multi-source download utility
DISTNAME = aria2-1.18.5
-REVISION = 1
+REVISION = 2
CATEGORIES = www
HOMEPAGE = http://aria2.sourceforge.net/
@@ -38,10 +38,5 @@ CONFIGURE_ARGS += --with-sqlite3 \
--with-openssl \
--without-gnutls \
--without-libxml2
-
-# Prevent gcc 4.2.1 from running out of memory.
-.if ${MACHINE_ARCH:Mmips64*}
-CFLAGS += -O0
-.endif
.include <bsd.port.mk>
Index: patches/patch-src_ServerStat_cc
===================================================================
RCS file: patches/patch-src_ServerStat_cc
diff -N patches/patch-src_ServerStat_cc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_ServerStat_cc 25 Jun 2014 00:31:58 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Fix a time_t warning.
+
+--- src/ServerStat.cc.orig Mon Jun 23 23:59:36 2014
++++ src/ServerStat.cc Tue Jun 24 00:03:56 2014
+@@ -205,7 +205,7 @@ bool ServerStat::operator==(const ServerStat& serverSt
+ std::string ServerStat::toString() const
+ {
+ return fmt("host=%s, protocol=%s, dl_speed=%d, sc_avg_speed=%d,"
+- " mc_avg_speed=%d, last_updated=%ld, counter=%d, status=%s",
++ " mc_avg_speed=%d, last_updated=%lld, counter=%d, status=%s",
+ getHostname().c_str(),
+ getProtocol().c_str(),
+ getDownloadSpeed(),