diff options
Diffstat (limited to 'www/aria2')
-rw-r--r-- | www/aria2/Makefile | 8 | ||||
-rw-r--r-- | www/aria2/distinfo | 6 | ||||
-rw-r--r-- | www/aria2/files/patch-src__SimpleLogger.cc | 43 |
3 files changed, 9 insertions, 48 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile index e40b684e0982..24ec9f665c27 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= aria2 -DISTVERSION= 0.11.1+1 +DISTVERSION= 0.11.2 CATEGORIES= www MASTER_SITES= SFE @@ -18,7 +18,8 @@ COMMENT= Yet another download tool #CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" #MAKE_ENV= DONTSTRIP= CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \ - --with-libxml2 --without-gnutls --without-libares --without-libcares + --with-libxml2 --without-gnutls --without-libares --without-libcares \ + --program-transform-name="" USE_GCC= 3.4+ USE_BZIP2= yes @@ -31,4 +32,7 @@ PLIST_FILES= bin/aria2c \ share/locale/ru/LC_MESSAGES/aria2c.mo MAN1= aria2c.1 +post-configure: + @${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h + .include <bsd.port.mk> diff --git a/www/aria2/distinfo b/www/aria2/distinfo index de234c25de4a..a171cf7a9f30 100644 --- a/www/aria2/distinfo +++ b/www/aria2/distinfo @@ -1,3 +1,3 @@ -MD5 (aria2-0.11.1+1.tar.bz2) = d0e91aa3e673d5c26e4f65b401e90189 -SHA256 (aria2-0.11.1+1.tar.bz2) = 516d40da3c98b8df43a1c32a7fb04efd79caad6e350096dc1313c6fd81f3edc2 -SIZE (aria2-0.11.1+1.tar.bz2) = 473089 +MD5 (aria2-0.11.2.tar.bz2) = 4b58849f0bf7f2abab1675ce2e8958ec +SHA256 (aria2-0.11.2.tar.bz2) = 428ce78c182a335a3c847f84f7f1c3e528438754775f3b93ea9a4a8a63ebaef7 +SIZE (aria2-0.11.2.tar.bz2) = 503629 diff --git a/www/aria2/files/patch-src__SimpleLogger.cc b/www/aria2/files/patch-src__SimpleLogger.cc deleted file mode 100644 index bbe7cce4023a..000000000000 --- a/www/aria2/files/patch-src__SimpleLogger.cc +++ /dev/null @@ -1,43 +0,0 @@ ---- ./src/SimpleLogger.cc.orig 2007-06-12 14:50:40.000000000 +0400 -+++ ./src/SimpleLogger.cc 2007-08-06 22:43:59.000000000 +0400 -@@ -41,6 +41,14 @@ - #include <stdio.h> - #include <errno.h> - -+#if !defined(va_copy) -+# if defined(__va_copy) -+# define va_copy(dest, src) __va_copy(dest, src) -+# else -+# define va_copy(dest, src) (dest = src) -+# endif -+#endif -+ - #define WRITE_LOG(LEVEL, MSG) \ - va_list ap;\ - va_start(ap, MSG);\ -@@ -86,6 +94,8 @@ - - void SimpleLogger::writeLog(FILE* file, int level, const char* msg, va_list ap, Exception* e, bool printHeader) const - { -+ va_list apCopy; -+ va_copy(apCopy, ap); - string levelStr; - switch(level) { - case Logger::DEBUG: -@@ -114,7 +124,7 @@ - if(printHeader) { - writeHeader(file, datestr, levelStr); - } -- vfprintf(file, string(Util::replace(msg, "\r", "")+"\n").c_str(), ap); -+ vfprintf(file, string(Util::replace(msg, "\r", "")+"\n").c_str(), apCopy); - for(Exception* nestedEx = e; nestedEx; nestedEx = nestedEx->getCause()) { - // TODO a quick hack not to print header in console - if(printHeader) { -@@ -123,6 +133,7 @@ - fprintf(file, "exception: %s\n", Util::replace(nestedEx->getMsg(), "\r", "").c_str()); - } - fflush(file); -+ va_end(apCopy); - } - - void SimpleLogger::writeFile(int level, const char* msg, va_list ap, Exception* e) const { |