Index: head/databases/py-asyncpg/Makefile =================================================================== --- head/databases/py-asyncpg/Makefile (revision 473597) +++ head/databases/py-asyncpg/Makefile (revision 473598) @@ -1,30 +1,31 @@ # Created by: Babak Farrokhi # $FreeBSD$ PORTNAME= asyncpg PORTVERSION= 0.16.0 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= farrokhi@FreeBSD.org COMMENT= High performance PostgreSQL Client Library for Python/asyncio LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= DOCS USES= pgsql:9.2+ python:3.5+ USE_PYTHON= autoplist concurrent distutils setuptools PORTDOCS= PKG-INFO README.rst post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/asyncpg/protocol/protocol.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Index: head/databases/py-asyncpg/files/patch-asyncpg_protocol_hton.h =================================================================== --- head/databases/py-asyncpg/files/patch-asyncpg_protocol_hton.h (nonexistent) +++ head/databases/py-asyncpg/files/patch-asyncpg_protocol_hton.h (revision 473598) @@ -0,0 +1,58 @@ +--- asyncpg/protocol/hton.h.orig 2018-06-06 00:51:22 UTC ++++ asyncpg/protocol/hton.h +@@ -2,25 +2,47 @@ + + #if defined(__linux__) || defined(__CYGWIN__) + #include +-#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +-#include +-#elif defined(__DragonFly__) ++#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) \ ++ || defined(__DragonFly__) + #include + #elif defined(__APPLE__) + #include +-#define __BYTE_ORDER BYTE_ORDER +-#define __BIG_ENDIAN BIG_ENDIAN +-#define __LITTLE_ENDIAN LITTLE_ENDIAN + #elif defined(_WIN32) || defined(_WIN64) || defined(__WINDOWS__) + /* Assume Windows is always LE. There seems to be no reliable way + to detect endianness there */ + #define __LITTLE_ENDIAN 1234 + #define __BIG_ENDIAN 4321 + #define __BYTE_ORDER __LITTLE_ENDIAN +-#else +-#error Cannot determine platform byte order. + #endif + ++#if defined(_BYTE_ORDER) && !defined(__BYTE_ORDER) ++#define __BYTE_ORDER _BYTE_ORDER ++#endif ++ ++#if defined(BYTE_ORDER) && !defined(__BYTE_ORDER) ++#define __BYTE_ORDER BYTE_ORDER ++#endif ++ ++#if defined(_LITTLE_ENDIAN) && !defined(__LITTLE_ENDIAN) ++#define __LITTLE_ENDIAN _LITTLE_ENDIAN ++#endif ++ ++#if defined(LITTLE_ENDIAN) && !defined(__LITTLE_ENDIAN) ++#define __LITTLE_ENDIAN LITTLE_ENDIAN ++#endif ++ ++#if defined(_BIG_ENDIAN) && !defined(__BIG_ENDIAN) ++#define __BIG_ENDIAN _BIG_ENDIAN ++#endif ++ ++#if defined(BIG_ENDIAN) && !defined(__BIG_ENDIAN) ++#define __BIG_ENDIAN BIG_ENDIAN ++#endif ++ ++#if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN) \ ++ || !defined(__BIG_ENDIAN) ++#error Cannot determine platform byte order. ++#endif + + #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) + Property changes on: head/databases/py-asyncpg/files/patch-asyncpg_protocol_hton.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property