summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-12-10 11:55:41 +0000
committerjperkin <jperkin>2013-12-10 11:55:41 +0000
commitf5d3f92a1c61b670943d3203c75ae1cacc2bb534 (patch)
tree85a4889d725aadfebcb043464364e5b8ea8d24c9
parent508eab7af79225d605a04b0bd882ae5e16c11eb7 (diff)
downloadpkgsrc-f5d3f92a1c61b670943d3203c75ae1cacc2bb534.tar.gz
Fix inttypes on SunOS. Patch from Sebastian Wiedenroth.
-rw-r--r--devel/py-usb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile
index 4938389115f..50d9ed0802b 100644
--- a/devel/py-usb/Makefile
+++ b/devel/py-usb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/10/31 11:19:35 asau Exp $
+# $NetBSD: Makefile,v 1.6 2013/12/10 11:55:41 jperkin Exp $
VERSION= 0.4.2
DISTNAME= pyusb-${VERSION}
@@ -11,6 +11,8 @@ MAINTAINER= wiml@hhhh.org
HOMEPAGE= http://pyusb.berlios.de/
COMMENT= Python interface to USB via libusb
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t
+
.include "../../devel/libusb/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"