From owner-svn-ports-head@FreeBSD.ORG Wed Feb 12 18:41:28 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19A3A1A1; Wed, 12 Feb 2014 18:41:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 04F591146; Wed, 12 Feb 2014 18:41:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CIfRBn027762; Wed, 12 Feb 2014 18:41:27 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CIfRtB027759; Wed, 12 Feb 2014 18:41:27 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201402121841.s1CIfRtB027759@svn.freebsd.org> From: Steve Wills Date: Wed, 12 Feb 2014 18:41:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343949 - in head/net-p2p/dogecoin: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 18:41:28 -0000 Author: swills Date: Wed Feb 12 18:41:27 2014 New Revision: 343949 URL: http://svnweb.freebsd.org/changeset/ports/343949 QAT: https://qat.redports.org/buildarchive/r343949/ Log: - Fix build after boost update - Improve USE_QT4 dependencies Added: head/net-p2p/dogecoin/files/patch-src__scrypt.cpp (contents, props changed) head/net-p2p/dogecoin/files/patch-src__scrypt.h (contents, props changed) Deleted: head/net-p2p/dogecoin/files/extra-patch-endian Modified: head/net-p2p/dogecoin/Makefile Modified: head/net-p2p/dogecoin/Makefile ============================================================================== --- head/net-p2p/dogecoin/Makefile Wed Feb 12 18:08:19 2014 (r343948) +++ head/net-p2p/dogecoin/Makefile Wed Feb 12 18:41:27 2014 (r343949) @@ -3,7 +3,7 @@ PORTNAME= dogecoin PORTVERSION= 1.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-p2p finance MAINTAINER= swills@FreeBSD.org @@ -36,14 +36,12 @@ CXXFLAGS+= -Wno-invalid-offsetof .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-endian -.else +.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000000 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src__leveldb__Makefile .endif .if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) -USE_QT4= corelib gui qmake_build linguist uic moc rcc +USE_QT4= corelib network gui qmake_build linguist_build uic_build moc_build rcc_build BINARY= dogecoin-qt .else BINARY= dogecoind Added: head/net-p2p/dogecoin/files/patch-src__scrypt.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/dogecoin/files/patch-src__scrypt.cpp Wed Feb 12 18:41:27 2014 (r343949) @@ -0,0 +1,33 @@ +--- ./src/scrypt.cpp.orig 2014-01-10 01:38:53.000000000 +0000 ++++ ./src/scrypt.cpp 2014-02-09 05:45:03.131006405 +0000 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #if defined(USE_SSE2) && !defined(USE_SSE2_ALWAYS) + #ifdef _MSC_VER +@@ -44,22 +45,6 @@ + #endif + #endif + +-static inline uint32_t be32dec(const void *pp) +-{ +- const uint8_t *p = (uint8_t const *)pp; +- return ((uint32_t)(p[3]) + ((uint32_t)(p[2]) << 8) + +- ((uint32_t)(p[1]) << 16) + ((uint32_t)(p[0]) << 24)); +-} +- +-static inline void be32enc(void *pp, uint32_t x) +-{ +- uint8_t *p = (uint8_t *)pp; +- p[3] = x & 0xff; +- p[2] = (x >> 8) & 0xff; +- p[1] = (x >> 16) & 0xff; +- p[0] = (x >> 24) & 0xff; +-} +- + typedef struct HMAC_SHA256Context { + SHA256_CTX ictx; + SHA256_CTX octx; Added: head/net-p2p/dogecoin/files/patch-src__scrypt.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/dogecoin/files/patch-src__scrypt.h Wed Feb 12 18:41:27 2014 (r343949) @@ -0,0 +1,22 @@ +--- ./src/scrypt.h.orig 2014-01-10 01:38:53.000000000 +0000 ++++ ./src/scrypt.h 2014-02-09 05:45:03.133009188 +0000 +@@ -27,19 +27,4 @@ + PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt, + size_t saltlen, uint64_t c, uint8_t *buf, size_t dkLen); + +-static inline uint32_t le32dec(const void *pp) +-{ +- const uint8_t *p = (uint8_t const *)pp; +- return ((uint32_t)(p[0]) + ((uint32_t)(p[1]) << 8) + +- ((uint32_t)(p[2]) << 16) + ((uint32_t)(p[3]) << 24)); +-} +- +-static inline void le32enc(void *pp, uint32_t x) +-{ +- uint8_t *p = (uint8_t *)pp; +- p[0] = x & 0xff; +- p[1] = (x >> 8) & 0xff; +- p[2] = (x >> 16) & 0xff; +- p[3] = (x >> 24) & 0xff; +-} + #endif