pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-py-bcrypt Add u_int* compatibility defines...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8aa31bc93c87
branches:  trunk
changeset: 650869:8aa31bc93c87
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Apr 27 13:52:01 2015 +0000

description:
Add u_int* compatibility defines for SunOS.

diffstat:

 security/py-py-bcrypt/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9e6164992ed5 -r 8aa31bc93c87 security/py-py-bcrypt/Makefile
--- a/security/py-py-bcrypt/Makefile    Mon Apr 27 13:42:25 2015 +0000
+++ b/security/py-py-bcrypt/Makefile    Mon Apr 27 13:52:01 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/04/19 00:47:58 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2015/04/27 13:52:01 jperkin Exp $
 
 DISTNAME=      py-bcrypt-0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,5 +12,8 @@
 
 CONFLICTS+=    ${PYPKGPREFIX}-bcrypt-[0-9]*:../../security/py-bcrypt
 
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t
+CFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index